Advanced Search

Results 1 to 2 of 2

Thread: Getting rid of some space in IE6/7

  1. #1
    Join Date
    Sep 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Getting rid of some space in IE6/7

    Can anyone put me straight for some text to fix a problem? I hear you can enter it into the page to fix Internet Explorer problems

    I made a menu you can see http://ancpweb.com/products.php

    In FireFox it views fine. In IE 6 or 7 there's a space below each entry.

    I have had a search around the forums but I'm not really sure what to ask for.

    It's in the ul and li bits of the code when I look behind the page in Dreamweaver.

    Cheers

    John

  2. #2
    Join Date
    Oct 2007
    Location
    Germany, Berlin
    Posts
    41
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I just checked it out and I think you haven't changed the standarts of margin and padding which are a bit different in various browsers.
    Try to specific the space via css:
    your objects (e.g. p, table)
    {
    margin: [top] [right] [bottom] [left];
    ->margin:0 0 0 0;
    padding:0 0 0 0;
    }

    There are also hacks for IE like this:

    <!--[if lte IE 6]>
    <style type="text/css">
    table, p {
    margin:0 0 -3px 0;
    padding:2px 0 0 0; }
    </style>
    <![endif]-->

    ...or whatever
    I hope I could be helpful.

    greetings
    Max

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
  •