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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table border

Status
Not open for further replies.

ecojohnson

Programmer
Jul 2, 2001
54
US
I am trying to build a table with two columns, with a border around the second column. Everything I try doesn't seem to work. In this example, I would like to have a border arouond the "Blah Blah" section.

However, if I place a <TD width=&quot;460&quot; border=&quot;2&quot;> for the tag, I get nothing. I then added the word BORDER to the initial <table> tag. Still nothing. I can only get a border to surround both columns or I can't get a border to appear at all. Any advice?


<TABLE>
<TR VALIGN=TOP>
<TD width=&quot;125&quot;><u>First Section</u></TD>
<TD width=&quot;460&quot;>Blah Blah<BR>Blah<BR>Blah Blah<BR>Blah</TD>
</TR>
</TABLE>
 
put a border=1 in the table tag and in the sabe tag a bordercolor=&quot;#FFFFFF&quot; (or the bgcolor where the table lies).

In the td you want to put a bordercolor, just put bordercolor=&quot;#FF0000&quot; (red)

Hope this helps you. Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
No, that doesn't work. By placing &quot;BORDER=&quot;1&quot;&quot; in the <TABLE> tag, I get a border surrounding both columns. I only want a border surrounding the second column.
 
<TABLE>
<TR VALIGN=TOP>
<TD width=&quot;125&quot;><u>First Section</u></TD>
<TD width=&quot;460&quot; style=&quot;border:2 red solid;&quot;>Blah Blah<BR>Blah<BR>Blah Blah<BR>Blah</TD>
</TR>
</TABLE>

Rick It's a pleasure to know that I've helped you. If I have,
please click the link below to let me know. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top