Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
How to fetch the exact height attribute of html divs in IE?
Old 11-24-2010, 01:05 AM How to fetch the exact height attribute of html divs in IE?
Junior Talker

Posts: 1
Name: wilbur bonar
Trades: 0



I want to get the dynamic heights of some html divs. I am not programmatically applying height to them (so I don't know their values). If I fetch the height in mozilla I am able to fetch the exact value in px but in case of IE it gives "auto". How do I get their exact values? Please help
__________________
.
wilburbonar is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-25-2010, 07:19 AM Re: How to fetch the exact height attribute of html divs in IE?
Super Spam Talker

Posts: 879
Name: Paul W
Trades: 0
document.getElementById('my_id').offsetHeight
Note: the Javascript has to go below the div specification

Last edited by PaulW; 11-25-2010 at 07:21 AM..
PaulW is online now
Reply With Quote
View Public Profile
 
Reply     « Reply to How to fetch the exact height attribute of html divs in IE?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15726 seconds with 12 queries