[tables] What does this do?

Discussion in 'HTML' started by Philip, Jun 8, 2005.

  1. Philip

    Philip Guest

    Someone asked me to write a homepage for their business, but because I
    didn't know a lot of html (I don't need a lot for what I do), I declined.
    He got someone else to do it, but for some reason they refused to upload
    it, so he asked me if I could upload it. I said sure, and he gave me it on
    a cd-r. While going over it though, I noticed an ordering form. I've never
    used forms myself, so I didn't know what to make of it. I tried looking at
    some html references, and something does indeed seem a little fishy about
    it. But then, it could just be my ignorance on tables/forms. Here's the
    relevant html:

    <table>
    <tr>
    <td>
    <tr>
    <td width="100" height="20"><b><font face="Verdana" size="1"
    color="#000000">Name:</font></b></td> <td width="200"
    height="20"><input name="name" type="text" style="background-color:
    #FFFFFF; color: #000000; font-family: Verdana; border: 1px;
    border-color: #000000;border-style: solid" value="" size="20"></td>
    </tr>
    <tr>
    <td width="100" height="20"><b><font face="Verdana" size="1"
    color="#000000">Mail:</font></b></td> <td width="200"
    height="20"><input name="E-mail" type="text" style="background-color:
    #FFFFFF; color: #000000; font-family: Verdana; border: 1px;
    border-color: #000000;border-style: solid" value="" size="20"></td>
    </tr>
    <tr>
    <td width="100" height="20"><b><font face="Verdana" size="1"
    color="#000000">Phone:</font></b></td> <td width="200"
    height="20"><input name="phone" type="text" style="background-color:
    #FFFFFF; color: #000000; font-family: Verdana; border: 1px;
    border-color: #000000;border-style: solid" value="" size="20"></td>
    </tr>
    <tr>
    <td width="100" height="20"><b><font face="Verdana" size="1"
    color="#000000">Address:</font></b></td> <td width="200"
    height="20"><input name="Address" type="text" style="background-color:
    #FFFFFF; color: #000000; font-family: Verdana; border: 1px;
    border-color: #000000;border-style: solid" value="" size="20"></td>
    </tr>
    <tr>
    <td width="100" height="20"><b><font face="Verdana" size="1"
    color="#000000">Assembled:</font></b></td> <td width="200"
    height="20"><input type="checkbox" name="Assembled"
    style="background-color: #FFFFFF; color: #000000; font-family:
    Verdana; border: 1px; border-color: #000000;border-style: solid"></td>
    </tr>
    <tr>
    <td width="100" height="19"><input name="post" type="submit"
    style="background-color: #FFFFFF; color: #000000; font-family: Verdana;
    border: 1px; border-color: #000000; border-style: solid"
    value="Order"></td> </tr>
    </td>
    </tr>
    </table>
    </div>

    [end]

    The thing that bothers me is the bit at the bottom. AFAIK, usually when
    one submits a form, it gets passed to a serverside script. This doesn't
    seem to go anywhere. I want to upload this thing, but I'm hesitant,
    because I don't want the guy to have a homepage with a dummy form on it.
    Neither do I want to have to learn more html (or God forbid, perl), I
    mean, that's why I declined in the first place.
    Philip, Jun 8, 2005
    #1
    1. Advertising

  2. Philip

    John Guest

    Philip wrote:

    > Someone asked me to write a homepage for their business, but because I
    > didn't know a lot of html (I don't need a lot for what I do), I declined.
    > He got someone else to do it, but for some reason they refused to upload
    > it, so he asked me if I could upload it. I said sure, and he gave me it on
    > a cd-r. While going over it though, I noticed an ordering form. I've never
    > used forms myself, so I didn't know what to make of it. I tried looking at
    > some html references, and something does indeed seem a little fishy about
    > it. But then, it could just be my ignorance on tables/forms. Here's the
    > relevant html:
    >
    > <table>
    > <tr>
    > <td>
    > <tr>
    > <td width="100" height="20"><b><font face="Verdana" size="1"
    > color="#000000">Name:</font></b></td> <td width="200"
    > height="20"><input name="name" type="text" style="background-color:
    > #FFFFFF; color: #000000; font-family: Verdana; border: 1px;
    > border-color: #000000;border-style: solid" value="" size="20"></td>
    > </tr>
    > <tr>
    > <td width="100" height="20"><b><font face="Verdana" size="1"
    > color="#000000">Mail:</font></b></td> <td width="200"
    > height="20"><input name="E-mail" type="text" style="background-color:
    > #FFFFFF; color: #000000; font-family: Verdana; border: 1px;
    > border-color: #000000;border-style: solid" value="" size="20"></td>
    > </tr>
    > <tr>
    > <td width="100" height="20"><b><font face="Verdana" size="1"
    > color="#000000">Phone:</font></b></td> <td width="200"
    > height="20"><input name="phone" type="text" style="background-color:
    > #FFFFFF; color: #000000; font-family: Verdana; border: 1px;
    > border-color: #000000;border-style: solid" value="" size="20"></td>
    > </tr>
    > <tr>
    > <td width="100" height="20"><b><font face="Verdana" size="1"
    > color="#000000">Address:</font></b></td> <td width="200"
    > height="20"><input name="Address" type="text" style="background-color:
    > #FFFFFF; color: #000000; font-family: Verdana; border: 1px;
    > border-color: #000000;border-style: solid" value="" size="20"></td>
    > </tr>
    > <tr>
    > <td width="100" height="20"><b><font face="Verdana" size="1"
    > color="#000000">Assembled:</font></b></td> <td width="200"
    > height="20"><input type="checkbox" name="Assembled"
    > style="background-color: #FFFFFF; color: #000000; font-family:
    > Verdana; border: 1px; border-color: #000000;border-style: solid"></td>
    > </tr>
    > <tr>
    > <td width="100" height="19"><input name="post" type="submit"
    > style="background-color: #FFFFFF; color: #000000; font-family: Verdana;
    > border: 1px; border-color: #000000; border-style: solid"
    > value="Order"></td> </tr>
    > </td>
    > </tr>
    > </table>
    > </div>
    >
    > [end]
    >
    > The thing that bothers me is the bit at the bottom. AFAIK, usually when
    > one submits a form, it gets passed to a serverside script. This doesn't
    > seem to go anywhere. I want to upload this thing, but I'm hesitant,
    > because I don't want the guy to have a homepage with a dummy form on it.
    > Neither do I want to have to learn more html (or God forbid, perl), I
    > mean, that's why I declined in the first place.
    >


    You haven't included the <form> tag which will specify the action taken
    on submit. It's messy html/css but nothing sinister.

    If I were you I would upload the whole lot and see what it does. If you
    are suspicious then don't enter any sensitive data into the forms.

    It sounds like your friend needs to get himself a decent web designer
    who will sort out the whole package rather than a selection of people
    doing different tasks.

    John
    John, Jun 8, 2005
    #2
    1. Advertising

  3. Philip

    Animesh K Guest

    John wrote:
    > Philip wrote:
    >
    >> Someone asked me to write a homepage for their business, but because I
    >> didn't know a lot of html (I don't need a lot for what I do), I declined.
    >> He got someone else to do it, but for some reason they refused to upload
    >> it, so he asked me if I could upload it. I said sure, and he gave me
    >> it on
    >> a cd-r. While going over it though, I noticed an ordering form. I've
    >> never
    >> used forms myself, so I didn't know what to make of it. I tried
    >> looking at
    >> some html references, and something does indeed seem a little fishy about
    >> it. But then, it could just be my ignorance on tables/forms. Here's the
    >> relevant html:
    >>
    >> <table>
    >> <tr>
    >> <td>
    >> <tr>
    >> <td width="100" height="20"><b><font face="Verdana" size="1"
    >> color="#000000">Name:</font></b></td> <td width="200"
    >> height="20"><input name="name" type="text" style="background-color:
    >> #FFFFFF; color: #000000; font-family: Verdana; border: 1px;
    >> border-color: #000000;border-style: solid" value="" size="20"></td>
    >> </tr>
    >> <tr>
    >> <td width="100" height="20"><b><font face="Verdana" size="1"
    >> color="#000000">Mail:</font></b></td> <td width="200"
    >> height="20"><input name="E-mail" type="text" style="background-color:
    >> #FFFFFF; color: #000000; font-family: Verdana; border: 1px;
    >> border-color: #000000;border-style: solid" value="" size="20"></td>
    >> </tr>
    >> <tr>
    >> <td width="100" height="20"><b><font face="Verdana" size="1"
    >> color="#000000">Phone:</font></b></td> <td width="200"
    >> height="20"><input name="phone" type="text" style="background-color:
    >> #FFFFFF; color: #000000; font-family: Verdana; border: 1px;
    >> border-color: #000000;border-style: solid" value="" size="20"></td>
    >> </tr>
    >> <tr>
    >> <td width="100" height="20"><b><font face="Verdana" size="1"
    >> color="#000000">Address:</font></b></td> <td width="200"
    >> height="20"><input name="Address" type="text"
    >> style="background-color:
    >> #FFFFFF; color: #000000; font-family: Verdana; border: 1px;
    >> border-color: #000000;border-style: solid" value="" size="20"></td>
    >> </tr>
    >> <tr>
    >> <td width="100" height="20"><b><font face="Verdana" size="1"
    >> color="#000000">Assembled:</font></b></td> <td width="200"
    >> height="20"><input type="checkbox" name="Assembled"
    >> style="background-color: #FFFFFF; color: #000000; font-family:
    >> Verdana; border: 1px; border-color: #000000;border-style:
    >> solid"></td>
    >> </tr>
    >> <tr>
    >> <td width="100" height="19"><input name="post" type="submit"
    >> style="background-color: #FFFFFF; color: #000000; font-family: Verdana;
    >> border: 1px; border-color: #000000; border-style: solid"
    >> value="Order"></td> </tr>
    >> </td>
    >> </tr>
    >> </table>
    >> </div>
    >>
    >> [end]
    >>
    >> The thing that bothers me is the bit at the bottom. AFAIK, usually when
    >> one submits a form, it gets passed to a serverside script. This doesn't
    >> seem to go anywhere. I want to upload this thing, but I'm hesitant,
    >> because I don't want the guy to have a homepage with a dummy form on it.
    >> Neither do I want to have to learn more html (or God forbid, perl), I
    >> mean, that's why I declined in the first place.
    >>

    >
    > You haven't included the <form> tag which will specify the action taken
    > on submit. It's messy html/css but nothing sinister.
    >


    It seems like a frontpage garbage and not messy css :)

    Best
    A
    Animesh K, Jun 8, 2005
    #3
  4. Philip wrote:

    > Someone asked me to write a homepage for their business, but because I
    > didn't know a lot of html (I don't need a lot for what I do), I declined.
    > He got someone else to do it, but for some reason they refused to upload
    > it, so he asked me if I could upload it. I said sure, and he gave me it on
    > a cd-r. While going over it though, I noticed an ordering form. I've never
    > used forms myself, so I didn't know what to make of it. I tried looking at
    > some html references, and something does indeed seem a little fishy about
    > it. But then, it could just be my ignorance on tables/forms. Here's the
    > relevant html:
    >
    > <table>
    > <tr>
    > <td>
    > <tr>
    > <td width="100" height="20"><b><font face="Verdana" size="1"

    <snip>

    <table><tr><td><tr><td>...

    Ah, no...check validity of your html... tr child of td?!?

    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
    Jonathan N. Little, Jun 8, 2005
    #4
  5. in alt.html, Jonathan N. Little wrote:
    > Philip wrote:


    > > <table>
    > > <tr>
    > > <td>
    > > <tr>
    > > <td width="100" height="20"><b><font face="Verdana" size="1"

    > <snip>
    >
    > <table><tr><td><tr><td>...
    >
    > Ah, no...check validity of your html... tr child of td?!?


    It is valid HTML. But why have one empty cell in otherwise empty row?
    Especially as later there is more cells, so table is not balanced right.

    --
    Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
    Utrecht, NL.
    Support me, buy Opera:
    https://secure.bmtmicro.com/opera/buy-opera.html?AID=882173
    Lauri Raittila, Jun 8, 2005
    #5
  6. Philip

    dorayme Guest

    > From: Philip <>

    > I want to upload this thing, but I'm hesitant,
    > because I don't want the guy to have a homepage with a dummy form on it.
    > Neither do I want to have to learn more html (or God forbid, perl), I
    > mean, that's why I declined in the first place.



    You could upload it to test it by putting it in a folder called, say,
    "draft") then getting onto a browser and seeing it with an address including
    something like "draft/nameOfFile.html" at the end.

    dorayme
    dorayme, Jun 9, 2005
    #6
  7. Philip

    JDS Guest

    On Wed, 08 Jun 2005 12:44:45 +0200, Philip wrote:

    > The thing that bothers me is the bit at the bottom. AFAIK, usually when
    > one submits a form, it gets passed to a serverside script. This doesn't
    > seem to go anywhere. I want to upload this thing, but I'm hesitant,
    > because I don't want the guy to have a homepage with a dummy form on it.
    > Neither do I want to have to learn more html (or God forbid, perl), I
    > mean, that's why I declined in the first place.


    Not only does it not "seem" to go anywhere, it actually really doesn't go
    anywhere.

    I hope your friend didn't pay too much for this HTML page, unless they
    really did want a dummy form.

    --
    JDS |
    | http://www.newtnotes.com
    DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
    JDS, Jun 9, 2005
    #7
  8. Lauri Raittila wrote:

    > in alt.html, Jonathan N. Little wrote:
    >
    >>Philip wrote:

    >
    >
    >>><table>
    >>><tr>
    >>> <td>
    >>> <tr>
    >>> <td width="100" height="20"><b><font face="Verdana" size="1"

    >>
    >><snip>
    >>
    >><table><tr><td><tr><td>...
    >>
    >>Ah, no...check validity of your html... tr child of td?!?

    >
    >
    > It is valid HTML. But why have one empty cell in otherwise empty row?
    > Especially as later there is more cells, so table is not balanced right.
    >

    Yes, the closing tag for TD and TR are optional per the spec but since
    he is using them it look more like he is nesting a '<tr><td></td><tr>'
    within a paired '<td></td>'s which I do not this is legit

    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
    Jonathan N. Little, Jun 9, 2005
    #8
  9. Philip

    Adrienne Guest

    Gazing into my crystal ball I observed Philip <> writing in
    news:p:

    > Someone asked me to write a homepage for their business, but because I
    > didn't know a lot of html (I don't need a lot for what I do), I
    > declined. He got someone else to do it, but for some reason they
    > refused to upload it, so he asked me if I could upload it. I said sure,
    > and he gave me it on a cd-r. While going over it though, I noticed an
    > ordering form. I've never used forms myself, so I didn't know what to
    > make of it. I tried looking at some html references, and something does
    > indeed seem a little fishy about it. But then, it could just be my
    > ignorance on tables/forms.


    <snip>

    > The thing that bothers me is the bit at the bottom. AFAIK, usually when
    > one submits a form, it gets passed to a serverside script. This doesn't
    > seem to go anywhere. I want to upload this thing, but I'm hesitant,
    > because I don't want the guy to have a homepage with a dummy form on
    > it. Neither do I want to have to learn more html (or God forbid, perl),
    > I mean, that's why I declined in the first place.
    >


    As said in a previous post, there is no FORM element, which usually
    contains the action of where the name/value pairs are processed.

    If you don't want to upload the form, then set your system up as a web
    server and test it on your own machine. Then you can see what the form
    might do. If you have a windows machine, then you can set up IIS using XP
    Pro or Personal Web Server for 98.


    --
    Adrienne Boswell
    http://www.cavalcade-of-coding.info
    Please respond to the group so others can share
    Adrienne, Jun 9, 2005
    #9
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?QXNoYQ==?=

    how does this work? objds.tables(0).select

    =?Utf-8?B?QXNoYQ==?=, Jul 23, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    5,571
    Shiva
    Jul 23, 2004
  2. Felix_WafyTech
    Replies:
    1
    Views:
    3,320
    Steven Cheng[MSFT]
    Feb 28, 2006
  3. Peter Bassett
    Replies:
    3
    Views:
    917
    Augustus
    Aug 15, 2003
  4. Otuatail

    Tables within tables

    Otuatail, Jul 31, 2004, in forum: HTML
    Replies:
    7
    Views:
    486
  5. Chris Brat
    Replies:
    5
    Views:
    689
    =?iso-8859-1?q?Luis_M._Gonz=E1lez?=
    Aug 22, 2006
Loading...

Share This Page