Thread: Tables+OL
View Single Post
Old May 17th, 2006, 8:06 PM   #3
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Tables should be used for tabular material, and not to control layout. The latter use indicates some lack of understanding of more modern stylistic and layout methods (CSS). Tables ARE an HTML thangy, though, have been for years, and were once (back when ships were wood and swabbies were steel) the only effective way to control layout. Here is a table description:
<table>
   <tr>
      <td>Cell Data</td>
      <td>Cell Data</td>
   </tr>
</table>
'tr' represents a row, 'td' represents a cell (data). Consequently, that table has one row with two cells. You can set the border as a table attribute but it's more flexible to set it as a table style. "<table style="border 1px #000000;">" or similar. Surf, Google, and read; that gives you a start.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote