How to leave space between two side by side ads code

Discussion in 'HTML & Website Design' started by FireStorM, Jun 22, 2012.

  1. #1
    Hello,

    I have added two ads side by side on my website, i want a space between them .. how can i do this please?

    here is the code

    ads
    </script>
    <script type="text/javascript"
    src="http://3333.com/show_ads.js">
    </script> 
    ads
    src="http:3333.com/show_ads.js">
    </script> 
    
    
    
    Code (markup):
    Here is how it is appearing on my website .. please help me to have a space between them, they will be side by side

    View attachment 84905
     
    Solved! View solution.
    Last edited: Jun 22, 2012
    FireStorM, Jun 22, 2012 IP
  2. #2
    Have you tried placing the two ads within their own div? The first div can include a margin between the two.

    <div style="margin-right: 20px; float: left;">
      <!-- ad 1 -->
    </div>
    <div style="float: left;">
      <!-- ad 2 -->
    </div>
    Code (markup):
     
    varrav, Jun 22, 2012 IP
  3. FireStorM

    FireStorM Well-Known Member

    Messages:
    2,579
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    175
    #3
    hi varrav, thanks it has been fixed when i have done this
     
    FireStorM, Jun 22, 2012 IP