Results 1 to 2 of 2

Thread: Image Gallery: Looks Different in IE & FF

  1. #1
    Join Date
    Oct 2008
    Location
    Brooklyn, NY
    Posts
    27
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default Image Gallery: Looks Different in IE & FF

    Another darn IE and FF problem - http://americanchic.net/testpage In IE, you'll see that there is a considerable amount of extra space between the edge of the table and the first "1" thumbnail. I need to get rid of that extra space. This page uses an external style sheet. What's causing this and how can I fix it?

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Remove this from your css:
    Code:
    <style type="text/css">
    #myul{list-style-type:none;padding-left: 0px;}
    }
    #myul li{margin:0px;float:left;}
    #myul img{
    margin:7px;
    float:left;
    border:1px solid #222;
    width:80px;
    height:67px;
    cursor:pointer;
    }
    #default{
    width:280px;
    height:280px;
    }
    </style>
    And change your list into this:
    Code:
    <div id="myul"><img src="testpage_files/1.jpg" alt="myimage"><img src="testpage_files/2.jpg" alt="myimage"><img src="testpage_files/3.jpg" alt="myimage"></div>

Bookmarks

Posting Permissions

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