On 06/27/2011 03:49 AM, Niels Matthijs wrote:
Hi all,
I know it's not possible to place a margin on a tr-tag, but is there any
alternative if tr elements need to be visually separated from each other.
Mind that every tr has a border and a gradient background, so trickery using
td tags is pretty much out of the question. Cross-browser solution would be
nice J
Visual example: http://onderhond.com/temp/product-lines.png
Try 'border-spacing: 0 2pt':
http://www.w3.org/TR/CSS21/tables.html#separated-borders
Additionally: any idea _why_ it is not possible to put margins on a tr?
Something about the table model getting too complex, at least that was
the answer I got when I raised the issue something like a decade ago. :)
~fantasai
______________________________________________________________________
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/