Results 1 to 2 of 2

Thread: Image Gallery: Looks Different in IE & FF

  1. #1
    Join Date
    Aug 2007
    Posts
    30

    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
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    You have the same styles in your stylesheet as in head section style tags, which is confusing. Delete
    #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;
    }
    from inside the style tags in the head section.

    In the stylesheet style.css you have:-
    <base href="http://www.americanchic.net/images_pi/">
    <style type="text/css">

    which should not be there; delete it. The stylesheet also has two } characters when you only need one. Delete one } after the style for #myul.

    If you want the three thumb images 1, 2 and 3 to be on the left instead of central in the table, add margin-left: 0; to the #myurl style:-

    #myul {list-style-type:none; padding-left: 0px; margin-left: 0;}
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. image gallery issue in IE
    By mbdonner in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 30 Oct 2008, 05:13 PM
  2. 4 Steps to Attract Site Visitors to Image Gallery
    By useful in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 29 Aug 2006, 03:04 AM

Posting Permissions

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