snak detek+0r wrote:

> i did have
> vertical-align:top in my table{} css.
>
> what is it about the <table> element that doesn't accept this
> property?

It does. All elements have all properties. However, a property might 
lack any effect on the rendering. In particular, the vertical-align 
property affects, by definition, only inline elements and table cells.

> it seems it would at least be inherited by the <td>s?

The CSS specs say that the vertical-align property is _not_ inherited:
http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align

If you set vertical-alignment on a <tr> element, the effects looks like 
inheritance (from <tr> to <td> and <th>), due to peculiarities in table 
formatting rules, described somewhat confusingly under "17.5.3 Table 
height algorithms",
http://www.w3.org/TR/CSS21/tables.html#height-layout

But setting vertical-align on <table> has no effect (except in the 
contrived case where you use vertical-align: inherit on inner elements, 
and for some odd reason, even Firefox doesn't seem to support this; 
that's probably because the implementation of the value inherit is 
flawed).

Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/ 

______________________________________________________________________
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/

Reply via email to