Thomas Peklak wrote:

> [style and col]
> What about trying to use "!important"? Did you try this? This should
> overrule styles in child elements.

I've tried a bit with this, and it seems that actually no border can be 
made with the col as selector (in Mozilla), even this:
#bordercol {
   border: 1px solid green;
}

<table>
<col/><col id="bordercol"/>
  <tr><td>a</td><td>B</td></tr>
  <tr><td>a</td><td>B</td></tr>
</table>

gives me a completely borderfree table!

Background works fine, but only as only declaration for a given cell's 
background, !important is disregarded.

The latter has some built-in logic, if the engine does not consider the 
td as a child of the col, then it cannot force the inheritance.

Thanks for the answer though, it was worth a try :-)

regards

Jesper Brunholm
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to