View Full Version : why do my tables appear like this?


Miss_Thang
11-21-2004, 05:45 PM
Here's my code:

<table border=1pt solid #000000; width=75%; cellspacing="0" cellpadding="5"><tr>
</tr>
<td bgcolor="#879892" border=1 bordercolor="#000000" width=100% colspan=20><font family="Book Antiqua" size="4" color="#000000"><div align="center"><b>Grand Opening!</b>&nbsp;posted on Nov.20, 04 by webmis.</div></td></font>
</tr>
<td bgcolor="#eae6e5" border=1 bordercolor="#000000"><div align="center"><font family="Book Antiqua" size="3" color="#000000">Welcome to the grand opening of Ericbal4.net!</div></td></font>
</tr>
<tr>
</table>

Now for some reason it comes out with like a white border around it spaced out...my black border is there, but there's another border around it spaced out...I hope no one's confused...I hope some1 can help! This is really bugging my...lol!

DavidConner
11-21-2004, 06:12 PM
Here's my code:

<table border=1pt solid #000000; width=75%; cellspacing="0" cellpadding="5"><tr>
</tr>
<td bgcolor="#879892" border=1 bordercolor="#000000" width=100% colspan=20><font family="Book Antiqua" size="4" color="#000000"><div align="center"><b>Grand Opening!</b>&nbsp;posted on Nov.20, 04 by webmis.</div></td></font>
</tr>
<td bgcolor="#eae6e5" border=1 bordercolor="#000000"><div align="center"><font family="Book Antiqua" size="3" color="#000000">Welcome to the grand opening of Ericbal4.net!</div></td></font>
</tr>
<tr>
</table>

Now for some reason it comes out with like a white border around it spaced out...my black border is there, but there's another border around it spaced out...I hope no one's confused...I hope some1 can help! This is really bugging my...lol!

Your code is incorrect for the border. It should be:

<table style="border: 1px solid #000000" width=75% cellspacing="0" cellpadding="5"><tr>
<td bgcolor="#879892" width=100% colspan=20><font family="Book Antiqua" size="4" color="#000000"><div align="center"><b>Grand Opening!</b>&nbsp;posted on Nov.20, 04 by webmis.</div></td></font>
</tr>
<tr><td bgcolor="#eae6e5"><div align="center"><font family="Book Antiqua" size="3" color="#000000">Welcome to the grand opening of Ericbal4.net!</div></td></font>
</tr>
</table>

Miss_Thang
11-21-2004, 06:22 PM
thanks a lot!!! i was wondering if you can help me out with one more thing:

you see where i have "posted on, blah, blah, blah" how can i put that to the right?

MaGiCSuN
11-21-2004, 10:35 PM
change align="center" from your div to align="right"

Love,
Mirna