On Jul 12, 2006, at 6:08 PM, Thomas Peklak wrote:

> Please take a look at the following page: http://www.geos.biz/ 
> test.html
>
> I don't quite understand why this css
> ul#top > li {color:red;margin:10px;border:1px solid black}
> does effect all li children of ul#top concerning the color, but does
> only affect direct li-children when it comes to margin and border.

See:
<http://www.w3.org/TR/CSS21/colors.html#propdef-color>
---> Inherited: yes.

Unless you specify otherwise, all contents in that li will have  
coloured red.

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to