Alright, I remember reading something about this happening but didn't think much of it and a Google search has led to nothing useful yet.
The problem is I have an absolutely positioned box in the center of my page. It renders fine in all browsers except IE6 (possibly above, not sure) it collapses the box to the size of whatever is inside.
The old thing I read mentioned it being the usage of percentage heights and widths as well as absolute positioning. The fact that it started right after I changed to percentages seems to confirm this lol.
The code used is:
CSS
HTMLCode:#popup { width: 40%; height: 30%; position: absolute; top: 50%; left: 50%; margin-top: -10%; margin-left: -20%; color: #000000; text-align: center; background: #FFFFFF; border: #000000 1px solid; display: none; }
How can I prevent the box from collapsing in IE? I don't really care for 6. Or anything below 8 for that matter, but to alert the users that the site might not work properly if they are running below 8 (according to conditional comments) they get that pop up when they load the site.Code:<div id="popup"> a popup! <div>
I figure at least the "it might not work" should work...
Thanks
Tm



Reply With Quote


Bookmarks