Topic: Picking Colors from overlaying stylesheet |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Willaimsport, PA, US of A the hole in the Ozone |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() You could just use code: .beta { background-color: #C9C79E; } |
Maniac (V) Inmate From: under the bed |
![]() ![]() ![]() ![]() Yeah, no need to specify the element in the CSS. |
Paranoid (IV) Inmate From: Willaimsport, PA, US of A the hole in the Ozone |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() quote:
|
Maniac (V) Inmate From: under the bed |
![]() ![]() ![]() ![]() First of all, *please* don't call it a tag - it's a style declaration, which is very very different from a tag. |