Re: [css-d] dynamic classes

2006-07-31 Thread Nick Fitzsimons
[EMAIL PROTECTED] wrote: > Hi, > > Just say I have 4 pages on a website. When I am on a page I want the button > on that particular page to be bold and a different colour so the user know > what page they are on. > > Is there a css only way to do this, or a better way?. At present I am setting

[css-d] dynamic classes

2006-07-31 Thread ross
Hi, Just say I have 4 pages on a website. When I am on a page I want the button on that particular page to be bold and a different colour so the user know what page they are on. Is there a css only way to do this, or a better way?. At present I am setting php variables like this(in this exampl

Re: [css-d] dynamic classes - a better way?

2006-07-31 Thread Stan Baptista
> Is there a css only way to do this. One way... COMMON CSS FILE: /* One per HTML page... */ body.details input { background: white; color: blue; } body.location input { background: white; color: red; } /* etc... */ EACH HTML FILE: ... -Stan ___

Re: [css-d] dynamic classes - a better way?

2006-07-31 Thread Christian Heilmann
> Hi, > > Just say I have 4 pages on a website. When I am on a page I want the button > on that particular page to be bold and a different colour so the user know > what page they are on. This has been discussed here to death over the last few weeks on the list: http://lists.evolt.org/archive/We

[css-d] dynamic classes - a better way?

2006-07-31 Thread ross
Hi, Just say I have 4 pages on a website. When I am on a page I want the button on that particular page to be bold and a different colour so the user know what page they are on. Is there a css only way to do this. At present I am setting php variables like this(in this example I am on the 'loc