Log in

View Full Version : Basic Css Extraction? How?


Colicab2
02-22-2004, 12:47 PM
How do i get the forum colours out of the css to use in this manner

<table bgcolor="$forumcolour1" >

it has to be in that, but its not for a table.. in particluar im looking to use the colours from the nav bar for this :D

i dont wanna say what it is but it will help folk with js problems :D

Zachery
02-22-2004, 02:51 PM
How do i get the forum colours out of the css to use in this manner

<table bgcolor="$forumcolour1" >

it has to be in that, but its not for a table.. in particluar im looking to use the colours from the nav bar for this :D

i dont wanna say what it is but it will help folk with js problems :D
You can just use classes. I believe there some sort of weird varbile... hover over them, i believe they show what the varible is.

Colicab2
02-22-2004, 02:56 PM
yeah i just tried them but it seems when used in what im doing it doesnt like them... as i have stuff like

"colour='$css[.vb][colour1]' hand='cursor'"

it just gives me $T_string and $T_value erros when i save the template

AN-net
02-22-2004, 04:24 PM
well for css for color font and background color it would be like this:

blah{
font-color:$colorfont;
background:$bgcolor;
}