In IE element.getStyle( 'height' ) returns real height instead of 100%

110 views
Skip to first unread message

ZsZs

unread,
Apr 23, 2012, 1:20:57 PM4/23/12
to mootool...@googlegroups.com
I'm experiencing 2nd time that if I set element.setStyle( 'height', '100%' ) than in IE element.getStyle( 'height' ) returns concrete height in pixels while the element.style.height property contains 100%.

I'm using the latest mootools-core-1.4.5-full-compat.js version.

FYI.

-Zsolt

Barry van Oudtshoorn

unread,
Apr 23, 2012, 7:55:25 PM4/23/12
to mootool...@googlegroups.com
Unfortunately, this is a problem in Internet Explorer -- not MooTools.
Check out
https://groups.google.com/d/topic/mootools-users/m7q561yNtYA/discussion
for more details, and have a look at http://jsfiddle.net/barryvan/87K5b/
in IE and other browsers.

--
Barry van Oudtshoorn
www.barryvan.com.au

Reply all
Reply to author
Forward
0 new messages