Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP! - I CAN'T SEEM TO MAKE EVEN TABLE COLUMNS

Status
Not open for further replies.

Chinyere

Programmer
Mar 9, 2001
79
US
Hello All,

I need some quick help today. I am working in a nested table and I can't seem to make my columns equal width. This is important since I am trying to replicate a newsletter. Even though I have specified this, It doesn't seem to work. My code appear below (for the table area):

<CENTER><TABLE border=&quot;0&quot; width=&quot;791&quot; cellpadding=&quot;9&quot; cellspacing=&quot;0&quot; BGCOLOR=&quot;#CCCCCC&quot;>

<TR>
<TD WIDTH=&quot;660&quot;>
<CENTER><TABLE border=&quot;1&quot; width=&quot;760&quot; cellpadding=&quot;9&quot; cellspacing=&quot;0&quot;>
<TR BGCOLOR=&quot;#FFFFFF&quot;>
<TD WIDTH=&quot;220&quot; ALIGN=&quot;LEFT&quot; VALIGN=&quot;BOTTOM&quot;><FONT SIZE=&quot;1&quot;>FILLER</FONT SIZE></TD>
<TD WIDTH=&quot;220&quot; ALIGN=&quot;RIGHT&quot; VALIGN=&quot;BOTTOM&quot;> </TD>
<TD WIDTH=&quot;220&quot; ALIGN=&quot;RIGHT&quot; VALIGN=&quot;BOTTOM&quot;><FONT SIZE=&quot;1&quot;>FILLER</FONT SIZE></TD>
</TR>

<TR BGCOLOR=&quot;#FFFFFF&quot;>
<TD colspan=&quot;3&quot; ALIGN=&quot;CENTER&quot;><FONT SIZE=&quot;6&quot;><FONT COLOR=&quot;#993333&quot;>
<IMG SRC=&quot;longrule.gif&quot; WIDTH=&quot;764&quot; HEIGHT=&quot;10&quot;><BR><B>FILLER</B></FONT COLOR><BR>
<IMG SRC=&quot;longrule.gif&quot; WIDTH=&quot;764&quot; HEIGHT=&quot;10&quot;></TD>
</TR>

<TR BGCOLOR=&quot;#FFFFFF&quot;>
<TD colspan=&quot;3&quot; ALIGN=&quot;CENTER&quot;><FONT SIZE=&quot;5&quot;><B>FILLER</B><BR>
</TD>
</TR>

<TR BGCOLOR=&quot;#FFFFFF&quot;>
<TD WIDTH=&quot;220&quot; WIDTH=&quot;33%&quot; VALIGN=&quot;TOP&quot;>
<CENTER><IMG SRC=&quot;graphic.gif&quot; WIDTH=&quot;123&quot; HEIGHT=&quot;73&quot;></CENTER>
<P ALIGN=&quot;CENTER&quot;><FONT SIZE=&quot;4&quot;><B>FILLER
<BR>FILLER</B></P></FONT SIZE>

<P ALIGN=&quot;CENTER&quot;><B>FILLER</B><BR>
<P><FONT SIZE=&quot;3&quot;>FILLER</P>

<P ALIGN=&quot;CENTER&quot;><B>FILLER</B><BR>
<P>FILLER</P>
</TD>

<TD WIDTH=&quot;220&quot; WIDTH=&quot;33%&quot; VALIGN=&quot;TOP&quot;><FONT SIZE=&quot;3&quot;>

<P ALIGN=&quot;CENTER&quot;><B><FONT SIZE=&quot;4&quot;>FILLER
<BR>FILLER<BR>
FILLER</B></P></FONT SIZE>
<P>FILLER</P>
<P>FILLER</P>

<P>FILLER</P>

<P>FILLER</P>

</TD>

<TD WIDTH=&quot;220&quot; VALIGN=&quot;TOP&quot;><FONT SIZE=&quot;3&quot;>
<CENTER><IMG SRC=&quot;graphic.gif&quot; WIDTH=&quot;141&quot; HEIGHT=&quot;133&quot;></CENTER>

<P>FILLER</P>

<P>FILLER</P>
</TD>
</TR>

</TABLE></CENTER>
</TD>
</TR>


<TR>
<TD ALIGN=&quot;RIGHT&quot;><FONT SIZE=&quot;2&quot;><B><A HREF=&quot;page.html&quot;>flip</a></B></FONT></TD>
</TR>

</TABLE></CENTER>

What am I doing wrong? Anybody? I need this help ASAP and Tek-Tips always comes through! Thanks.

Chinyere :cool:
 
Hi Chinyere,

I changed the red remarks about the width for you.
The green remarks are not so important, but netscape want to have clean HTML (check the complete code, I don't know if I saw all of them) in </FORM>

Further I mis some </FONT> and ...
You can reduce <FONT SIZE=&quot;6&quot;><FONT COLOR=&quot;#993333&quot;> to &quot;><FONT SIZE=&quot;6&quot; COLOR=&quot;#993333&quot;>

I hope this helps,
Erik

Here you go:
-----------------------------------------------------
<CENTER><TABLE border=&quot;0&quot; width=&quot;791&quot; cellpadding=&quot;9&quot; cellspacing=&quot;0&quot; BGCOLOR=&quot;#CCCCCC&quot;>

<TR>
<TD WIDTH=&quot;660&quot;>
<CENTER><TABLE border=&quot;1&quot; width=&quot;760&quot; cellpadding=&quot;9&quot; cellspacing=&quot;0&quot;>
<TR BGCOLOR=&quot;#FFFFFF&quot;>
<TD WIDTH=&quot;33%&quot; ALIGN=&quot;LEFT&quot; VALIGN=&quot;BOTTOM&quot;><FONT SIZE=&quot;1&quot;>FILLER</FONT I erased SIZE></TD>
<TD WIDTH=&quot;33%&quot; ALIGN=&quot;RIGHT&quot; VALIGN=&quot;BOTTOM&quot;> </TD>
<TD WIDTH=&quot;33%&quot; ALIGN=&quot;RIGHT&quot; VALIGN=&quot;BOTTOM&quot;><FONT SIZE=&quot;1&quot;>FILLER</FONT I erased SIZE></TD>
</TR>

<TR BGCOLOR=&quot;#FFFFFF&quot;>
<TD colspan=&quot;3&quot; ALIGN=&quot;CENTER&quot;><FONT SIZE=&quot;6&quot;><FONT COLOR=&quot;#993333&quot;>
<IMG SRC=&quot;longrule.gif&quot; WIDTH=&quot;764&quot; HEIGHT=&quot;10&quot;><BR><B>FILLER</B></FONT I erased COLOR><BR>
<IMG SRC=&quot;longrule.gif&quot; WIDTH=&quot;764&quot; HEIGHT=&quot;10&quot;></TD>
</TR>

<TR BGCOLOR=&quot;#FFFFFF&quot;>
<TD colspan=&quot;3&quot; ALIGN=&quot;CENTER&quot;><FONT SIZE=&quot;5&quot;><B>FILLER</B><BR>
</TD>
</TR>

<TR BGCOLOR=&quot;#FFFFFF&quot;>
<TD I erased width=&quot;220&quot; WIDTH=&quot;33%&quot; VALIGN=&quot;TOP&quot;>
<CENTER><IMG SRC=&quot;graphic.gif&quot; WIDTH=&quot;123&quot; HEIGHT=&quot;73&quot;></CENTER>
<P ALIGN=&quot;CENTER&quot;><FONT SIZE=&quot;4&quot;><B>FILLER
<BR>FILLER</B></P></FONT I erased SIZE>

<P ALIGN=&quot;CENTER&quot;><B>FILLER</B><BR>
<P><FONT SIZE=&quot;3&quot;>FILLER</P>

<P ALIGN=&quot;CENTER&quot;><B>FILLER</B><BR>
<P>FILLER</P>
</TD>

<TD I erased width=&quot;220&quot; WIDTH=&quot;220&quot; WIDTH=&quot;33%&quot; VALIGN=&quot;TOP&quot;><FONT SIZE=&quot;3&quot;>

<P ALIGN=&quot;CENTER&quot;><B><FONT SIZE=&quot;4&quot;>FILLER
<BR>FILLER<BR>
FILLER</B></P></FONT I erased SIZE>
<P>FILLER</P>
<P>FILLER</P>

<P>FILLER</P>

<P>FILLER</P>

</TD>

<TD WIDTH=&quot;220&quot; VALIGN=&quot;TOP&quot;><FONT SIZE=&quot;3&quot;>
<CENTER><IMG SRC=&quot;graphic.gif&quot; WIDTH=&quot;141&quot; HEIGHT=&quot;133&quot;></CENTER>

<P>FILLER</P>

<P>FILLER</P>
</TD>
</TR>

</TABLE></CENTER>
</TD>
</TR>


<TR>
<TD ALIGN=&quot;RIGHT&quot;><FONT SIZE=&quot;2&quot;><B><A HREF=&quot;page.html&quot;>flip</a></B></FONT></TD>
</TR>

</TABLE></CENTER>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top