Re: CSS and tables



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.

.



Relevant Pages

  • Re: Wie at Canoe Brook
    ... I'd say the odds are pretty low, but it'll be exciting to watch her ... I'll be rooting for her. ...
    (rec.sport.golf)
  • Re: Kicked in the Junk: Ithaca!
    ... Are you one of the car load coming up for the qualifier on Sunday ... Salem? ... If so we can watch it live action... ...
    (rec.games.trading-cards.jyhad)
  • Re: Terminator and the NFL
    ... whatever - in order to watch a program that you profess to WANT ... the qualifier is "to watch a program that you profess you ... interested in TV to be posting to a TV oriented NG. ...
    (rec.arts.sf.tv)