On Thu, Jun 27, 2013 at 8:23 AM, Jukka K. Korpela <[email protected]> wrote: > 2013-06-27 9:52, Philippe Wittenbergh wrote: > >> Consider this snippet: >> >> html { /* nothing set here, just the initial values set by the UA */} >> body { font: .8em/1.5 sans-serif; } > > > Whenever you use the em unit or the % unit on font-size, you need to take > into consideration that it is relative to the parent font size. This has > nothing to do with inheritance. Here you *prevent* <body> from inheriting > font size from its parent, <html>.
No snark here. Tell me what I am missing where 'preventing <body> from inheriting font size from <html>' is a problem? What would the benefit be? I see nothing to gain. -- Tom Livingston | Senior Front-End Developer | Media Logic | ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com ______________________________________________________________________ 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/
