...

View Full Version : assigning className, hover does not work ?



BubikolRamios
12-25-2006, 01:23 PM
http://86.61.66.17:8084/AgroZoo/testHTML/testHTML.jsp

please click on "add div" button. Can anyone tell me why hover works on black DIV and does not on newly created blue DIV ?

Thanks for help.

Bill Posters
12-25-2006, 01:51 PM
Inline styles will override embedded styles.



divNode.style.backgroundColor = 'blue';

BubikolRamios
12-25-2006, 01:54 PM
Thanks for quick and accurate replay.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum