Mule3044 / simplemodal

Automatically exported from code.google.com/p/simplemodal
0 stars 0 forks source link

Incorrect modal size in IE8 #66

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
SimpleModal 1.4.1
jQuery 1.5.2
Internet Explorer 8

If CSS is used to add border-bottom to <a> elements then modals are sized 
incorrectly - the height is the height of a single line.

This occurs even if there are no <a> elements on the page.

Changing the CSS rule to "span" instead of "a" removes the bug.

Original issue reported on code.google.com by rob...@gmail.com on 11 May 2011 at 10:44

Attachments:

GoogleCodeExporter commented 8 years ago
Dug a little deeper... I'm not using the close button so didn't have the CSS 
for it.
Putting in the:
#simplemodal-container a.modalCloseImg { position:absolute; }
fixed it.

So I guess this but is invalid, but it could catch people out if they try to 
have a close button that isn't absolutely positioned.

Original comment by rob...@gmail.com on 11 May 2011 at 11:02