![]() |
How to center ads?
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.
|
HTML Code:
<div align="center">YOUR AD CODE HERE</div> |
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.
|
Quote:
|
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; |
All times are GMT. The time now is 02:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|