PDA

View Full Version : weird problem with a css border


Fking
09-24-2004, 11:31 PM
i have a weird problem with a css border




here is the header template

<center>
<table width="750" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> <table width="750" class="forumhome_bdr" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>








<table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="390" height="62"><img src="surge_kt8c/header/left_bg.gif" width="100%" height="100%"></td>
<td width="380" height="100" rowspan="2"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.

macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="380" height="100"

id="movie1">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="movie1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#cccccc" />
<embed src="movie1.swf" quality="high" bgcolor="#cccccc" width="380" height="100" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http

://www.macromedia.com/go/getflashplayer" />
</embed>
</object></td>
</tr>
<tr>
<td height="38" width="390" ><img src="surge_kt8c/header/bot_bg.gif" width="390"

height="100%"></td>
</tr>
</table>


















<!-- end surge header--><!-- begin main inner table area-->
<TABLE cellSpacing=0 cellPadding=10 width="750" bgColor=#ECF0F2 border=0><TBODY>
<TR>
<TD>


<TABLE cellSpacing=0 cellPadding=0 width="750"
border=0>
<TBODY>
<TR>
<TD vAlign=bottom width=18><IMG width=18 height=18
src="surge_kt8c/ls_main_table_top.gif"></TD>

<TD bgcolor="#FFFFFF">&nbsp;</TD>

<TD vAlign=bottom width=18><IMG width=18 height=18 src="surge_kt8c/rs_main_table_top.gif"></

TD></TR></TBODY></TABLE>


<!-- content table -->
<!--
NEW HEADER &amp; NAVBAR

Now that the nav buttons are in the
navbar template, you can stick whatever
you like into this space.

This makes it much easier for novice
admins to customize their header
template without affecting important
navigation elements.
-->

<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output


and here the footer template

<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

$vboptions[copyrighttext]
</div>
</div>




<!-- /content area table -->


<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="page">
<select name="styleid" id="ressel" onchange="switch_styleid(this)">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<td class="page" align="$stylevar[right]">
<div class="smallfont">
<strong>
<a href="$vboptions[contactuslink]">$vbphrase[contact_us]</a> -
<a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -
<if condition="$show['admincplink']"><a href="$admincpdir/index.php?$session[sessionurl]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php?$session[sessionurl]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<!-- - <a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> - -->
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>
</div>
</td>
</tr>
</table>

<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>


<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>

<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->
</if>

<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
<TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#ededed
border=0>
<TBODY>
<TR>
<TD bgcolor="#ECF0F2" width=18><IMG height=18 alt=""
src="surge_kt8c/ls_main_table_btm.gif"
width=18></TD>
<TD width="100%" bgcolor="#FFFFFF">&nbsp;</TD>
<TD align=left width=18><IMG height=18 alt=""
src="surge_kt8c/rs_main_table_btm.gif"
width=18></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>



well im adding something below "></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>"

but it appears within the border...see the attached picture

i want it to be under the border......
how?

Brad
09-26-2004, 02:15 PM
Chit-chat is not a support area, moving this thread to the correct forum.