Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Get div current pixel width by javascript in IE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get div current pixel width by javascript in IE



Hi all,

I am trying to get the current width, in pixels, of a div (#middle). Everything works great in FF and Safari, but not in IE (PC - not concerned about IC-Mac). All I get is "Auto" for the width of the div. Here is a link to the test page.

http://www.tonedeafstudios.com/test12.html

Is there ANY way to get the current pixel width of the div? The content will change in the middle div, that is why I need to get the pixel width so I can adjust other things on the "real" page. Perhaps this is not possible. But if it is, I'm at a loss as to how to get it. Any help is greatly appreciated.

Thanks,

Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.