Hey, I have a situation that goes like this:
I have 4 objects with dimensions of exactly 76x76px placed within a 320px container. This setup seems to work well in Chrome as seen above. However, in Firefox and IE9, it looks like this:
even though the <ul>
remains the same size
The display only appears correctly if I adjust the size of the <li>
Can anyone explain why? The image size is definitely 76x76 and Chrome shows it correctly. I really appreciate any help!
---UPDATE---
As I was about to create a jsFiddle for you all, I discovered that the simple code worked fine there on all browsers. After some troubleshooting, I identified the issue! It was caused by these two style lines combined being applied to the sidebar:
letter-spacing: 1.6px;
font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;
By removing one of them, the problem was solved. It turns out that it was the combination of both styles causing the issue. Simply setting font-family: Arial;
(surprisingly odd solution, right?) to the <ul>
resolved the problem!
Thanks to everyone who contributed.