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..
sneixum
0
Newbie Poster
Recommended Answers
Jump to PostHi,
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>
Jump to PostHi macneato!
Thats right!!..
but
position:fixed;
is not work in IE6...
All 5 Replies
macneato
29
Posting Pro in Training
selvaganapathy
31
Posting Pro
macneato
29
Posting Pro in Training
selvaganapathy
31
Posting Pro
shiqar
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.