The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
won't align..
Why won't my body align to the center? It was, until I added that page border.
Here's my header template: Code:
<br /><br /><br /><br /><br /> <!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> </tr> </table> <!-- /logo --> <div class="page_surroundb" align="center"> <!-- content table --> $spacer_open $_phpinclude_output Code:
.page_surroundb { align: center; width: 900px; border-left:1px solid #000000; border-right:1px solid #000000; border-bottom:0px; border-top:0px; } Live preview: http://trasion.com/ |
#2
|
||||
|
||||
Get rid of these:
<br /><br /><br /><br /><br /> |
#3
|
|||
|
|||
I need those, to push it down the page.
|
#4
|
||||
|
||||
Ah, yes, sorry. Change the table alignment from center to left.
|
#5
|
|||
|
|||
I want the content to be centered, like the header, Lynne...
|
#6
|
||||
|
||||
Oh, sorry, I thought you wanted it the other way.... anyway, just add this to your css for that div:
HTML Code:
margin-left: auto; margin-right: auto; |
#7
|
|||
|
|||
Wow Lynne, you know everything. Thanks so much!
|
#8
|
||||
|
||||
No, I am just very good with google.
|
#9
|
|||
|
|||
Cheater. Haha.
Thanks a lot though Lynne. You always help me with everything. Everytime I make a help thread, I wait for the "Last Post" to read "by Lynne", then I know it's been answered! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|