SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Hybrid View

  1. #1
    SitePoint Evangelist
    Join Date
    Oct 2001
    Posts
    439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Keep getting 1px gap between images.....

    Hi there,
    Does anyone know why I keep getting a gap between images on IE5........

    What I am trying to do is a pixel perfect design that has a header bar, and below that five images for the menu.....(unfotunately I dont have a link)

    in Mozilla, the images sit next to each other nicely...however, in IE, there is a small gap between them, and also a gap between the images and the border I have setup.......

    I have tried setting image borders, padding and margin to 0, but still doesnt work.......

    all ideas appreciated.....

    cheers

  2. #2
    SitePoint Enthusiast qshikuku's Avatar
    Join Date
    Jul 2001
    Location
    Nairobi, Kenya
    Posts
    93
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its hard to figure that out without a link, maybe you could paste the code here for more scrutiny. I am wondering if your image is in a table, if it is, then the width should be the same as the total width of the images.
    Last edited by qshikuku; Jun 18, 2002 at 07:01.
    Lisilokuwapo moyoni,halipo machoni-->Out of sight out of mind

    Take a musical Safari

  3. #3
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make sure you've got these set to "0" in your TABLE tag (if you're using TABLEs)

    cellpadding
    cellspacing
    border

    Make sure that you don't have extraneouse white space in your TABLE tags like so:

    <tr> <td> </td> </tr>

    YOur tags should be nested right next to each other. Carriage returns (line breaks) are ok but spaces are not as they count as a "character" and can throw off your alignment. If that still doesn't work then please post a link.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  4. #4
    SitePoint Evangelist
    Join Date
    Oct 2001
    Posts
    439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it is actually a tableless design, and a tricky one at that

    the problem was that whenever I gave a float:left to an image, a gap would then occur......after some hours though, I did find a workaround.......

    thanks

  5. #5
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What was the work-around so that others might benefit.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  6. #6
    SitePoint Wizard
    Join Date
    Nov 2000
    Location
    Chico, Ca
    Posts
    1,125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by mvd
    it is actually a tableless design, and a tricky one at that

    the problem was that whenever I gave a float:left to an image, a gap would then occur......after some hours though, I did find a workaround.......

    thanks
    Can you post the work around? I am having the same problem..

    Thanx

    Chuck
    "Happiness doesn't find you, you find happiness" -- Unknown
    www.chuckknows.com


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
  •