Thread: image left padding issue
Results 1 to 2 of 2
Band Profile Help - top left, default image area Forum: Myspace ForumReplies: 1
Site Shifts To Left Upon Image Hover / Extra Border Problem Forum: CSS ForumReplies: 3
Iframe 'padding' issue Forum: HTML ForumReplies: 1
Float image and left alignment Forum: CSS ForumReplies: 0
05-11-2007, 01:31 AM #1
image left padding issue
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> <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> </p> </div>
05-11-2007, 03:49 AM #2
Re: image left padding issue
I would assume that in IE the "justify" and "padding" settings are conflicting - and "justify" is winning.
When I pasted it in, if I removed the "justify" from the <div> tag the gap appeared.
When I used "margin-left" instead of "padding-left" it worked in both browsers.