View Single Post
  #3 (permalink)  
Old Jul 24th, 2007, 13:50
Ryan Fait's Avatar
Ryan Fait Ryan Fait is offline
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Odd little image margin in FF

Unfortunately, margin/padding won't work for this. You need to set the image to a block element (which can cause other problems).

Code: Select all
<img src="this.jpg" class="block" alt="image" />


<style type="text/css">
  img.block {
    display: block;
  }
</style>
I think this is the only way to get rid of the space, but I'm not 100% sure.
Reply With Quote