The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How Do I Center my Ad?
I've created an Ad Module towards the top of the main page at: www.hobbysquawk.com that I can't seem to get it to center justify. It defaults to left align...I'm hoping this is an easy fix I am overlooking...
Here's the HTML code in the ad module: Code:
<center><a href="http://www.motionrc.com/flightlinerc-hawker-sea-fury-1200mm-47-wingspan-pnp/" TARGET="_blank"><img src="http://www.hobbysquawk.com/images/RCG_FlightLineSeaFury2.jpg" target="_blank"></a></img></center> |
#2
|
|||
|
|||
Here's what I am looking for the end result to be...Note the margin at the top as well...I would like some space between the light grey top border and the ad itself, while being center aligned.
|
#5
|
||||
|
||||
Quote:
HTML Code:
#widget_158 { width: 100% !important; margin-top: 1em; } |
#6
|
|||
|
|||
God bless all you CSS gurus! Thanks man, that's just what I needed!
Now since I am striking gold, I thought I would press my luck and see if you know how to make the banners rotational. Right now if I add more than one banner to the ad module, they stack one on top of the other. NOT the desired effect, lol. Is there code that allows me to put multiple banners in the ad module, rank them and have those simply rotate on page refresh? |
#7
|
||||
|
||||
Quote:
|
#8
|
|||
|
|||
Awesome, thanks again!
|
#10
|
||||
|
||||
I though your forum was vB4
Code:
#widget_158 { width: 100% !important; margin-top: 1em; } But seem The OP's question is answered. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|