General Question

Evan's avatar

How do I remove spaces around images in a CSS drop down menu in IE?

Asked by Evan (810points) July 6th, 2007
3 responses
“Great Question” (0points)

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

Evan's avatar

sorry to dp.. but here's the code i'm working with.

http://www.mosaicfound.org/NEW/common/top.php

Lot9's avatar

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.

klaas4's avatar

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

Login

or

Join

to answer.

Mobile | Desktop


Send Feedback   

`