Web Analytics Made Easy -
StatCounter Can anyone......... - CodingForum

Announcement

Collapse
No announcement yet.

Can anyone.........

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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 [email protected] -- I am open to help anyone
    CYWebmaster.com - See why we dot com!!
    ACJavascripts.com - Cut & Paste Javascripts!
    SimplyProgram.com - Personal Blog

    Comment


    • #3
      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

      Comment


      • #4
        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

        Comment


        • #5
          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?

          Comment


          • #6
            <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:

            A description of HTML 4's TBODY element for table bodies.

            A description of HTML 4's TH element for table header cells.

            A description of HTML 4's THEAD element for table heads.


            happy coding
            redhead

            Comment


            • #7
              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

              Comment

              Working...
              X