Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-06-2002, 04:04 AM   PM User | #1
Akl
New to the CF scene

 
Join Date: Jul 2002
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Akl is an unknown quantity at this point
Exclamation Can anyone.........

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.
Akl is offline   Reply With Quote
Old 07-06-2002, 05:57 AM   PM User | #2
ACJavascript
Regular Coder

 
Join Date: Jun 2002
Location: FL, USA
Posts: 734
Thanks: 0
Thanked 0 Times in 0 Posts
ACJavascript is on a distinguished road
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
__________________
CYWebmaster.com - See why we dot com!!
ACJavascripts.com - Cut & Paste Javascripts!
SimplyProgram.com - Personal Blog
ACJavascript is offline   Reply With Quote
Old 07-06-2002, 01:34 PM   PM User | #3
justame
Regular Coder

 
Join Date: Jun 2002
Posts: 676
Thanks: 1
Thanked 0 Times in 0 Posts
justame is on a distinguished road
Quote:
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
__________________
The New JustaBuster Version 2.0 OR JustaBusta Lite V2.0
...just a special® thanx kinda hugs to jkd n' nex ...:O)))

CommemorateWTC.com --Please lend your support
justame is offline   Reply With Quote
Old 07-06-2002, 02:24 PM   PM User | #4
redhead
Regular Coder

 
Join Date: Jun 2002
Location: United Kingdom Confused: Often
Posts: 859
Thanks: 0
Thanked 0 Times in 0 Posts
redhead is an unknown quantity at this point
Quote:
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, and click veiw > source to see the HTML...

happy coding
__________________
redhead
redhead is offline   Reply With Quote
Old 07-06-2002, 02:29 PM   PM User | #5
Lazaroth
New Coder

 
Join Date: Jul 2002
Location: Sweden
Posts: 66
Thanks: 1
Thanked 0 Times in 0 Posts
Lazaroth is an unknown quantity at this point
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?
Lazaroth is offline   Reply With Quote
Old 07-06-2002, 02:36 PM   PM User | #6
redhead
Regular Coder

 
Join Date: Jun 2002
Location: United Kingdom Confused: Often
Posts: 859
Thanks: 0
Thanked 0 Times in 0 Posts
redhead is an unknown quantity at this point
<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/ht...les/tbody.html
http://www.htmlhelp.com/reference/html40/tables/th.html
http://www.htmlhelp.com/reference/ht...les/thead.html

happy coding
__________________
redhead
redhead is offline   Reply With Quote
Old 07-06-2002, 03:30 PM   PM User | #7
ACJavascript
Regular Coder

 
Join Date: Jun 2002
Location: FL, USA
Posts: 734
Thanks: 0
Thanked 0 Times in 0 Posts
ACJavascript is on a distinguished road
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.
__________________
CYWebmaster.com - See why we dot com!!
ACJavascripts.com - Cut & Paste Javascripts!
SimplyProgram.com - Personal Blog
ACJavascript is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:46 AM.


Advertisement
Log in to turn off these ads.