On 2/22/13 12:35 PM, Jukka K. Korpela wrote:
2013-02-22 21:55, Angela French wrote:Could someone please explain the "small" in the example below: h1 small { font-size: 24.5px; } I would understand h1.small, but am confused by the syntax "h1 small"The selector "h1 small" matches any <small> element nested inside an <h1> element. A reasonable use case: <h1>On the Origin of Species<br> <small>by Means of Natural Selection</small></h1> That is, you might wish to have some line(s) of a heading in a smaller font size (smaller than the rest of the heading). Many people would tell you to use <span class=small> or something similar, but that's a different story.
[...] FWIW - this is from the W3C: 'The small element represents so-called “fine print” or “small print”, such as legal disclaimers and caveats.' -- Cordially, David ______________________________________________________________________ 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/
