The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I would like to center my certain ads in my forum. How do I go about doing that? Whats the code for centering it and where do I go to put that in the templates. I know it's image=center, but what code do I use for the templates? I hope this makes sense, lol.
|
|
#2
|
||||
|
||||
|
HTML Code:
<div align="center">YOUR AD CODE HERE</div> |
|
#3
|
||||
|
||||
|
I got that. Don't you have to go into the templates somewhere to make it work? Like I did that for Global header 1 or 2, but what's the forum one? Thank you.
|
|
#4
|
||||
|
||||
|
Which one? There are several
|
|
#5
|
||||
|
||||
|
Code:
<div align="center">AD CODE</div> The new way to align elements is through CSS. depending on the nesting of your DOM elements (DIV etc) you will use the following CSS attributes with your elements. Code:
text-align: center; Code:
margin: 0 auto; |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|