PDA

View Full Version : How Do i make a ad banner flote in the top right corner?


Equinox6
10-31-2006, 05:32 PM
Hi ive seen this on alot of vB forums where thay have there rotating banner in the top right hand corner i was just wouldering how you do it?

Thanks,

Equinox

Kirk Y
11-01-2006, 02:45 AM
Go into the Styles and Templates Manager -> Pick your Template -> Main CSS

Stick this in the Additional CSS Definitions box:
.imagefloat {
position:absolute;
top:0;
right:0;
}
Then stick this in your 'header' template:
<img src="path/to/yourimage.jpg" class="imagefloat" />

See this thread (https://vborg.vbsupport.ru/showthread.php?t=124834) for information on creating a rotating image.

Equinox6
11-01-2006, 03:30 PM
Thanks m8, im allready useing that rotating banner, just installed a skin that could have the ad image there and just woulded how to do it :D

Thanks agane :)

Kirk Y
11-01-2006, 06:25 PM
No problem.