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.

need help

Discussion in 'PHP' started by BustPriceline, Dec 27, 2010.

  1. #1
    I want to put two banner on the right and left side of the slideshow on this website. I wonder if anyone can help me to figure out how to do this.
     
    BustPriceline, Dec 27, 2010 IP
  2. pig2cat

    pig2cat Active Member

    Messages:
    299
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #2
    the easiest way would be to use a table
    
    <table border=0 cellspacing=0 cellpadding=0 width=700>
    <tr><td>
    banner
    </td>
    <td width=500>
    slideshow
    </td>
    <td>
    banner</td></tr>
    </table>
    
    PHP:
     
    pig2cat, Dec 27, 2010 IP
  3. BustPriceline

    BustPriceline Guest

    Messages:
    126
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks pig2cat. I will try that.
     
    BustPriceline, Dec 28, 2010 IP
  4. domainwink

    domainwink Peon

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you don't want to mess with tables, try this:

    <div id="content">
    	<div class="banner">Banner Left</div>
    	<div class="slideshow">Slideshow</div>
    	<div class="banner">Banner Right</div>
    	<div class="clr-b"></div>
    	<h2>Title Here</h2>
    	Content here.
    </div>
    Code (markup):
    You can put the styles into the CSS file:

    .banner { width: 190px; float: left; }
    .slideshow { width: 500px; float: left; }
    .clr-b { clear: both; }
    Code (markup):
     
    domainwink, Dec 28, 2010 IP
  5. BustPriceline

    BustPriceline Guest

    Messages:
    126
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thank you folks. You all are awesome.
     
    BustPriceline, Dec 29, 2010 IP
  6. rewater

    rewater Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    sry but how i can use this code? :)
     
    rewater, Dec 30, 2010 IP
  7. rewater

    rewater Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    ؟؟؟؟؟؟؟؟؟؟؟؟؟؟
     
    rewater, Jan 1, 2011 IP