Re: CSS and tables
- From: "Andy Dingley" <dingbat@xxxxxxxxxxxxxx>
- Date: 30 Aug 2006 05:14:23 -0700
News Hippo wrote:
basically how do I redefine .data, .toprow, .leftcol so that they too
only apply to the table id "sample"?
Try this
table#sample td.data { ... }
Watch out for whitespace! If the qualifier (class or id) touches the
element name, then the selector matches elements that have that
qualifier themselves. If there's whitespace between them, then instead
they match a _child_ element that has that qualifier.
.
- References:
- CSS and tables
- From: News Hippo
- CSS and tables
- Prev by Date: Re: CSS and tables
- Next by Date: 6 months free trial - Windows & Linux web hosting
- Previous by thread: Re: CSS and tables
- Next by thread: 6 months free trial - Windows & Linux web hosting
- Index(es):
Relevant Pages
|