![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Expert Programmer
|
Basic Table Help
Could someone please give me the basic code for a table? I've used them before but I have not had to make one in code.
|
|
|
|
|
|
#2 |
|
Expert Programmer
|
How can i make a table move down with the page?
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Jun 2005
Posts: 1
Rep Power: 0
![]() |
<table width="100%" height="100%" border="0">
<tr> <td>This is the text you want to show up in the first cell</td> <td>This is the second cell</td> </tr> <td>second row first cell</td> <td>second row second cell</td> </tr> </table> Hope that helps a bit |
|
|
|
|
|
#4 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
He forgot the second <tr>. Also, indenting it might help you understand the construct.
<table width="100%" height="100%" border="0"> <tr> <td>This is the text you want to show up in the first cell</td> <td>This is the second cell</td> </tr> <tr> <td>second row first cell</td> <td>second row second cell</td> </tr> </table> |
|
|
|
|
|
#5 |
|
Expert Programmer
|
Thanks that helps a lot. It sucks doing a web page all in code :-)
|
|
|
|
|
|
#6 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Sacrilege!
Eventually you'll become used to it - then WYSIWYG editors'll just piss you off. |
|
|
|
|
|
#7 |
|
Expert Programmer
|
I am using Jcreator to make my web page(its better then notepad). How can i make another table on the same page but have it to the left and at the same height?
|
|
|
|
|
|
#8 |
|
Unverified User
Join Date: Jun 2005
Location: NJ
Posts: 23
Rep Power: 0
![]() |
i thought that using the "height" in tables was illegal despite some browsers supporting it..... if it is legal i remember it being frowned upon or something... am i off here?
__________________
DeepTide The way is shut. It was made by those who are dead and the Dead keep it. The way is shut. |
|
|
|
|
|
#9 |
|
Expert Programmer
|
Sorry what i meant was to have the tops of both table being at the same level so that they are next to each other and not below each other.
|
|
|
|
|
|
#10 |
|
Professional Programmer
Join Date: Feb 2005
Location: PA, USA
Posts: 254
Rep Power: 4
![]() |
tip to help you remember the tags
the TR in <TR> means "table row", use this when you want to start a new horizontal row in your table. the TD in <TD> means "Table Data", these are the squares of data contained within each row, you can have multiple TD's inside of a row, which makes up your columns.
__________________
I have never let my schooling interfere with my education. -Mark Twain- Xbox live gamertag: melbolt |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|