Click to See Complete Forum and Search --> : Returning CSS style property values


Ambridiox
01-25-2009, 05:37 PM
Is it possilble to return a CSS style property value? If so, does anyone know how? More specifically I am trying to figure out how to determine wether an <DIV> elements display value is currently "none" or "block".

"document.getElementById(iObj1).style.display" just returns blank.



Any help or suggestions are greatly appreciated.

Fang
01-26-2009, 05:30 AM
http://www.webdeveloper.com/forum/showthread.php?t=200465

Ambridiox
01-28-2009, 06:54 PM
Awesome, thanks fang. It works like a charm :)