Ian Piper wrote:
> I have had a google on this but can't really get a definitive answer,
> so though I would ask at The Oracle.
>
> Why can I create a background for a <tr> element but not a border. It
> seems a reasonable thing in a data table to be able to enclose all of
> the cells in a row in a single border, but although this does not
> throw up any errors, it also doesn't display.
>
> I am simply doing this in my style sheet:
>
> tr {
> border: 1px solid #000000;
> }
>
>
> I'm sure there must be a good reason for this, and a way to achieve
> what I want. Can anyone illuminate me?
>
Make the TR
display: block
and it will work.
/patrick
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/