Results 1 to 5 of 5

Thread: Help to show banners

  1. #1
    thesyndicate is offline Newbie Net Builder
    Join Date
    Jul 2009
    Location
    NET<>DP
    Posts
    138
    Thanks
    14
    Thanked 5 Times in 4 Posts

    Help to show banners

    I need to display this in a max banner box but the banner not show

    <div class="banner" style="position:relative;float:left"><a href="http://www.mydomain.com/random-ads-300x250.php" target="_blank"> fgd</a></div>
    <div class="banner" style="position:relative;float:right;"><a href="http://www.mydomain.com/random-fun-ads-300x250.php" target="_blank">ghfgh</a></div>

    i have the banners rotating on these urls. But i can not display them

  2. #2
    iowadawg's Avatar
    iowadawg is offline Free Cell Champion
    Join Date
    May 2010
    Location
    Not in Texas
    Posts
    2,142
    Blog Entries
    4
    Thanks
    170
    Thanked 365 Times in 314 Posts
    Myself, when I have banners rotating, I dump all the DIV.
    Try that and see.

  3. #3
    thesyndicate is offline Newbie Net Builder
    Join Date
    Jul 2009
    Location
    NET<>DP
    Posts
    138
    Thanks
    14
    Thanked 5 Times in 4 Posts

  4. #4
    MarPlo is offline Unknown Net Builder
    Join Date
    May 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,
    Try to include those banners into a relative Div, or try position:absolute;
    Code:
    <div style="position:relative;">
    <div class="banner" style="position:relative;float:left"><a href="http://www.mydomain.com/random-ads-300x250.php" target="_blank"> fgd</a></div>
    <div class="banner" style="position:relative;float:right;"><a href="http://www.mydomain.com/random-fun-ads-300x250.php" target="_blank">ghfgh</a></div>
    </div>
    Web Development Free courses and tutorials.
    Courses: HTML lessons, PHP - MySQL and Flash - ActionScript 3

  5. #5
    Hellas's Avatar
    Hellas is offline Very Unusual Member
    Join Date
    Dec 2008
    Location
    Bosnia
    Posts
    1,051
    Thanks
    214
    Thanked 292 Times in 205 Posts
    <a is for showing links etc this case of your will link to given url

    if image is in your .php then show it with <img tag

    etc
    <img src="myimpage.php" alt="Image created by a PHP script" width="300" height="250">

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •