View Full Version : How come when I do a center tag, the table gets bigger?


bane_vagabond
06-17-2003, 03:45 AM
At: http://www.freewebs.com/clan-par/index.html

There is a problem, see the left bar? I have two problems with it:

1. When I do the center tag, the table gets stubbier, if I take it off it is skinny, what's up with this?

2. I set the table's width to 100, but it is still small.

here is the HTML:

<table height="0" width="100">
<tr>
<td height="0" width="100" bgcolor="a9a9a9">
<font color="ffffff" size="2"><center>navigation</center></font><br>
</td>
</tr>
</table>

bane_vagabond
06-17-2003, 03:53 AM
I got #1 fixed, it looks like I put a br tag, silly me :)


But #2 is still a problem.

pb&j
06-17-2003, 04:02 AM
that 100 is 100 pixels.
what is the end result you are trying to do?

bane_vagabond
06-17-2003, 02:28 PM
You see 'navigation', 'community', and 'par'? Well, I want to make it so they are the width of 150.

amicus
06-17-2003, 04:29 PM
the table cells can't be any bigger then the table. so i took out the table cell width and used the table width.

<table width="150" height="0" cellpadding="0" cellspacing="0">
<tr align="center">
<td bgcolor="#A9A9A9">
<font color="#FFFFFF" size="2">Navigation</font>
</td>
</tr>
</table>