troubleshooting Question

JavaScript : What's wrong with my code... OffsetHeight retrieved is bad

Avatar of mychel_normandeau
mychel_normandeauFlag for Canada asked on
JavaScriptJScript
5 Comments1 Solution1091 ViewsLast Modified:
Go to:
www.wolfcast dot com/about.php

I dynamically add a onLoad page event that resize the "Chronology" box to fit the height of the "History" box. (I also add a custom event that do the same when the user change the text size)

My problem is that I can't find a way to set the chronology box height to the same as the history box. Currently I get the height with clientHeight and set it with style.height (in px). Currently it gives me a 16px gap...

How can I set the 2 boxes with the same height (without setting a fixed height to both - only one - the smallest).

Thanks!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros