Html Tables?
I am looking for 2 column tables in HTML text to add to my website. Can any one send me the html text
I need something that looks like this
First one)
__________________________
|_________________________|
| | |
| | |
| | |
| | |
__________________________
obviously im improvising
and another that looks like.
SECOND)
___________________
| | |
|_______|___________|
| | |
| | |
| | |
|_______| |
| | |
| | |
| | |
|_______|___________|
Public Comments
- As I do not get exactly what you want, I will tell you the following. Don't be intimidated! Here is a the table for your first drawing I think. <table> <tr><td colspan="2">YOUR HEADER</td></tr> <tr><td>Column 1 on Row 1</td><td>Column 2 on Row 1</td></tr> <tr><td>Column 1 on Row 2</td><td>Column 2 on Row 2</td></tr> </table> you can use colspan or rowspan, to indicate how many columns a td should span, and how many rows a row should span. Unless you are using this for a true data table, do not use tables ever. Instead use div tags with CSS. Tables aren't intended for design, layout or positioning. Good luck!
- If you use Adobe Dreamweaver which is the best, you can just insert tables like in MS Word. If you don't have Dreamweaver you can get NVU for free. Here is the code for a table with 1 column and 2 rows. <table width="200" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> <tr> <td> </td> </tr> </table>
- First Table: <table border="1"> <tr> <td colspan="2">Row 1, Col 1</td> </tr> <tr> <td>Row 2, Col 1</td> <td>Row 2, Col 2</td> </tr> </table> Second Table: <table border="1"> <tr> <td>Row 1, Col 1</td> <td>Row 1, Col 2</td> </tr> <tr> <td>Row 2, Col 1</td> <td>Row 2, Col 2</td> </tr> <tr> <td>Row 3, Col 1</td> <td>Row 3, Col 2</td> </tr> </table> Adam @ http://www.talkphp.com/
- Ditto Samuel Adams: <div id="wrapper" style="width: 80%; margin: 0 auto;"> <div id="banner" style="width: 100%; float: left;"> ...[banner stuff]... </div><!-- end banner --> <div id="leftbar" style="clear: left; width: 33%; float: left;"> ...[leftbar stuff]... </div><!-- end leftbar --> <div id="rightbar" style="width: 66%; float: left;"> ...[rightbar stuff]... </div><!-- end rightbar --> </div><!-- end wrapper -->
Powered by Yahoo! Answers