Ian Young wrote:

> http://www.iyesolutions.co.uk/templates/css/size3.html

Not often I see a document with double sets of everything. You should
clean up the source-code for that test-case.

> Just tried that solution and the font-size didn't change. Did I miss 
> something here?

Yes, you have to put our text in a suitable element _inside_ the divs,
or else the font-sizing styles will have nothing to target. Selectors
can only target elements - not free text.

Note that I used the universal selector that'll target any element
inside the div, so the choice is yours - especially with a transitional
doctype. It is however more normal to use paragraphs, headlines, lists
etc. to hold text, and check validity to make sure one makes at least
somewhat proper use of elements.


Now, before "walking around" in what I see as an ok but useless
test-case, may I ask what such a construction is going to be used for in
a real design? I can see many reason for declaring min-height on an
element, but the combination does look a bit odd to say the least.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to