The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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')"> </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')"> </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> <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> <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> </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/> </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')"> </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] |
#2
|
||||
|
||||
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. |
#3
|
|||
|
|||
interesting idea, ill try that now.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|