View Full Version : 5px space below images in FF1.5
12-27-2005, 05:58 PM
All images, when rendered in FF1.5, seem to have about 5 pixels of padding below them. I of course have my CSS to have all images with margin and padding of zero. What could be the cause of this? Is there some kind of workaround? Or do you think it's my other CSS and layout issues that may be affecting this? If so, I'll post code. I just thought that maybe someone may have a quick answer. I've only tested this in IE6 and FF1.5 and IE6 renders it how I would like it (no extra space below the image).
12-28-2005, 11:22 AM
More than likely line-height. Post your code. We aren't psychic you know.
12-28-2005, 05:50 PM
Thanks for your answer and sarcasm. Well, the answer really. The sarcasm could've been left to yourself.
As I am still fairly new to CSS, I didn't think about line-height. That was the quick answer I was looking for. That is why I didn't post my entire code, which would have been a bit large. I also stated that if code was needed, I'd provide it, so no need for the sarcasm at all when I already obviously was aware that the code may be needed. A simple: "Check your line-height and let me know if that works. If it doesn't, then you're going to need to post your code." would've just been fantastic. Thanks.
Anyway, thanks for the reply. I've fixed my CSS and it works great, sort of. For FF1.5, the default line height for tables when images are around a table or in a table yield the extra space below the images, which was fixed when setting the line-height for all tables to zero, which then screwed up any multiple line text in the table. So hopefully some messing around with the height of the TDs will correct this. Still tweaking it, so hopefully I get it how i want.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.