FINALLY! Something I understand. I LOVE tables.....
You can wrap your entire forum on all 4 sides with tables and size them
any way you want. There are a couple basic rules to remember.
- You can't build this on the floor so you need to put it up on the <table>
- Rows are = to <tr> and they go from side to side
- Columns are = to <td> and they go from top to bottom
- You need to / (close) each table, row or column when your done.
It's really that simple. if you want to put a nav menu on the left side
of your forum, you need to build a <table> with 1 row and 2
columns.
<table>
<tr> <---- this is your row
<td> <-----this is your first column (menu here)
</td> <-----this is you closing your first column
<td> <-----this is your second column (forum goes here)
</td> <-----this is you closing your second column
</tr> <-----this is you closing your 1st row
</table> <--- and then closing your table
Here's my header.asp & footer.asp. I placed tables on the left, right and the top of the forum.
Begin Header.asp
<table Width="98%"> <tr width="100%">
<td align="center" colspan="3"> (row will span 3 columns) Put the upper menu bar here. A single row, 1 column </td> </tr> <tr width="100%"> Beginning of second row <td valign="top" Width="15%"> Left Side Nav here. The first of 3 columns in this row </td> <td> ------------------------------------------------------ Ok, now leave this are blank, this is where the forum itself will be placed. This is the end of the header and the beginning of the footer ------------------------------------------------------ Begin Footer.asp </td>
<td valign="top" width="10%"> Right Margin, the third column is here </td>
</tr> Now we close the row </table> and close the table <!-- footer --> </body> </html>
|
Now, all you have to do is decide how big you want each column. Look at
my code and you'll see how I did it. it's realy simple... If I added
another row, I could place even more page on the bottom effectively
wrapping the entire thing. Don't forget to close your tags. Some
browsers will work just fine without closing them, but others (not ie)
will freak if you don't close em up.
Edited by Skyforum - 23 September 2005 at 10:16pm