Sat, 2007-12-01 13:17
Edit by Triumph - There is no CSS at all in your code. This is a javascript question. Moved to "Off Topic".
Hello,
I'm trying to write a website where a user can choose the CSS from a select tag, but can't seem to get it to do anything at all.
White
Black
Light Grey
Mid Grey
Sat, 2007-12-01 13:25
#1
It seems that you have a
It seems that you have a fundamental misunderstanding of what CSS is as there is absolutely none in your code. :shrug:
Sun, 2007-12-02 02:33
#2
property names in CSS =/= in JavaScript
The name is different in Javascript, as lot of them are. js doesn't like - (hyphen) in a statement. have a look at http://codepunk.hardwar.org.uk/css2js.htm