Previous Message
Next Message

Two questions - col style and scrollbar properties

Sent by Christian Heilmann on 31 January 2005 21:09


Ludwik Górski wrote:

>Hello,
>
>I hope that these questions will be apropriate for this group.
>
>1. Why Mozilla ignores class and style atributes for col element within a
>table?
>
>This example works in IE, but not in Mozilla:
>
><table>
><colgroup>
>  <col style="background:red;">
></colgroup>
><tr>
>  <td>a</td>
></tr>
></table>
>
>  
>

According to specs, those should be  applied only when the TD has a 
transparent background: http://www.w3.org/TR/CSS21/tables.html#q4

Mozilla doesn't support styling of cols, sadly enough:
https://bugzilla.mozilla.org/show_bug.cgi?id=4510
http://www.notestips.com/80256B3A007F2692/1/4D790E7DF984FCF180256E4500055D3C?OpenDocument

>2. Is it ok to put a "Valid CSS" button on a page which has correct CSS
>code except for declaring the scrollbar-* properties for the body tag?
>
>  
>
You'll be visited by the CSS spanish inquisition, but there is no way to 
expect them. As a CSS button says nothing more than that you support 
standards, it is a bit hypocritic though. You _could_ add the scrollbar 
properties in an extra CSS and state on your "about" page that this one 
is the bad CSS, only applied to make sure that visitors don't find the 
scrollbars immediately :-)





______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: