How do I remove spaces around images in a CSS drop down menu in IE?
so yes.. we all hate IE. The problem is that in IE 6 and 7 there are space around the images.. I wondering if maybe I can use the boarder-collapse line, or maybe display:inline - but I'm not sure they're work, and I don't know where I'd need to put them.
Observing members:
0
Composing members:
0
Answers
As odd as it sounds, the one thing that worked for me was very simple. When your writing the code, don't hit return to make a new line of code. Write it out on one line. I don't exactly know why it worked, but it did.
I don’t know if it helps you after 3 months, but the reason above is correct: IE handles an empty line in the source code as na empty line in the page.
Living in in a browser war is very tough, developers. Do not give up, because one day, one browser wil win.
Answer this question 