Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
05-09-2011, 05:10 PM #1
- Join Date
- May 2011
- Thanked 0 Times in 0 Posts
Margins lost when adjacent div display and height changed
I have the following problem in IE. My page has several divs whose style is changed via javacript on the onclick event. It works pretty well, but I sometimes lose the div margins when adjacent divs are resized. Here is the page:
To reproduce the problem do this:
1. Select a county from the drop down list (Butler is a good one)
2. Click on a marker in the map
The "Map Description" div shrinks, and the "Permit Detail" box should expand. However I lose the margins between the sections until another markers is clicked, and then they reappear. That only happens after initial page load when the first marker click. After that it is fine. Any suggestions?
Thanks very much in advance!