Click to See Complete Forum and Search --> : how do i create tables like this


tane
11-15-2003, 02:05 AM
How do i create tables with thin single borders like on this page http://www.hostquote.com When i try and do it i get 2 thin borders instead of 1

Here is my code for a my table -
<TABLE BORDER=1 bordercolor="#000000">
<TR>
<TD ALIGN="center" bgcolor="#990000">My example</TD>
</TR>
<TR>
<TD ALIGN="center" height="181">&nbsp;</TD>
</TR>
</TABLE>

simpson97
11-15-2003, 02:10 AM
This should point you in right direction:

<TABLE STYLE="border:1px brown solid">
<TR>
<TD ALIGN="center" bgcolor="#990000">My example</TD>
</TR>
<TR>
<TD ALIGN="center" height="181"> </TD>
</TR>
</TABLE>

Bob

tane
11-15-2003, 04:27 AM
Thanks Bob that excellent - 1 other questions is there a way of making the top cell which is brown run flush against the black border instead of leaving a space ....

Paul Jr
11-15-2003, 10:40 AM
<table style="border:1px brown solid" cellspacing="0">
<tr>
<td align="center" bgcolor="#990000">My example</td>
</tr>
<tr>
<td align="center" height="181"> </td>
</tr>
</table>

tane
11-16-2003, 03:19 AM
thankyou...

Paul Jr
11-16-2003, 10:50 AM
You're welcome.

pyro
11-16-2003, 12:52 PM
<div style="width: 80px; height: 200px; border: 1px solid #744a00;">
<div style="background: #900;">My example</div>
</div>And, since brown is not a valid preset color, I specified an appropriate hex value.