Re: [css-d] what should go in html{ } ?

2013-06-27 Thread Chris Williams
Show me, with an example, a concrete difference in the behavior. On 6/27/13 1:51 PM, "Eric A. Meyer" wrote: >It's actually not just semantics, so the dismissive tone is >misplaced. Inherited values have a different place in the cascade >than do directly-assigned values, regardless of whethe

Re: [css-d] what should go in html{ } ?

2013-06-27 Thread Eric A. Meyer
At 14:28 -0400 6/27/13, Chris Williams wrote: Pfffttt Semantics. It's actually not just semantics, so the dismissive tone is misplaced. Inherited values have a different place in the cascade than do directly-assigned values, regardless of whether they come from the author, the reade

Re: [css-d] what should go in html{ } ?

2013-06-27 Thread David Laakso
On Wed, Jun 26, 2013 at 5:29 PM, COM wrote: > my css all begin like what's pasted below. I have no idea what things ought > to be inside the html selector. Any thoughts on what the best practices are? > > Thank you! > > John Hang in there, John.. Handling the html conundrum and making content

[css-d] img height funky behaviour & IE image border

2013-06-27 Thread Adam Ambrus
hello everyone, i am building my web portfolio ( http://www.gjh.sk/~ambrus/emental, SCSS - http://www.gjh.sk/~ambrus/emental/assets/css/global.scss ) and i am having few issues with cross-browser compatibility. the idea of the webpage is to have a single page layout, with fixed header and fo

Re: [css-d] what should go in html{ } ?

2013-06-27 Thread Jukka K. Korpela
2013-06-27 21:02, John A. Johnson wrote: On Jun 27, 2013, at 10:54 AM, Philip Taylor wrote: As the browser is not an element in the document tree, the element cannot inherit any properties from it. It may well acquire them in some other way, but this is not inheritance /qua/ inheritance.

Re: [css-d] what should go in html{ } ?

2013-06-27 Thread Chris Williams
Pfffttt Semantics. On 6/27/13 11:14 AM, "Philip Taylor" wrote: > > >John A. Johnson wrote: > >> >> On Jun 27, 2013, at 10:54 AM, Philip Taylor >> wrote: >> >>> As the browser is not an element in the document tree, the >>> element cannot inherit any properties from it. It may well >>> acq

Re: [css-d] what should go in html{ } ?

2013-06-27 Thread John A. Johnson
On Jun 27, 2013, at 11:14 AM, Philip Taylor wrote: > Elements have certain > default renderings which they acquire from the browser, but > they do not /inherit/ those renderings from the browser in > the CSS sense of "inherit". OK..I get it. that is an important distinction... _

Re: [css-d] what should go in html{ } ?

2013-06-27 Thread Philip Taylor
John A. Johnson wrote: > > On Jun 27, 2013, at 10:54 AM, Philip Taylor > wrote: > >> As the browser is not an element in the document tree, the >> element cannot inherit any properties from it. It may well >> acquire them in some other way, but this is not inheritance /qua/ >> inheritance. >

Re: [css-d] what should go in html{ } ?

2013-06-27 Thread John A. Johnson
On Jun 27, 2013, at 10:54 AM, Philip Taylor wrote: > As the browser is not an element in the document tree, the > element cannot inherit any properties from it. It may well acquire > them in some other way, but this is not inheritance /qua/ inheritance. Isn't it the case that browser default

Re: [css-d] what should go in html{ } ?

2013-06-27 Thread Philip Taylor
Chris Williams wrote: > This is just wrong. It [the element] inherits the defaults from the > browser. >From the W3C [1] : > 6.2 Inheritance > > Some values are inherited by the children of an element in the document tree, > as described above. Each property defines whether it is inherite

Re: [css-d] what should go in html{ } ?

2013-06-27 Thread Chris Williams
This is just wrong. It inherits the defaults from the browser. On 6/27/13 5:23 AM, "Jukka K. Korpela" wrote: The element is the root element, so it cannot inherit anything. __ css-discuss [css-d@lists.css-discuss.org] http://

Re: [css-d] what should go in html{ } ?

2013-06-27 Thread Micky Hulse
My latest project uses these styles (after having included normalize.css): [snip] html, body { background: #fff; } html { height: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } body { font: 100.01%/1.5 Cambria, Georgia, serif;; color: #000; -webkit-font-

Re: [css-d] what should go in html{ } ?

2013-06-27 Thread David Hucklesby
On 6/26/13 2:29 PM, COM wrote: my css all begin like what's pasted below. I have no idea what things ought to be inside the html selector. Any thoughts on what the best practices are? [code snipped] A couple of suggestions: Some browsers will only add scroll bars on long pages, creating a vis

Re: [css-d] what should go in html{ } ?

2013-06-27 Thread Jukka K. Korpela
2013-06-27 16:01, Tom Livingston wrote: 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* from inheriting font size from its parent, . No snark h

[css-d] img height acting funky & few bugs

2013-06-27 Thread Adam Ambrus
hello everyone, i am building my web portfolio ( http://www.gjh.sk/~ambrus/emental , SCSS - _http://www.gjh.sk/~ambrus/emental/assets/css/global.scss_ ) and i am having few issues with cross-browser compatibility. the idea of the webpage is to have a sin

Re: [css-d] what should go in html{ } ?

2013-06-27 Thread Tom Livingston
On Thu, Jun 27, 2013 at 8:23 AM, Jukka K. Korpela 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

Re: [css-d] what should go in html{ } ?

2013-06-27 Thread Jukka K. Korpela
2013-06-27 9:52, Philippe Wittenbergh wrote: HTML is the highest level where (some) properties will have an effect that matter for inheritance. The element is the root element, so it cannot inherit anything. Its properties may be inherited by its children. Consider this snippet: html {