Dunno, if this has been asked before.
I've been looking wherever I can for a way to get a div's or any
element's background color in a sementic friendly way (ie. works in IE
and FF) using javascript.
so far i've tried the below:
document.getElementById('element').bgColor;
&
document.getElementById('element').style.backgroundColor;
TIA
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************