Hi Mike,

Because it's not a cascade issue.[1]
It's an inheritance issue.[2]
The CSS property border isn't an inherited property or in other words, 
doesn't apply to children elements.

[1] http://www.w3.org/TR/REC-CSS2/cascade.html#cascade
[2] http://www.w3.org/TR/REC-CSS2/cascade.html#inheritance

MaurĂ­cio Samy Silva
http://www.maujor.com/

----- Original Message ----- 
From: "Michael Stevens" <[EMAIL PROTECTED]>
To: <css-d@lists.css-discuss.org>
Sent: Monday, June 04, 2007 8:36 PM
Subject: Re: [css-d] table class


> Hi Ross,
> There is a 'equal sign' missed in your HTML code:
> <table class="signup_table">
>
> In case the missed sign was a typo and you want a border around ALL cells 
> of
> the table you must use the following CSS:
>
> table.signup_table {
> border-collapse:collapse;
> }
> table.signup_table tr td {
> border:1px solid green;
> }
>
> --
>
> Why doesn't applying a border to table cascade the way it should 
> enveloping
> all of it's child elements, namely tr and td?
>
> Mike

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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