Schmoopy
11-03-2008, 05:14 PM
Hi again,
After doing an image map and adding some javascript to it my code seems to be ignoring max-height on some elements. It only does this in IE and Opera (only tested on firefox IE and opera),
Check here: http://www.bombthehills.com/ridingspots-uk.html
You will see that when in IE or Opera, the page expands at the bottom when you click on a centre, the more text there is about the centre the more the page expands. At first I thought I could fix this by setting a max-height for the div the description of the centre was in but to no avail, the page is still expanding when you click on a centre and I don't know why, anything else I can do apart from setting max-height? Or have I messed up somewhere else?
Thanks for any help,
Jack.
After doing an image map and adding some javascript to it my code seems to be ignoring max-height on some elements. It only does this in IE and Opera (only tested on firefox IE and opera),
Check here: http://www.bombthehills.com/ridingspots-uk.html
You will see that when in IE or Opera, the page expands at the bottom when you click on a centre, the more text there is about the centre the more the page expands. At first I thought I could fix this by setting a max-height for the div the description of the centre was in but to no avail, the page is still expanding when you click on a centre and I don't know why, anything else I can do apart from setting max-height? Or have I messed up somewhere else?
Thanks for any help,
Jack.