Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > John: fixed it.

Reply
Thread Tools

John: fixed it.

 
 
richard
Guest
Posts: n/a
 
      02-15-2009
Now all you need to do is dress it up in the css the way you want.
I ran it through the validator and it validates as 4.01 transitional.
Took all of 10 minutes.


<div class="foto"><img src="images/160NewsOrange_02.jpg"
alt="something"></div>
<div class="aform">

<form name="contact_form" method="post" action="contact.php">
NAME:<input type="text" name="your_name" size="10">
<br>
EMAIL: <input type="text" name="your_email"
</form>
</div>
<div class="sendit">

<input type="submit" name="Submit" value="Submit">
</div>
<div>SECURE&amp; CONFIDENTIAL<br>
Youremail address will NEVER be rented, traded or sold.<br>
WE GUARANTEE YOUR CONFIDENTIALITY. <br>
We hate spam just as much as you do.
</div>
 
Reply With Quote
 
 
 
 
John
Guest
Posts: n/a
 
      02-15-2009
On Sun, 15 Feb 2009 14:18:38 -0500, richard <(E-Mail Removed)>
wrote:

>Now all you need to do is dress it up in the css the way you want.
>I ran it through the validator and it validates as 4.01 transitional.
>Took all of 10 minutes.
>
>
><div class="foto"><img src="images/160NewsOrange_02.jpg"
>alt="something"></div>
><div class="aform">
>
><form name="contact_form" method="post" action="contact.php">
>NAME:<input type="text" name="your_name" size="10">
><br>
>EMAIL: <input type="text" name="your_email"
></form>
></div>
><div class="sendit">
>
><input type="submit" name="Submit" value="Submit">
></div>
><div>SECURE&amp; CONFIDENTIAL<br>
>Youremail address will NEVER be rented, traded or sold.<br>
>WE GUARANTEE YOUR CONFIDENTIALITY. <br>
>We hate spam just as much as you do.
></div>



This works pretty good, but the part with the Name & Email the lines
down the side are cut off for some reason. Meaning - the graphic stops
at the name & email and then starts again after that.




 
Reply With Quote
 
 
 
 
Jonathan N. Little
Guest
Posts: n/a
 
      02-15-2009
richard wrote:
> Now all you need to do is dress it up in the css the way you want.
> I ran it through the validator and it validates as 4.01 transitional.
> Took all of 10 minutes.
>
>
> <div class="foto"><img src="images/160NewsOrange_02.jpg"
> alt="something"></div>
> <div class="aform">
>
> <form name="contact_form" method="post" action="contact.php">
> NAME:<input type="text" name="your_name" size="10">
> <br>
> EMAIL: <input type="text" name="your_email"
> </form>
> </div>
> <div class="sendit">
>
> <input type="submit" name="Submit" value="Submit">
> </div>
> <div>SECURE&amp; CONFIDENTIAL<br>
> Youremail address will NEVER be rented, traded or sold.<br>
> WE GUARANTEE YOUR CONFIDENTIALITY. <br>
> We hate spam just as much as you do.
> </div>


You do realize that your example is not remotely valid, right? For one,
the submit button is not even within the form that it is supposed to
submit.

Anyway, what did you fix? Seems to be a continuation of a thread that
you do not reference.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
richard
Guest
Posts: n/a
 
      02-16-2009
On Sun, 15 Feb 2009 17:04:58 -0500, "Jonathan N. Little"
<(E-Mail Removed)> wrote:

>richard wrote:
>> Now all you need to do is dress it up in the css the way you want.
>> I ran it through the validator and it validates as 4.01 transitional.
>> Took all of 10 minutes.
>>
>>
>> <div class="foto"><img src="images/160NewsOrange_02.jpg"
>> alt="something"></div>
>> <div class="aform">
>>
>> <form name="contact_form" method="post" action="contact.php">
>> NAME:<input type="text" name="your_name" size="10">
>> <br>
>> EMAIL: <input type="text" name="your_email"
>> </form>
>> </div>
>> <div class="sendit">
>>
>> <input type="submit" name="Submit" value="Submit">
>> </div>
>> <div>SECURE&amp; CONFIDENTIAL<br>
>> Youremail address will NEVER be rented, traded or sold.<br>
>> WE GUARANTEE YOUR CONFIDENTIALITY. <br>
>> We hate spam just as much as you do.
>> </div>

>
>You do realize that your example is not remotely valid, right? For one,
>the submit button is not even within the form that it is supposed to
>submit.
>
>Anyway, what did you fix? Seems to be a continuation of a thread that
>you do not reference.


I am showing that the crappy use of tables is totally unnecessary.
Along with all the pointless and useless, nonexistant attributes.
He can learn and finish it off correctly himself.


 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      02-16-2009
richard wrote:

> Along with all the pointless and useless, nonexistant attributes.


And which nonexistant attributes would these be? Oh yes, I see, the one
where you claim that <font face is not a valid tag, even though it is
acually a quite valid font tag with a quite valid face attribute, or did I
miss one other of your errors? Deprecated may be but not invalid.

And you might take your own advice and validate *your* code.

<quote>
<form...>
</form>
<input type="submit"...
</quote>

Doesn't look very valid to me


 
Reply With Quote
 
richard
Guest
Posts: n/a
 
      02-16-2009
On Mon, 16 Feb 2009 01:15:47 GMT, "rf" <(E-Mail Removed)> wrote:

>richard wrote:
>
>> Along with all the pointless and useless, nonexistant attributes.

>
>And which nonexistant attributes would these be? Oh yes, I see, the one
>where you claim that <font face is not a valid tag, even though it is
>acually a quite valid font tag with a quite valid face attribute, or did I
>miss one other of your errors? Deprecated may be but not invalid.
>
>And you might take your own advice and validate *your* code.
>
><quote>
><form...>
></form>
><input type="submit"...
></quote>
>
>Doesn't look very valid to me
>



I did validate it, jerk.
 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      02-16-2009
richard wrote:
> On Mon, 16 Feb 2009 01:15:47 GMT, "rf" <(E-Mail Removed)> wrote:
>
>> richard wrote:
>>
>>> Along with all the pointless and useless, nonexistant attributes.

>>
>> And which nonexistant attributes would these be? Oh yes, I see, the
>> one where you claim that <font face is not a valid tag, even though
>> it is acually a quite valid font tag with a quite valid face
>> attribute, or did I miss one other of your errors? Deprecated may be
>> but not invalid.
>>
>> And you might take your own advice and validate *your* code.
>>
>> <quote>
>> <form...>
>> </form>
>> <input type="submit"...
>> </quote>
>>
>> Doesn't look very valid to me
>>

>
>
> I did validate it,


So how do you explain this:

EMAIL: <input type="text" name="your_email"
</form>

Clearly invalid, and the validator complains bitterly about it.

> jerk.


That may be so but I don't lie.


 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      02-16-2009
Jonathan N. Little wrote:
> richard wrote:


>> EMAIL: <input type="text" name="your_email"
>> </form>


> You do realize that your example is not remotely valid, right? For
> one, the submit button is not even within the form that it is
> supposed to submit.


Actually the submit button *is* in the form. See the above, the </form>
ending tag is swallowed up in an error, the previous input lacking a >, so
the form goes to the end of the page, or somewhere


 
Reply With Quote
 
richard
Guest
Posts: n/a
 
      02-16-2009
On Mon, 16 Feb 2009 02:32:51 GMT, "rf" <(E-Mail Removed)> wrote:

>richard wrote:
>> On Mon, 16 Feb 2009 01:15:47 GMT, "rf" <(E-Mail Removed)> wrote:
>>
>>> richard wrote:
>>>
>>>> Along with all the pointless and useless, nonexistant attributes.
>>>
>>> And which nonexistant attributes would these be? Oh yes, I see, the
>>> one where you claim that <font face is not a valid tag, even though
>>> it is acually a quite valid font tag with a quite valid face
>>> attribute, or did I miss one other of your errors? Deprecated may be
>>> but not invalid.
>>>
>>> And you might take your own advice and validate *your* code.
>>>
>>> <quote>
>>> <form...>
>>> </form>
>>> <input type="submit"...
>>> </quote>
>>>
>>> Doesn't look very valid to me
>>>

>>
>>
>> I did validate it,

>
>So how do you explain this:
>
>EMAIL: <input type="text" name="your_email"
></form>
>
>Clearly invalid, and the validator complains bitterly about it.
>
>> jerk.

>
>That may be so but I don't lie.
>



For one, the validator says the code validates.
Now if you'll kindly note, it issued a "WARNING".

Now exactly what does w3schools.com have to say about this method you
question?
http://www.w3schools.com/TAGS/tag_form.asp

Oh my. Looks like you just your ass kicked.


Validation Output: 1 Warning

Below is a list of the warning message(s) produced when checking your
document.

1. Warning Line 21, Column 0: unclosed start-tag requires SHORTTAG
YES.

</form>

The construct <foo<bar> is valid in HTML (it is an example of
the rather obscure “Shorttags” feature) but its use is not
recommended. In most cases, this is a typo that you will want to fix.
If you really want to use shorttags, be aware that they are not well
implemented by browsers.
 
Reply With Quote
 
Chris F.A. Johnson
Guest
Posts: n/a
 
      02-16-2009
On 2009-02-16, richard wrote:
....
> Now exactly what does w3schools.com have to say about this method you
> question?
> http://www.w3schools.com/TAGS/tag_form.asp
>
> Oh my. Looks like you just your ass kicked.


What I see on that page is a snippet of invalid HTML.

(You do know that w3schools has no connection with W3C?)

--
Chris F.A. Johnson, webmaster <http://Woodbine-Gerrard.com>
================================================== =================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
 
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
Access to AP with fixed IP Kim Schroeder Wireless Networking 8 10-28-2005 11:32 AM
Free Fixed-Width/Fixed-Pitch fonts? johnp HTML 4 05-23-2005 06:14 AM
fixed ip address at home, auto elsewhere =?Utf-8?B?UmFkZE1hbm4=?= Wireless Networking 1 10-16-2004 02:33 AM
Problem with site in Firefox - how can this be fixed? John Coxon Firefox 4 08-14-2004 07:40 PM



Advertisments