Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-07-2002, 05:12 PM
Mark
Guest
 
Posts: n/a
Default The forum Border - Why the hell won't it center?

Look.

-My header Code-
Quote:
<!-- logo and buttons -->
<table bgcolor="{pagebgcolor}" class="bordert" border="0" width="{tablewidth}" cellpadding="0" cellspacing="0" align="center">
<tr><td>
<table border="0" width="{tablewidth}" cellpadding="0" cellspacing="0" align="center">
<tr>
<td valign="top" align="center" background="#444444"><a href="index.php?s=$session[sessionhash]"><img src="{titleimage}" border="0" alt="$bbtitle"></a></td>
</tr>
</table><br>
<center>
<!-- toplinks -->
<a href="usercp.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a>
<a href="register.php?s=$session[sessionhash]&action=signup"><img src="{imagesfolder}/top_register.gif" alt="Registration is free! Now how can you pass up an offer like that?" border="0"></a>
<a href="calendar.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_calendar.gif" alt="Calendar" border="0"></a>
<a href="memberlist.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_members.gif" alt="Find other members" border="0"></a>
<a href="misc.php?s=$session[sessionhash]&action=faq"><img src="{imagesfolder}/top_faq.gif" alt="Frequently Asked Questions" border="0"></a>
<a href="search.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_search.gif" alt="Search" border="0"></a>
<a href="index.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_home.gif" alt="Home" border="0"></a>
<!-- <a href="member.php?s=$session[sessionhash]&action=logout"><img src="{imagesfolder}/top_logout.gif" alt="Logout" border="0"></a> -->
&nbsp;
<!-- /toplinks --></center>

<!-- /logo and buttons -->

<!-- content table -->
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="10" cellspacing="0" border="0">
<tr>
<td>


-My header include-
<meta http-equiv="MSThemeCompatible" content="Yes">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<style type="text/css">
BODY {
SCROLLBAR-BASE-COLOR: {categorybackcolor};
SCROLLBAR-ARROW-COLOR: {categoryfontcolor};
}
SELECT {
FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
FONT-SIZE: 11px;
COLOR: #000000;
BACKGROUND-COLOR: #CFCFCF
}
TEXTAREA, .bginput {
FONT-SIZE: 11px;
FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
COLOR: #000000;
BACKGROUND-COLOR: #CFCFCF
}
A:link, A:visited, A:active {
COLOR: {linkcolor};
}
A:hover {
COLOR: {hovercolor};
}
#cat A:link, #cat A:visited, #cat A:active {
COLOR: {categoryfontcolor};
TEXT-DECORATION: none;
}
#cat A:hover {
COLOR: {categoryfontcolor};
TEXT-DECORATION: underline;
}
#ltlink A:link, #ltlink A:visited, #ltlink A:active {
COLOR: {linkcolor};
TEXT-DECORATION: none;
}
#ltlink A:hover {
COLOR: {hovercolor};
TEXT-DECORATION: underline;
.thtcolor {
COLOR: {tableheadtextcolor};
}
.bordert {
BORDER: 1px solid #ffaa00;
}
.mytable { border: 1px #616889 solid; background-color: #EBECF1; font-family:
Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000;
text-decoration: none;}

.pagenumstatic {
color: #000000;
background-color: {secondaltcolor};
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 0px;
padding-left: 4px;
padding-right: 4px;
padding-top: 1px;
padding-bottom: 1px;
width: 1em;
text-decoration: none;
}
.pagenum A:link, .pagenum A:visited, .pagenum A:active {
color: #000000;
background-color: {categorybackcolor};
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 0px;
padding-left: 4px;
padding-right: 4px;
padding-top: 1px;
padding-bottom: 1px;
width: 1em;
text-decoration: none;
}
.pagenum A:hover {
color: #000000;
background-color: {secondaltcolor};
text-decoration: none;
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 0px;
padding-left: 4px;
padding-right: 4px;
padding-top: 1px;
padding-bottom: 1px;
width: 1em;
text-decoration: none;
}
.cat A:link, .cat A:visited, .cat A:active {
color: {linkcolor};
text-decoration: none;
}
.cat A:hover {
color: {hovercolor};
text-decoration: underline;
}

</style>

$headnewpm

-My forumhome-
{htmldoctype}
<html>
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
<meta name="keywords" content="vbulletin,forum,bbs,discussion,jelsoft">
<meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to http://www.vbulletin.com/ .">
<title>$bbtitle - The Accelerating Forums</title>
$headinclude
</head>
<body>
$header

<!-- text -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="top">
<td><a href="javascript:window.location=window.location"> <img src="{imagesfolder}/vb_bullet.gif" border="0" align="middle" alt="$bbtitle : Powered by vBulletin version $templateversion"></a>
<normalfont><b>$bbtitle</b></normalfont></td>
</tr>
</table>

<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="bottom">
<td><smallfont>
Members: $numbermembers, Threads: $totalthreads, Posts: $totalposts<br>
Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername </a>
</smallfont></td>
</tr>
</table>
<!-- /text -->
<!-- welcomepanel -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="6"><normalfont color="{categoryfontcolor}"><b><a href="../index.php">Blazing Music World</a></b></normalfont></td>
</tr>
<tr>
<td bgcolor="{secondaltcolor}" align="center" valign="top" width="100">$avatarimage</td>
<td bgcolor="{firstaltcolor}">
<smallfont>
$unregwelcomemessage
$welcometext<br>
The time now is $timenow.<br>
You last visited: $bbuserinfo[lastvisitdate].<br>
<b>$newposts</b>
</smallfont>
</td>
<td bgcolor="{secondaltcolor}" align="center" valign="middle" width="300">
<smallfont><b>$bbuserinfo[username]</b> | <b>$bbuserinfo[posts]</b> | <select name="styleid" onchange="window.location=('index.php?s=$session[sessionhash]&styleid='+this.options[this.selectedIndex].value)">
$dropdownbits
</select> <br>
$logincode
$pminfo
$loggedinusers
$birthdaybits

</td>
</tr>

</table>

</td></tr></table>
<!-- /welcomepanel -->
<br>
<center>
<!-- BMW News scroller## -->
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
<table width="95%" cellspacing="0" cellpadding="0" border="0" bordercolor="#ffffff">
<tr>
<td bgcolor="{categorybackcolor}" colspan="2">

<b>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="{categoryfontcolor}">
<marquee BEHAVIOR="scroll" SCROLLAMOUNT="4" SCROLLDELAY="1" LOOP="infinite" >Hello Blazing Music World members! I have created a list of our tags <a href="http://www.andy.g-hosting.net/forums/showthread.php?threadid=319">here</a>, and there is an important announcement <a href="http://www.andy.g-hosting.net/forums/showthread.php?threadid=317">here</a>, Keep it where it is! ~ Chris</b> </i></font>
</td>
</tr>

</table>
<!-- ##End news scroller## -->
</center>
<br>
<!-- main -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr align="center">
<td bgcolor="{tableheadbgcolor}"><smallfont>&nbsp;</smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="80%" align="left"><smallfont color="{tableheadtextcolor}"><b>Forum</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Posts</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Threads</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" nowrap><smallfont color="{tableheadtextcolor}"><b>Last Post</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="20%"><smallfont color="{tableheadtextcolor}"><b>Moderator</b></smallfont></td>
</tr>
$forumbits
</table>
</td></tr></table>
<!-- /main -->

<br>
<!-- icons -->
<table width="67%" bordercolor="{tablebordercolor}" cellpadding="2" bgcolor="{firstaltcolor}" cellspacing="0" style="border-collapse: collapse" border="1" align="center">
<tr>
<td align="center">
<img src="{imagesfolder}/on.gif" border="0" alt="On" align="absmiddle">
<b><smallfont>New posts</smallfont></b>
&nbsp;&nbsp;
<img src="{imagesfolder}/off.gif" border="0" alt="Off" align="absmiddle">
<b><smallfont>No new posts</smallfont></b>
&nbsp;&nbsp;
<img src="{imagesfolder}/lock.gif" border="0" alt="Closed Forum" align="absmiddle">
<b><smallfont>A closed forum</smallfont></b>
</td>
</tr>
</table>
<!-- /icons -->


$footer
</body>
</html>
I can't figure out why its aligned to the left.. The boder is centered, but the forums arent. Screenshot elow.. I need all the help on this.. it's pissing me off alot..
Attached Images
File Type: gif screenie.gif (40.2 KB, 0 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03386 seconds
  • Memory Usage 2,270KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete