...

View Full Version : Can anyone.........



Akl
07-06-2002, 05:04 AM
take the time to do a little one on one w/ me on tables. I'm still confused even after reading up on it on sites. If so my aim name is Jindae Girl and my ICQ # is 89209052 Thanks.

ACJavascript
07-06-2002, 06:57 AM
tables are really quite simple once you get the hang of them. Okay lets begin hehehe ;)

Heres a simple table with some text in it. The 1,2,3 lines are the lines of coding
---------

<table> = the opener of the table
<tr> = the first column(going sideways - right to left)
<td> = the first square in the first column
Hi There, THis is my first Table = text
</td> = ending the first square in the first column
</tr> = ending the first column
</table> = ending the table

how the code actualy looks

1. <table>
2. <tr>
3. <td>
4. Heres my text
5. </td>
6. </tr>
7. </table>

Okay now to make a more complicated table hehe ;)


<table> = The opener of the table
<tr> = the first column (left-right)
<td> = the square in the column
Heres Text = the text(object)
</td> = ending the first square in the column
<td> = starting the second square in the column
Heres more text = text
</td> = ending the second square in the column
</tr> = ending the first column
<tr> = starting the second column(left-right)
<td> = starting the first square of the second column
Heres Text = text thats in the first square of the second column
</td> = ending the first square of the second column
</tr> = ending the second column
</table> = ending the table

Full code

1. <table>
2. <tr>
3. <td>
4. Heres some text
5. </td>
6. <td>
7. Heres some more text
8. </td>
9. </tr>
10. <tr>
11. <td>
12. Heres more text hehe
13. </td>
14. </tr>
15. </table>



I hope this has helped ;)

If you need more assistince or you want to know how to really work tables. You can just post here again or you can email me at ACJavascript@aol.com -- I am open to help anyone ;) :D ;)

justame
07-06-2002, 02:34 PM
Originally posted by ACJavascript


<tr> = the first column(going sideways - right to left)


/me just a whispers® to acj...
ummm.../me just a thought® that <tr>=rows...
tis the just a <td>'s n' </td>'s that make up the 'columns'...
aka...
<tr><td colspan="whatever"> :O)))

n' ummm.../me thought it was left to right??? welll reaaalllllly in the case of the 'tr' twould be just a top® to bottom...hehehe

redhead
07-06-2002, 03:24 PM
Originally posted by justame

aka...
<tr><td colspan="whatever"> :O)))


when i started with tables i always used to have trouble with colspan/rowspan... so Akl... take a look at this example (http://www.btinternet.com/~chriscaws/tableexample.html), and click veiw > source to see the HTML...

happy coding :thumbsup:

Lazaroth
07-06-2002, 03:29 PM
What is this <th> I've seen some use?
Is it a substitute for <tr> or?

I've also seen <tbody> and <thead> inside the <table>, what does serve for purpose?

redhead
07-06-2002, 03:36 PM
<th> = table header cell
<thead> = table head
<tbody> = table body

i barly ever use these... but take a look at these pages for some explainations:

http://www.htmlhelp.com/reference/html40/tables/tbody.html
http://www.htmlhelp.com/reference/html40/tables/th.html
http://www.htmlhelp.com/reference/html40/tables/thead.html

happy coding:thumbsup:

ACJavascript
07-06-2002, 04:30 PM
You right just, but at the same time if you look at it when you put in <tr><td></td><td></td><td></td> you get

-----------------------------------------------
| | | |
| | | |
------------------------------------------------

(something like that)

so the tr does go down, but at the same time it starts a left to right thingy. In order of the tds ofcoures. hehe
But you are right my bad. :D



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum