1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to put a gap between these two ads

Discussion in 'WordPress' started by hammadfaisal007, Feb 26, 2012.

  1. #1
    Hi,
    I have put two ads under a topic title. They are just adjacent to each other. I want to add a space between two ads, to make it look better. I have attached a screenshot. Please have a look at it and give your opinion.

    http://i42.tinypic.com/2n8u6tl.png
    Code (markup):

     
    hammadfaisal007, Feb 26, 2012 IP
  2. rani123

    rani123 Member

    Messages:
    171
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #2
    i think you need to re size them both in equal sizes. and second and third picture space is better
     
    rani123, Feb 26, 2012 IP
  3. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #3
    The screenshot doesn't help much. Is the ad code javascript, or are they just linked images?

    If they are just linked images, you can just add styling to them
    If you have no control over the image styling, then you may have to place them in a box and set the spacing that way:
    http://www.w3schools.com/tags/att_div_align.asp
     
    hmansfield, Feb 26, 2012 IP
  4. Dove77

    Dove77 Member

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    You might already have fixed the issue...
    Otherwise just:

    1. click on the left image, and choose the corner image to "edit image"
    2. go to "advanced settings" (found on the op of the page)
    3. add some code to Styles: margin-right: 10px; (where "10 px" sets the margin to the other picture) Set this distance to it fits your page and pictures. :)
     
    Dove77, Feb 27, 2012 IP
  5. hammadfaisal007

    hammadfaisal007 Member

    Messages:
    140
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #5
    these are the adsense ads, below post title in wordpress blog. Will it work for the styling you've mentioned above?
     
    hammadfaisal007, Feb 28, 2012 IP
  6. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #6
    HTML boxes will work pretty much anywhere. When all else fails, you can always wrap it in a box and set spacing or padding accordingly.
     
    hmansfield, Feb 28, 2012 IP
  7. hammadfaisal007

    hammadfaisal007 Member

    Messages:
    140
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #7
    I am unaware of how to create HTML boxes. Can you give me some links explaining about it?
     
    hammadfaisal007, Feb 28, 2012 IP
  8. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #8
    Many people prefer to do it with CSS, but I think HTML will be easier to follow for now:
    http://www.wickham43.net/divboxes.php

    It's always good to know how to make a box. You never know when they will come in handy.
     
    hmansfield, Feb 28, 2012 IP