[BNM] Fwd: CSS query

Russell Beech russell.beech at gmail.com
Wed Sep 17 13:45:10 BST 2008


It will still be possible to do this but how you go about it depends on the
specific circumstances.  I suggest you consult the Joomla community to take
it further.


2008/9/17 Toby <toby at republicofheaven.com>

>  Thanks Russell, but its not quite that easy as it's a table in Joomla, so
> I
> cant directly add a class to each row.
>
> Thats why I wondered if there was another way of doing it via the cascade.
>
> :)
>
> 2008/9/17 Russell Beech <russell.beech at gmail.com>
>
>  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
> >>
> >
> >
>
>
> --
> \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