Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
  #1  
Old 06-19-2009, 06:27 PM
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Error In Code Causing Border To Not Work Correctly

I have managed to fix all the links but i cant seem to find what is wrong with the border code, But can anyone tell me what is wrong with it?Or give me any suggestions on how to fix.

Here is the link to the website that i am having issues fixing
http://choasgaming.com/index.php?styleid=56

Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" style="border-collapse: collapse">
	<tr>
		<td valign="top" width="80" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/wrapper_l.png')">
		<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
			<tr>
				<td width="80" height="40" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/topleft1.png')"></td>
			</tr>
			<tr>
				<td width="80" height="30" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/topleft2.png')"></td>
			</tr>
			<tr>
				<td width="80" height="120" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/topleft3.png')"></td>
			</tr>
			<tr>
				<td width="80" height="30" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/topleft4.png')"></td>
			</tr>
			</table>
		</td>
		<td valign="top">
		<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
			<tr>
				<td>
				<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
					<tr>
						<td width="420" height="40" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/toplogo1.png')"></td>
						<td height="40" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/top1.png')">&nbsp;</td>
						<td width="220" height="40" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/toplogoright1.png')"></td>
					</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td>
				<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
					<tr>
						<td width="420" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/toplogo2.png')">
						<div class="whitefont">
<div id="clock">Loading...</div>
<script type="text/javascript">
function refrClock()
{
var d=new Date();
var s=d.getSeconds();
var m=d.getMinutes();
var h=d.getHours();
var day=d.getDay();
var date=d.getDate();
var month=d.getMonth();
var year=d.getFullYear();
var days=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var months=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
var am_pm;
if (s<10) {s="0" + s}
if (m<10) {m="0" + m}
if (h>12) {h-=12;am_pm = "pm"}
else {am_pm="am"}
if (h<10) {h="0" + h}
document.getElementById("clock").innerHTML=days[day] + " | " + months[month] + "    " + date  + ", " + year + " | " + h + ":" + m + ":" + s + " " + am_pm;
setTimeout("refrClock()",1000);
}
refrClock();
</script>
						</div>
						</td>
						<td style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/top2.png')">&nbsp;</td>
						<td width="220" height="30" align="right" valign="bottom" style="background-image:('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/toplogogright2.png')"><if condition="$show['guest']"><a href="http://www.choasgaming.com/forums/login.php?do=lostpw"><img src="http://choasgaming.com/forums/images/blackstream_lighting_blue/misc/lost_password_bg.png" alt="Lost your password?" width="25" height="20" border="0"></a>&nbsp;<a href="http://choasgaming.com/forums/login.php?do=lostpw"><img src="http://choasgaming.com/forums/images/blackstream_lighting_blue/misc/lost_username_bg.png" alt="Lost your Username?" width="25" height="20" border="0"></a>&nbsp;<a href="http://choasgaming.com/forums/register.php"><img src="http://choasgaming.com/forums/images/blackstream_lighting_blue/misc/registration_bg.png" alt="Make a new account!" width="31" height="20" border="0"></a></if>&nbsp;&nbsp;</td>
					</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td>
				<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
					<tr>
						<td width="10" height="120" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/logoleft.png')"></td>
						<td align="$stylevar[left]"  style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/headerbackground.png')"><a href="http://www.choasgaming.com/index.php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="http://choasgaming.com/index.php" /></a></td>
						<td align="$stylevar[right]" id="header_right_cell" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/headerbackground.png')"><if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else/>&nbsp;</if></td>
						<td width="10" height="120" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/logoright.png')"></td>
					</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td>
				<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
					<tr>
						<td align="center" width="10" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/menu_m.png')"><img width="10" height="30" src="$http://www.choasgaming.com/forums/images/menu_l.png" alt="" /></td>
						<!-- Home -->
						<if condition="THIS_SCRIPT=='adv_index'">
						<td class="homevisited" width="60"><a href="http://www.choasgaming.com/index.php">Home</a></td>
						<else />
						<td class="homelink" style="width:60px; cursor:hand;" onmouseover="this.className='homehover';" onmouseout="this.className='homelink';" onclick="window.location.href='$vboptions[homeurl]';"><a href="http://choasgaming.com/index.php">Home</a></td>
						</if>
						<!-- /Home -->
						<!-- Forum -->
						<if condition="THIS_SCRIPT=='adv_index' OR THIS_SCRIPT=='sendmessage' OR THIS_SCRIPT=='memberlist' OR THIS_SCRIPT=='calendar'">
						<td class="homelink" style="width:60px; cursor:hand;" onmouseover="this.className='homehover';" onmouseout="this.className='homelink';" onclick="window.location.href='$vboptions[forumhome].php$session[sessionurl_q]';"><a href="http://www.choasgaming.com/forums/forum.php$session[sessionurl_q]">Forum</a></td>
						<else />
						<td class="homevisited" width="60"><a href="http://www.choasgaming.com/forums/forum.php">Forum</a></td>
						</if>
						<!-- /Forum -->
						<!-- Member List -->
						<if condition="THIS_SCRIPT=='memberlist'">
						<td class="homevisited" width="100"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
						<else />
						<td class="homelink" style="width:100px; cursor:hand;" onmouseover="this.className='homehover';" onmouseout="this.className='homelink';" onclick="window.location.href='http://www.choasgaming.com/forums/memberlist.php';"><a href="http://www.choasgaming.com/forums/memberlist.php$session">$vbphrase[members_list]</a></td>
						</if>
						<!-- /Member List -->
						<!-- Calendar -->
						<if condition="THIS_SCRIPT=='calendar'">
						<td class="homevisited" width="70"><a href="http://www.choasgaming.com/forums/calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
						<else />
						<td class="homelink" style="width:70px; cursor:hand;" onmouseover="this.className='homehover';" onmouseout="this.className='homelink';" onclick="window.location.href='http://www.choasgaming.com/forums/calendar.php$session[sessionurl_q]';"><a href="http://www.choasgaming.com/forums/calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
						</if>
						<!-- /Calendar -->
						<!-- Contact Us -->
						<if condition="THIS_SCRIPT=='sendmessage'">
						<td class="homevisited" width="80"><a href="http://www.choasgaming.com/forums/sendmessage.php" rel="nofollow" accesskey="9">$vbphrase[contact_us]</a></td>
						<else />
						<td class="homelink" style="width:80px; cursor:hand;" onmouseover="this.className='homehover';" onmouseout="this.className='homelink';" onclick="window.location.href='$vboptions[contactuslink]';"><a href="http://choasgaming.com/forums/sendmessage.php" rel="nofollow" accesskey="9">$vbphrase[contact_us]</a></td>
						</if>
						<!-- /Contact Us -->
						<td width="50" align="left" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/menu_b.png')"><img width="50" height="30" src="http://www.choasgaming.com/forums/images/menu_r.png" alt="" /></td>
						<td align="left" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/menu_b.png')">&nbsp;</td>
						<td align="center" width="8" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/menu_b.png')"><img width="8" height="30" src="http://www.choasgaming.com/forums/images/clear.gif" alt="" /></td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		</td>
		<td valign="top" width="80" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/wrapper_r.png')">
		<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
			<tr>
				<td width="80" height="40" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/topright1.png')"></td>
			</tr>
			<tr>
				<td width="80" height="30" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/topright2.png')"></td>
			</tr>
			<tr>
				<td width="80" height="120" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/topright3.png')"></td>
			</tr>
			<tr>
				<td width="80" height="30" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/topright4.png')"></td>
			</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td valign="top" width="80" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/wrapper_l.png')">
		<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
			<tr>
				<td width="80" height="140" style="background-image:url('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/topleft5.png')"></td>
			</tr>
			<tr>
				<td width="80" height="140" style="background-image:('http://www.choasgaming.com/forums/images/blackstream_lighting_blue/misc/images/topleft6.png')"></td>
			</tr>
		</table>
		</td>
		<td valign="top" bgcolor="#141414">
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
Reply With Quote
  #2  
Old 06-19-2009, 07:47 PM
IdanB's Avatar
IdanB IdanB is offline
 
Join Date: May 2009
Location: Israel
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

at first glance at code, i dont see anything wrong with it, but it needs carefull check of everything there to say for sure.

If i were to debug it, I would start by adding "border="1" and some bright border color to every table in the above code.
That way i would see the layout of tables on page - that would allow me to understand which TD is missing a background image or where's the problem exactly.
Reply With Quote
  #3  
Old 06-19-2009, 09:16 PM
Hell Bomb Hell Bomb is offline
 
Join Date: Jun 2009
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

interesting idea, ill try that now.
Reply With Quote
Reply

Thread Tools
Display Modes

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 01:34 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.05602 seconds
  • Memory Usage 2,211KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (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_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
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete