Jump to content

Dissapearing Borders?


StormTheGates

Recommended Posts

This isnt necessarily a PHP question, but it only seems to effect my PHP pages so I was wondering if anyone has encountered anything like this before. I have several things pulled from a DB and put on a table. However, sometimes the borders on the table go crazy. Heres an image of said problem:

 

dissapearus7.jpg

 

The weird thing is is that its not predictable, it just happens sometimes. When you refresh sometimes it is fine, and sometimes its fucked up again. I was wondering if anyone has encountered anything like this? I can paste my CSS code and HTML code if people are interested in helping me and need more specifics. 

Link to comment
https://forums.phpfreaks.com/topic/74676-dissapearing-borders/
Share on other sites

HTML:

 

<table width=400 cellspacing=1 cellpadding=1 border=0 bordercolor=black class=black3 align=center>
<tr align=center>
	<td class=header colspan=3><b>User profile:</b></td></tr>
<tr class=text>
	<td width=100>Name:</td>
	<td><a href=sliced.php?page=smartysite/messaging/send&person=$user>$user</a></td>
	<td width=301 rowspan=$rowspan><img src=$img name=profile_image width=300 height=300>    
</tr>
<tr class=text>
	<td>Status:</td>
	<td><span>$status</span></td>
</tr>
<tr class=text>
  <td>Culture:</td>
  <td>$culture</td>
  </tr>
<tr class=text><td>Rank:</td>
<td >$rank2</td>
</tr>
<tr class=text><td>Rank Position:</td>
<td >$rank</td>
</tr>
<tr class=text><td>Gender:</td>
<td >$gender</td>
</tr>
<tr class=text>
<td>Wealth:</td>
<td >$wealth</td>
</tr>";
if($parent != 'none'){ echo "<tr class=text><td>Parent:</td><td><a href=sliced.php?page=view&user=$pid>$parent</a></td></tr>"; }
echo "
<tr class=text>
  <td>Family: </td>	
<td>"; if($family != 'none'){ echo "<a href=sliced.php?page=viewfam&fam=$famid>$family</a>"; } else { echo"$family"; } echo"</td>
</tr>
<tr class=text>
	<td>Start date:</td>
	<td>$start</td>
</tr>";
if($timenow < $safetime){ echo "	<tr class=text>
	<td>Safety:</td>
	<td><font color=blue>Safety</font></td>
</tr>";
} echo "
<tr class=text>
	<td>Messages:</td>
	<td>$ttm</td>
	<td><img src=$fampic width=300 height=50></td>
</tr>	
<tr class=text><td height=10>Quote:</td>
<td colspan=2 rowspan=2>"; echo nl2br(str_replace('\\', "", "$row_Recordset1[text]")); echo "</td>
</tr>
<tr class=text>
  <td> </td>
  </tr>
</table>
<object classid=clsid: D27CDB6E-AE6D-11cf-96B8-444553540000 width=0 height=0>
<param name=movie value=$music>
<param name=play value=true>
<param name=loop value=true>
<param name=quality value=high>
<embed src=$music width=0 height=0 play=true loop=true quality=high>
</embed>
</object>

 

CSS for the black3:

 

table.black3 {    
margin-top : 15px;
margin-bottom : 15px;
font-size: 11px;  
font-family: verdana;
color: black;
border-collapse:collapse;
width: 500px;
}

Link to comment
https://forums.phpfreaks.com/topic/74676-dissapearing-borders/#findComment-377522
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.