Border

Callum93

Madly Diligent
Joined
Mar 16, 2008
Messages
9,782
Reaction score
0
FP$
6
Right, so... this is the code to add a border to a table on my site.

Code:
<tr>
<td width="18" style="background:url('{T_THEME_PATH}/images/mr.png');"></td>
  </tr>
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/bl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/bm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/br.png" width="18" height="18" alt="" /></td>
  </tr>

I want to add it to
Code:
	<!-- IF WHO_WAS_HERE_LIST2 -->
		<br clear="all" />

		<table class="tablebg" width="100%" cellspacing="1">
		<tr>
			<td class="cat" colspan="2"><h4>{L_WHO_WAS_HERE}</h4></td>
		</tr>
		<tr>
			<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
			<td class="row1" width="100%"><span class="genmed">{WHO_WAS_HERE_LIST2} ({WHO_WAS_HERE_EXP})<br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}</span></td>
		</tr>
		</table>
	<!-- ELSEIF U_ACP -->
		<br clear="all" />

		<table class="tablebg" width="100%" cellspacing="1">
		<tr>
			<td class="cat" colspan="2"><h4>{L_WHO_WAS_HERE}</h4></td>
		</tr>
		<tr>
			<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
			<td class="row1" width="100%"><span class="genmed">{L_WWH_UPDATE_NEED}</span></td>
		</tr>
		</table>
	<!-- ENDIF -->

Where do I put it, will give +rep for the solution. 🙂
 
BACK THIS UP FIRST!!!

try putting yoru who was here codes and what not the first half:
Code:
<tr>
<td width="18" style="background:url('{T_THEME_PATH}/images/mr.png');"></td>
  </tr>
  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/bl.png" width="18" height="18" alt="" /></td>

Then end it with:
Code:
<td height="18" style="background:url('{T_THEME_PATH}/images/bm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/br.png" width="18" height="18" alt="" /></td>
  </tr>
 
Try:
Code:
<tr>
<td width="18" style="background:url('{T_THEME_PATH}/images/mr.png');"></td>
  </tr>
       <!-- IF WHO_WAS_HERE_LIST2 -->
          <br clear="all" />

          <table class="tablebg" width="100%" cellspacing="1">
          <tr>
             <td class="cat" colspan="2"><h4>{L_WHO_WAS_HERE}</h4></td>
          </tr>
          <tr>
             <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
             <td class="row1" width="100%"><span class="genmed">{WHO_WAS_HERE_LIST2} ({WHO_WAS_HERE_EXP})<br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}</span></td>
          </tr>
          </table>
       <!-- ELSEIF U_ACP -->
          <br clear="all" />

          <table class="tablebg" width="100%" cellspacing="1">
          <tr>
             <td class="cat" colspan="2"><h4>{L_WHO_WAS_HERE}</h4></td>
          </tr>
          <tr>
             <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
             <td class="row1" width="100%"><span class="genmed">{L_WWH_UPDATE_NEED}</span></td>
          </tr>
          </table>
       <!-- ENDIF -->

  <tr>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/bl.png" width="18" height="18" alt="" /></td>
    <td height="18" style="background:url('{T_THEME_PATH}/images/bm.png');"></td>
    <td width="18" height="18"><img src="{T_THEME_PATH}/images/br.png" width="18" height="18" alt="" /></td>
  </tr>
 
It didn't work.... at the moment the alignment is a little out, that's the only real problem.
 
Back
Top Bottom