Xeon
April 28th, 2003, 02:48 AM
Now, below is my HTML code to create a simple table with 2 columns and several rows :
<HTML>
<BODY>
<TABLE border = 1 cellspacing="0" cellpadding="3" border="0">
<tr style="border-width: 1px; border-color: black">
<td><b>Name</b></td>
<td><b>Notes</b></td>
</tr>
<tr style="background-color: #FFCC66">
<td>Abraham Lincoln</td>
<td>Honest Abe : The Best</td>
</tr>
<tr>
<td>Franklin D' Roosevelt</td>
<td>Did a lot for America</td>
</tr>
<tr>
<td>George Washington</td>
<td>The Father of all Presidents</td>
</tr>
<tr>
<td>Ronald Reagan</td>
<td>A nice President for America</td>
</tr>
<tr>
<td>Jimmy Carter</td>
<td>Peace-loving man. Won the Nobel Peace Award.</td>
</tr>
<tr>
<td>George W. Bush</td>
<td>Err....for him...I've no comments.</td>
</tr>
</TABLE>
</BODY>
</HTML>
What I'm trying to achieve is to give the table a thin and flat 1 pixel border with no raised or sunken effects : just a thin, 1 pixel flat border.
I've attached a screenshot to this thread to show the difference between the current table style and the kinda border I want.
Hope you can help, and thanks a lot! :):):)
Xeon.
<HTML>
<BODY>
<TABLE border = 1 cellspacing="0" cellpadding="3" border="0">
<tr style="border-width: 1px; border-color: black">
<td><b>Name</b></td>
<td><b>Notes</b></td>
</tr>
<tr style="background-color: #FFCC66">
<td>Abraham Lincoln</td>
<td>Honest Abe : The Best</td>
</tr>
<tr>
<td>Franklin D' Roosevelt</td>
<td>Did a lot for America</td>
</tr>
<tr>
<td>George Washington</td>
<td>The Father of all Presidents</td>
</tr>
<tr>
<td>Ronald Reagan</td>
<td>A nice President for America</td>
</tr>
<tr>
<td>Jimmy Carter</td>
<td>Peace-loving man. Won the Nobel Peace Award.</td>
</tr>
<tr>
<td>George W. Bush</td>
<td>Err....for him...I've no comments.</td>
</tr>
</TABLE>
</BODY>
</HTML>
What I'm trying to achieve is to give the table a thin and flat 1 pixel border with no raised or sunken effects : just a thin, 1 pixel flat border.
I've attached a screenshot to this thread to show the difference between the current table style and the kinda border I want.
Hope you can help, and thanks a lot! :):):)
Xeon.