Log in

View Full Version : Wtf Is Wrong With This?


PTWingus
07-11-2006, 02:59 AM
Can someone tell me whats wrong with this code:

<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="82%">
<tr>
<td width="25%" background="ekko_kt8c/topoutlinebg.gif">
<img border="0" src="ekko_kt8c/topleftedge.gif" width="11" height="25" align="left"></td>
<td width="50%" background="ekko_kt8c/topoutlinebg.gif">
<p align="center"><b><font face="tahoma,verdana, arial, helvetica" size="2" color="#000000"></font></b></td>
<td width="25%" background="ekko_kt8c/topoutlinebg.gif">
<p align="right">
<img border="0" src="ekko_kt8c/toprightedge.gif" width="11" height="25"></td>
</tr>
</table>
</center>


On Firefox it's coming out looking like this:
https://vborg.vbsupport.ru/external/2006/07/18.gif




But on IE is looks fine:
https://vborg.vbsupport.ru/external/2006/07/19.gif


FireFox always messes my skins up. Is there something wrong with the code?

peterska2
07-11-2006, 03:47 AM
1. Don't use center tags, they are out dates plus you have already specified to center in you div align.

2. Where is the end of your div?

3. You have two unclosed paragraph tags.

Close of all your tags, get rid of those center tags, and you will more than likely find that in fact it is IE that is displaying it incorrectly.

Code Monkey
07-11-2006, 04:08 AM
Font tags are half way out the door as well.

Behemoth
07-11-2006, 04:31 AM
As are <b> tags.

Paul M
07-11-2006, 12:17 PM
Will there be any tags left ....................

Behemoth
07-12-2006, 02:16 AM
<span>, <div>, <p>, etc are all used...

As for replacing <b> tags, there's either <strong> (soon to be deprecated) or <span style="font-weight:bold;">