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.

A banner following the scrolling

Discussion in 'CSS' started by jinch, Sep 29, 2012.

  1. #1
    Hello,

    I have my banner located below my sidebar, I would like for my banner to follow the scrolling of the page once the visitor scroll to the level of the banner.

    Here's the code of my div:

    <div style="position: fixed; width:160px; height: 600px;"><img src=myban.jpg"></div>

    I would like that when a visitor go below the level of the sidebar the banner follow the scrolling of the page.

    I welcome any suggestions ! :)
    Tanks a lot for your help.
     
    jinch, Sep 29, 2012 IP
  2. ntmedia

    ntmedia Active Member

    Messages:
    118
    Likes Received:
    11
    Best Answers:
    7
    Trophy Points:
    90
    #2
    ntmedia, Oct 7, 2012 IP
  3. jinch

    jinch Greenhorn

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    jinch, Oct 7, 2012 IP