0

hello..
newbie want to ask.. :)
how to make floating ads with flash or image content in the top and also in the bottom of the website screen? when website page is scrolled, the ads will not move from their place, not even a bit..
you know i'ts hard to explain, for the real example go to this website..
could it be done only with CSS or also need javascript?
because i've tried with only CSS but the flash content wont be centered..
sorry for my bad english and thanks for the help..

4
Contributors
5
Replies
16
Views
7 Years
Discussion Span
Last Post by shiqar
0

Hi,

This is rather simple to do...

#adTop {
left:0;
position:fixed;
text-align:center;
top:0;
width:100%;
}

Then just add the following inbetween your body tags

<div id="adTop"><img src="images/myad.jpg" alt="Ad here"/></div>
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.