[BNM] CSS query
Russell Beech
russell.beech at gmail.com
Wed Sep 17 09:50:24 BST 2008
If I've interpreted that correctly you have table rows that you want to
style differently? Just apply a class to each row...
<tr class="row1">
<tr class="row2">
<tr class="row3">
or...
<tr class="odd">
<tr class="even">
<tr class="odd">
CSS:
tr.row1 {background:pink;}
2008/9/17 Toby <toby at republicofheaven.com>
> Oops sent that before I'd finished!
>
> What I meant was.......
>
> div.class table tr td{
> blah: ;
>
> }
>
> This is then inherited by all the cells in the table.
> Is it possible to do something like
>
> div.class table tr td tr td{
>
> }
> to access the second, third, forth row etc?
>
>
> Cheers
>
> Toby
> 2008/9/17 Toby <toby at republicofheaven.com>
>
> > Hi all,
> >
> > Wondered if someone could help with sommat?
> >
> > I have a table with a number of rows in, but with only one cell in each
> > row.
> >
> > I want to apply a different style to each table.
> >
> > The CSS I have so far is
> >
> > div.class tbale tr td{
> >
> >
> > }
> >
> > --
> > \m/>_<\m/
> >
>
>
>
> --
> \m/>_<\m/
> --
>
> BNM Subscribe/Unsubscribe:
> http://www.brightonnewmedia.org/options/bnmlist
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>
More information about the BNMlist
mailing list. Powered by Wessex Networks