Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CSS hierarchy

0 views
Skip to first unread message

Chris Barber

unread,
Jul 3, 2003, 6:05:11 PM7/3/03
to
Hi,

Can anyone tell me if it is possible to do something like:

DIV.Header
{
BACKGROUND: yellow;
P.First
{
FONT-SIZE: 10pt;
COLOR: red
}
}

eg. I'd like to be able to simplify my CSS so that I don't lots of long
complex individual CSS rules that are difficult to debug without some clear
hierarchy in the CSS text:

DIV.Header
{
BACKGROUND: yellow;
}
DIV.Header P.First
{
FONT-SIZE: 10pt;
COLOR: red
}
DIV.Header P.First SPAN
{
....
}

add infinitum ...

Cheers,

Chris.


Ian Ward

unread,
Jul 3, 2003, 9:12:27 PM7/3/03
to
no.

"Chris Barber" <ch...@blue-canoe.co.uk.NOSPAM> wrote in message
news:%23CQYu8a...@TK2MSFTNGP12.phx.gbl...

Chris Barber

unread,
Jul 4, 2003, 12:33:44 AM7/4/03
to
OK - thanks - I thought that might be the answer.
I did a fair amount of testing but I'm not familiar enough with it to be
able to conclusively say that I was testing the right thing!

Cheers,

Chris.

"Ian Ward" <iward_at_austin_dot_rr_dot_com> wrote in message
news:uTGtTkcQ...@TK2MSFTNGP10.phx.gbl...

Al Rider

unread,
Jul 10, 2003, 6:31:03 PM7/10/03
to

Chris Barber

unread,
Jul 10, 2003, 8:02:10 PM7/10/03
to
Cheers Al.

But ... still a big no!

Looks like I'm stuck with long lines of CSS rules when trying to set up
embedded hierarchical rule sets.

Chris.


"Al Rider" <ne...@ridersite.org> wrote in message
news:umqupLzR...@TK2MSFTNGP12.phx.gbl...

0 new messages