View Full Version : floating skyscraper
Ajay
March 17th, 2007, 03:14 PM
Hey now,
any css pros know how i can float a skyscraper ad in a div to the right of my content? It's driving me nuts... :/
right now i have a setup like this
<container>
header
content | menu
footer
</container>
Something like that.
rize
March 17th, 2007, 03:17 PM
just position it like on ur css
#skyscrapper
{
margin-left:54px;
margin-top:354px;
float: left;
}
then on ur html
add like <div id="skyscrapper">code here</div>
Ajay
March 17th, 2007, 03:19 PM
i think i tried that, but I'll try that again when i get home.
rize
March 17th, 2007, 03:20 PM
okay :) goodluck :)
deep
March 17th, 2007, 05:16 PM
u mean like this, i have it on the right side though:
http://www.buffmyspace.com/
omen
March 17th, 2007, 05:28 PM
<div id="skyscraperside">
<!-- skycraper code -->
</div>
div#skyscrapercode {
position:absolute;
top:30px;
right:-30px;
}
then in your header div put this
position:relative;
and put that div skyscraper into the header div
vBulletin® v3.7.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.