https://www.icyphoenix.com/viewtopic.php?f=36&t=6090&p=41285#p41285
-----------------------------------
elpulgas
Wed 15 Jul, 2009 05:31

Re: Ads Block Position Left/right
-----------------------------------
I think you can use this:

HTML:

[code linenumbers=false]<div class="ad">left ad</div>
<div class="ad2">right ad</div>[/code]

CSS:

[code linenumbers=false].ad{
position:absolute;/*or fixed*/
width:100%;
text-align:left;
}
.ad2{
position:absolute;/*or fixed*/
width:100%;
text-align:right;
}[/code]


That will put them in the top left/right corners. To align them you'll have to either ad a container before them (don't know if the absolute positioning will keep the margins of it), change the widths or use left(right):percentage or pxs; to get them where you eant them. Hope it helps


