Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   [tables] What does this do? (http://www.velocityreviews.com/forums/t161990-tables-what-does-this-do.html)

Philip 06-08-2005 10:44 AM

[tables] What does this do?
 
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.


John 06-08-2005 10:50 AM

Re: [tables] What does this do?
 
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

Animesh K 06-08-2005 06:25 PM

Re: [tables] What does this do?
 
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

Jonathan N. Little 06-08-2005 09:05 PM

Re: [tables] What does this do?
 
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

Lauri Raittila 06-08-2005 09:14 PM

Re: [tables] What does this do?
 
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

dorayme 06-08-2005 11:01 PM

Re: [tables] What does this do?
 
> From: Philip <asdf@ghjk.net>

> 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


JDS 06-09-2005 02:22 AM

Re: [tables] What does this do?
 
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 | jeffrey@go.away.com
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/


Jonathan N. Little 06-09-2005 03:45 AM

Re: [tables] What does this do?
 
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

Adrienne 06-09-2005 05:54 AM

Re: [tables] What does this do?
 
Gazing into my crystal ball I observed Philip <asdf@ghjk.net> writing in
news:pan.2005.06.08.10.44.44.472582@wikipedia.org:

> 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


All times are GMT. The time now is 05:49 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.