Topic: Picking Colors from overlaying stylesheet (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Willaimsport, PA, US of A the hole in the Ozone |
posted 04-08-2005 18:29
Is there any way to use the background colors of a TD tag class for instance (TD.beta) in a DIV directly copying that color from the other tag? code: TD.beta { background-color: #C9C79E; }
|
Bipolar (III) Inmate From: Minnesota |
posted 04-08-2005 20:22
You could just use code: .beta { background-color: #C9C79E; } |
Maniac (V) Inmate From: under the bed |
posted 04-08-2005 21:53
Yeah, no need to specify the element in the CSS. |
Paranoid (IV) Inmate From: Willaimsport, PA, US of A the hole in the Ozone |
posted 04-09-2005 21:39
The people up stream that wrote the stylesheet weren't nice enough to make a tag like that. And if I add my own tag like that, then I'll have to write a new stylesheet for every theme that they use. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 04-09-2005 22:06
quote:
|
Maniac (V) Inmate From: under the bed |
posted 04-09-2005 23:55
First of all, *please* don't call it a tag - it's a style declaration, which is very very different from a tag. |