Re: [css-d] [+] Re: Clearing a float

2010-10-05 Thread Thierry Koblentz
Hi Philippe,

  I don't think inherit is a proper value for clear.
 
 it is:
 http://www.w3.org/TR/CSS21/visuren.html#flow-control

I had checked CSS pocket reference (Eric Meyer/O'Reilly) and it says in
there that inherit is not. 
I have a more recent version of this great little book, but for some reason
I can't find it. I'd be curious to know if this has changed in the newer
edition.

It's interesting though. This new value came in now that authors use
clear even less than before as they now contain floats more than they
clear them.

Thanks for the heads up.

--
Regards,
Thierry
www.tjkdesign.com | www.ez-css.org | @thierrykoblentz

__
css-discuss [cs...@lists.css-discuss.org]
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/


Re: [css-d] [+] Re: Clearing a float

2010-10-05 Thread Climis, Tim
 
   I don't think inherit is a proper value for clear.
 
  it is:
  http://www.w3.org/TR/CSS21/visuren.html#flow-control
 
 It's interesting though. This new value came in now that authors use
 clear even less than before as they now contain floats more than
 they clear them.

Does it do anything though?  If you clear the parent left, and then the 
children inherit it, isn't the behavior the same as if they don't have clear 
set at all?  Since the parent is already below all the floats, the child would 
also be below all the floats and clear would be redundant...

Or is there some example for this that I'm just not seeing?

---Tim
 
__
css-discuss [cs...@lists.css-discuss.org]
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/


Re: [css-d] [+] Re: Clearing a float

2010-10-05 Thread Thierry Koblentz
I don't think inherit is a proper value for clear.
  
   it is:
   http://www.w3.org/TR/CSS21/visuren.html#flow-control
 
  It's interesting though. This new value came in now that authors
 use
  clear even less than before as they now contain floats more than
  they clear them.
 
 Does it do anything though?  If you clear the parent left, and then the
 children inherit it, isn't the behavior the same as if they don't have
 clear set at all?  Since the parent is already below all the floats,
 the child would also be below all the floats and clear would be
 redundant...

For example the parent could clear some float (siblings) while the child
would clear nested ones.
I never really thought about it though since this inherit value is new to
me. I guess there are some edge cases where this could be handy, but I'm not
sure...

--
Regards,
Thierry
www.tjkdesign.com | www.ez-css.org | @thierrykoblentz

__
css-discuss [cs...@lists.css-discuss.org]
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/


Re: [css-d] [+] Re: Clearing a float

2010-10-05 Thread Eric A. Meyer

At 7:54 AM -0700 10/5/10, Thierry Koblentz wrote:


  I don't think inherit is a proper value for clear.

 it is:
 http://www.w3.org/TR/CSS21/visuren.html#flow-control


I had checked CSS pocket reference (Eric Meyer/O'Reilly) and it says in
there that inherit is not.
I have a more recent version of this great little book, but for some reason
I can't find it. I'd be curious to know if this has changed in the newer
edition.


   No, it appears to be omitted from the third edition as well.  I 
wonder whether I simply missed it or if 'inherit' wasn't officially a 
'clear' value when the 3ed. came out in 2007.  Either way, I'll do my 
best to make sure I correct that in the fourth edition.


--
Eric A. Meyer (http://meyerweb.com/eric/), List Chaperone
CSS is much too interesting and elegant to be not taken seriously.
  -- Martina Kosloff (http://mako4css.com/)
__
css-discuss [cs...@lists.css-discuss.org]
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/


Re: [css-d] [+] Re: Clearing a float

2010-10-05 Thread Philippe Wittenbergh

On Oct 6, 2010, at 6:11 AM, Eric A. Meyer wrote:

  I don't think inherit is a proper value for clear.
 
 it is:
 http://www.w3.org/TR/CSS21/visuren.html#flow-control
 
 I had checked CSS pocket reference (Eric Meyer/O'Reilly) and it says in
 there that inherit is not.
 I have a more recent version of this great little book, but for some reason
 I can't find it. I'd be curious to know if this has changed in the newer
 edition.
 
   No, it appears to be omitted from the third edition as well.  I wonder 
 whether I simply missed it or if 'inherit' wasn't officially a 'clear' value 
 when the 3ed. came out in 2007.  Either way, I'll do my best to make sure I 
 correct that in the fourth edition.

'inherit' was already mentioned in the CSS 2.0 text:
http://www.w3.org/TR/CSS2/visuren.html#propdef-clear

I guess that makes it official :-)

(I'm not sure how useful this is, though, never really thought about it. 
Perhaps I should blame IE, again, with its general lack of support for the 
inherit keyword)

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





__
css-discuss [cs...@lists.css-discuss.org]
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/


Re: [css-d] [+] Re: Clearing a float

2010-10-05 Thread Philippe Wittenbergh

On Oct 6, 2010, at 8:00 AM, Philippe Wittenbergh wrote:

 'inherit' was already mentioned in the CSS 2.0 text:
 http://www.w3.org/TR/CSS2/visuren.html#propdef-clear
 
oops, sorry. wrong url there.
this is one is correct
http://www.w3.org/TR/2008/REC-CSS2-20080411/visuren.html#flow-control

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





__
css-discuss [cs...@lists.css-discuss.org]
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/