Layout with HTML Table

HTML table for template is abandoned, long long time ago.... But some designers still use this technique. Below are shorcuts for layout using HTML table:

-align, make your table align. value: center, left, right. this blog uses align="center" to make it centered.
-width, the width size of table. value in number
-min-width, minimum width of table. value in number
-min-height, minimum height if table. This blog use 600 for minimum height
-cellpadding. distance from cell in table to its contents.
-cellspacing, distance between cell in table.
-border, size of table border. This blog uses border="1". You may use border="0" to make border disappear.

Its OK to insert table in another cell table. Example:
<table>
<tr>
<td>
<table><tr><td></td></tr></table>
</td>
</tr>
</table>

View source code of this blog to view full example how to use HTML table for layout.

No comments:

Post a Comment