The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Center!
how do i center a banner in the
Quote:
|
#2
|
||||
|
||||
<a href="http://www.htmlcodetutorial.com/linepar/_CENTER.html" target="_blank">http://www.htmlcodetutorial.com/linepar/_CENTER.html</a>
|
#3
|
|||
|
|||
in the header template
look at this line: <td align="$stylevar[left]"> change it to what ever you want.. right center etc... |
#4
|
||||
|
||||
Actually, use if anything:
Code:
<td style="text-align:center"> or <div style="text-align:center"> |
#5
|
|||
|
|||
I'll do it for you if you want. Which page do you actually want it to be centered on?
|
#6
|
|||
|
|||
ok well i need help on a variation.
i have a 468 x 60 google image ad. i also have another 250 x 60 ad. i was able to get the second ad to the right of the page with: <DIV ALIGN=RIGHT> </DIV> the only problem is that the google ad is still a space above the second ad. i would like them both to be aligned left and aligned right, respectively and even with each other. any suggestions. |
#7
|
|||
|
|||
Careful. vBulletin is XHTML 1.0 Transitional. That means your tags have to be xhtml, not html. Specifically, this means they should be lowercase: <div></div>.
Also, while Transitional allows "align=center" as an attibute, XHTML Strict does not. So it would be good practice to start using CSS for all styling. Code:
<div style="text-align:center;"></div> Code:
<div style="float:left;">My left content</div> <div style="float:right;">My right content</div> |
#8
|
|||
|
|||
wow! thanks.
yea sorry about not starting a new thread and thanks for the heads up. sometimes i feel like i dont wanna clutter up the forum but i understand now. it worked great, the only thing id like to know is if i can get the two ads to somehow equal the with of the pages. with both ads side by side it sticks out slightly past the page edge. www.fitnessandbeyond.net and excuse the mess its under construction with a test image. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|