2 replies [Last post]
fyremoon
Offline
newbie
Last seen: 14 years 25 weeks ago
Joined: 2007-12-01
Posts: 1
Points: 0

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

Tags:
Triumph (not verified)
Anonymous's picture
Guru

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:

jinoturistica
Offline
Enthusiast
Jinotega, Nicaragua
Last seen: 14 years 13 weeks ago
Jinotega, Nicaragua
Timezone: GMT-6
Joined: 2007-11-16
Posts: 152
Points: 0

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

Just doin' my best at www.jinotega.com
Tony Robins