Inserting .gif image

Discussion in 'HTML & Website Design' started by Pietercornelis, Dec 30, 2006.

Thread Status:
Not open for further replies.
  1. #1
    Hey all,

    I couldn't find the answer to this in the regular tutorials I use, so I thought I should ask it:
    I am building my site, and I just started on the header. I added my logo in .gif format, and now I notice a small, white stripe in the header, under the logo.
    I can't find a way to remove it! It's driving me mad! Help me, I beg you!
    Thanks in advance.
     
    Pietercornelis, Dec 30, 2006 IP
  2. Barons

    Barons Peon

    Messages:
    261
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have reviewed your code source, can't find anything wrong. Did you make the css file yourself? The error might be in this. I have sent you a pm.
     
    Barons, Dec 30, 2006 IP
  3. Rogem

    Rogem Peon

    Messages:
    171
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Have you tried adding a margin to the #header bit of your CSS?
     
    Rogem, Dec 30, 2006 IP
  4. Pietercornelis

    Pietercornelis Guest

    Messages:
    631
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes, I wrote everything myself. I'll try adding a margin.
     
    Pietercornelis, Dec 31, 2006 IP
  5. ophir.oren

    ophir.oren Peon

    Messages:
    141
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    strange.... try adding white-space: nowrap; to the css
     
    ophir.oren, Dec 31, 2006 IP
  6. Pietercornelis

    Pietercornelis Guest

    Messages:
    631
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I tried it this way:

    <head>
    <style type="text/css">
    img
    {
    white-space: nowrap;
    }
    </style>
    </head>
    <body>
    <img src="logo.gif">
    </body>

    But that doesn't work. Any other ideas?
     
    Pietercornelis, Jan 1, 2007 IP
  7. Pietercornelis

    Pietercornelis Guest

    Messages:
    631
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Ah, never mind, I found another solution. I changed all background color to match the pic. This thread can be closed... Thanks for your help!
     
    Pietercornelis, Jan 1, 2007 IP
Thread Status:
Not open for further replies.