View Full Version : image left padding issue

May 11th, 2007, 08:30 AM
I i open this code in FF i get some padding on the left side of the image which is ok, but when i open it in IE i don't get this padding.
Is there any way that I have this padding in IE?

<div align="justify"><img src="http://www.site.com/default1.gif" style="padding-left:27px;" alt="Cleveland" align="right" width="152" height="136" border="0" />
<p> Ticketchest.com is the Number One provider of Major League Baseball tickets in the United States. You came to the right place for great Cleveland Indians tickets -- close to the field or anywhere you desire. Ticketchest.com has a huge supply of great tickets to sold-out or hard-to-get Cleveland Indians baseball games. <br>
<p>Whether you need group tickets for a professional or corporate outing or just a pair of tickets, The Ticket Chest is your source for the best Cleveland Indians baseball tickets on demand. Also, check into our other Major League Baseball teams. We do the hard work so you can focus on eating peanuts. <br>

May 11th, 2007, 09:31 AM
Lets try image margin..

<img src="http://www.site.com/default1.gif" style="margin-left:27px;" alt="Cleveland" align="right" width="152" height="136" border="0" />

May 11th, 2007, 01:35 PM
Is there any way that I have this padding in IE?[CODE]
In IE, if you don't see the padding for the image in IE then this is probably because your page is rendered in quirks mode (http://www.quirksmode.org/css/quirksmode.html).

IE/Win: no padding on images in quirks mode (http://www.brunildo.org/test/inlinepaddQ.html)

You are probably missing a document type.

Example of a document type that triggers standards mode that may suit you: