Gallery has too much padding in IE7
Posted
by
Amber
on Stack Overflow
See other posts from Stack Overflow
or by Amber
Published on 2012-06-09T21:34:17Z
Indexed on
2012/06/09
22:40 UTC
Read the original article
Hit count: 207
My Flickr gallery looks good in all browsers except IE 7. What else do I need to put in my CSS code for it to not look so lopsided in IE 7. I added the display: block
but it didn't do anything.
a img {
display: block;
*display: inline-block;
float: left;
border: none;
padding: 3px;
background-color: #fff;
border: 1px solid green;
margin-right: 15px;
margin-bottom: 15px;
}
Right now it looks like this.
Is there something I'm doing wrong with the CSS? Should I be adding in something for IE so it can read it properly?
© Stack Overflow or respective owner