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
    Regular Coder
    Join Date
    May 2006
    Posts
    107
    Thanks
    1
    Thanked 0 Times in 0 Posts

    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?
    thanks
    Code:
    <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>

  • #2
    Regular Coder
    Join Date
    May 2007
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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" />
    Forum for webmasters and developers
    http://www.htmlfrenzy.com
    Are you an IT expert? Join our Reward system
    www.htmlfrenzy.com/reward-system.php

  • #3
    Senior Coder koyama's Avatar
    Join Date
    Dec 2006
    Location
    Copenhagen, Denmark
    Posts
    1,246
    Thanks
    1
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by dizyn View Post
    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.

    IE/Win: no padding on images in quirks mode

    You are probably missing a document type.

    Example of a document type that triggers standards mode that may suit you:
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/REC-html40/strict.dtd">


  •  

    Posting Permissions

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