Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > [tables] What does this do?

Reply
Thread Tools

[tables] What does this do?

 
 
Philip
Guest
Posts: n/a
 
      06-08-2005
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.

 
Reply With Quote
 
 
 
 
John
Guest
Posts: n/a
 
      06-08-2005
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
 
Reply With Quote
 
 
 
 
Animesh K
Guest
Posts: n/a
 
      06-08-2005
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
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      06-08-2005
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
 
Reply With Quote
 
Lauri Raittila
Guest
Posts: n/a
 
      06-08-2005
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/bu...tml?AID=882173
 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      06-08-2005
> From: Philip <(E-Mail Removed)>

> 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

 
Reply With Quote
 
JDS
Guest
Posts: n/a
 
      06-09-2005
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.velocityreviews.com/forums/(E-Mail Removed)
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      06-09-2005
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
 
Reply With Quote
 
Adrienne
Guest
Posts: n/a
 
      06-09-2005
Gazing into my crystal ball I observed Philip <(E-Mail Removed)> writing in
news(E-Mail Removed):

> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.NET 2.0 ASPx Page does not load, but HTM does prabhupr@hotmail.com ASP .Net 1 02-08-2006 12:57 PM
Button OnClick does not fire on first postback, but does on second Janet Collins ASP .Net 0 01-13-2006 10:08 PM
Does the 2.0 Framework come out when Visual Studio .NET 2005 does? needin4mation@gmail.com ASP .Net 3 10-07-2005 12:55 AM
CS0234 Global does not exist ... but it genuinely does Bill Johnson ASP .Net 0 07-08-2005 06:34 PM
Does no one else think microsoft does a poor job? =?Utf-8?B?SmVyZW15IEx1bmRncmVu?= Wireless Networking 2 11-20-2004 12:17 AM



Advertisments