Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Akl
    Akl is offline
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    676
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #5
    New Coder
    Join Date
    Jul 2002
    Location
    Sweden
    Posts
    66
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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?

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <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

  • #7
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •