The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to center advertising?
How do I center the ads in vBulletin 4.0 under the navbar?
They are all left? |
#2
|
||||
|
||||
Just write some CSS to do it. If you give us a link, then we can try to write some for you. Or just use firebug to do it yourself.
|
#3
|
|||
|
|||
try this: <center>your html code</center>
works for me |
#4
|
||||
|
||||
The center tag is deprecated. You should be using CSS.
|
#5
|
|||
|
|||
HI!
Sorry for to BUMP this old topic, but i was trying this, directly in the Advertising-Manager: <style> IMG.displayed { display: block; margin-left: auto; margin-right: auto } <IMG class="displayed" src="http://localhost/vbu/Advertising_2.gif" width=728 height=90><br></style> (I want to show an Picture for Testing purpose in XAMPP first) But it is not working - anybody an idea? |
#6
|
||||
|
||||
You need to put it in a <div> that fills the space 100% (or a div that is centered) and then apply centering to that div.
Why did you reply here and start your own thread? It makes it very hard to help when users do that. |
#7
|
|||
|
|||
Quote:
<div align="center"><CODE></div> It is not working... Quote:
@All Followers: Please look at this thread here: https://vborg.vbsupport.ru/showthread.php?t=287626 |
#8
|
|||
|
|||
If <center> or <div> isnt working to center the ad, then your custom skin/style is the issue.
|
#9
|
|||
|
|||
I know this thread is old..
<center> html code </center> works fine for 4.2.0 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|