On 12/13/06, Chris Broadfoot <[EMAIL PROTECTED]> wrote:

> > Your sytnax is wrong for the shortcut rule.  It should be {background:
> > #eee none;}
>
> How come?

Well I might be wrong - my memory of validating CSS is that the
validator complains about the background shortcut rule if you don't
specify the background image, or "none" if you don't have one.

> > You should style the tds in the styled row, not the row itself.
> > Descendant selectors allow you to do this easily.

> Why this, as well?

Mostly because putting a border around a tr element never works for
me.  I think it is only meant as a container for cells (th or td
elements).  "td" or "th" are block elements so they do take borders.

But I could be wrong about that too, of course.
______________________________________________________________________
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/

Reply via email to