Who's awake and can help me? Need to create space between two images. how?

Discussion in 'HTML & Website Design' started by mighty.one, Sep 8, 2008.

  1. #1
    I've got a logo, then a banner right next to it.

    I want to create like a cm gap between the logo and the banner.

    Someone please explain how.

    msn would be great or you could explain here if you want
     
    mighty.one, Sep 8, 2008 IP
  2. Joash

    Joash Banned

    Messages:
    116
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Add me on MSN -
     
    Joash, Sep 8, 2008 IP
  3. nfd2005

    nfd2005 Well-Known Member

    Messages:
    295
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    130
    #3
    You can set a margin between the two images using CSS.

    So your first image code could be like this:
     
    nfd2005, Sep 8, 2008 IP
  4. iwf-jacob

    iwf-jacob Well-Known Member

    Messages:
    222
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    110
    #4
    I would be willing to help
    MSN -
     
    iwf-jacob, Sep 8, 2008 IP
  5. mighty.one

    mighty.one Active Member

    Messages:
    335
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #5
    you=genius.

    what you said did just the trick.
     
    mighty.one, Sep 8, 2008 IP
  6. justinlorder

    justinlorder Peon

    Messages:
    4,160
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #6
    That is the right answer . Sir.
    Setting the margin-right:X px. Adjust the number of the px to a nice-looking space.
     
    justinlorder, Sep 8, 2008 IP
  7. nfd2005

    nfd2005 Well-Known Member

    Messages:
    295
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    130
    #7
    Always glad to help.
     
    nfd2005, Sep 8, 2008 IP
  8. sfund

    sfund Well-Known Member

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    111
    #8
    NFD,

    Can you give me an idea of how css margins work if I need a space above or below an image? (ie: what if I need both top and bottom to have a 10px margin)

    Thanks - appreciate your help.
     
    sfund, Sep 8, 2008 IP
  9. Valdum

    Valdum Guest

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    style="margin-top:Xpx;margin-bottom:Xpx"

    just like that
     
    Valdum, Sep 9, 2008 IP