Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder TheShaner's Avatar
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Posts
    1,126
    Thanks
    2
    Thanked 40 Times in 40 Posts

    5px space below images in FF1.5

    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).

    -Shane

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    More than likely line-height. Post your code. We aren't psychic you know.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Senior Coder TheShaner's Avatar
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Posts
    1,126
    Thanks
    2
    Thanked 40 Times in 40 Posts
    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.

    -Shane


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •