[styling a table]

I use the following rule to style the first (tbody) column of a table:

tbody td:first-child {
  font-weight: bold;
  border:      3px solid orange;
}

If the tfoot has a colspan > 1, the border-bottom of the last cell spans across as many cells as are defined in colspan. According to the rule the border-bottom should only be shown under the first cell of the last row in tbody.

Test case is here:

   www.joergen-lang.de/test/tabellen-mit-stil.html

The problem does only occur in webkit.
Tested with S2+, C8+, and a more or less recent nightly.


Any ideas, thoughts... are welcome.

Jørgen Lang
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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