<div> and image question

J

John

In firefox, I keep getting a couple of pixels space at the bottom of my divs
that I can't get rid of. I have a div with an image that should fill the
entire div. I've added a border to the bottom of the div and now have that
space under the image. Only in firefox.

I did manage to remove them using a line-height:10px., but that seems like a
hack that I'd rather not use if I can find the true problem.

Am I mising something?

JB
 
J

Jonathan N. Little

John said:
In firefox, I keep getting a couple of pixels space at the bottom of my divs
that I can't get rid of. I have a div with an image that should fill the
entire div. I've added a border to the bottom of the div and now have that
space under the image. Only in firefox.

I did manage to remove them using a line-height:10px., but that seems like a
hack that I'd rather not use if I can find the true problem.

Am I mising something?

Yes, the URL so we may see what you are doing....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top