Space on left side and right of image

Discussion in 'HTML & Website Design' started by jumpenjuhosaphat, Feb 26, 2008.

  1. #1
    Another problem in IE. I have cleared all of the margins and padding from the image, and have used display:block without any help.

    In the image on this page http://www.mobile-home-sales.com/test/node.htm, if you view it in IE, there is a small space on either side. Does anyone know what causes this?
     
    jumpenjuhosaphat, Feb 26, 2008 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That's the 3 pixel jog at work.

    The quickest way to fix it would be to feed a style to Internet Explorer 6 and earlier to adjust the left margin by -3px or relative position by -3px.

    
    * html [i]selector[/i] {
    	position: relative;
    	left: -3px;
    }
    
    Code (markup):
    Just replace selector with the selector you want to target.
     
    Dan Schulz, Feb 26, 2008 IP