Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Please help me with code on my site


  • Please log in to reply

#1
cyn54

cyn54

    Member

  • Member
  • PipPip
  • 36 posts
My site is http://www.placementsusa.com

My site doesn't work in some of the MSIE browsers.
Also, I have so very many errors in my code.
And on http://www.placement...com/submit.html,
I can't get the form to work. I want, after they press submit, for it to
go to [email protected]. Also, if you look at the form, the name and email section is too far to the right.

Can somebody help me without changing the look of my website?
I have gone to HTML Tidy, but their fixes ruin the look of my site.

Thank you,
Cynthia

Edited by cyn54, 11 April 2011 - 10:04 AM.

  • 0

Advertisements


#2
MS-Free

MS-Free

    Member

  • Member
  • PipPipPip
  • 425 posts
okay... couple of things I noticed just reviewing it really quick:

On the form, the "action" is the homepage... that would seem to imply that is where you want the data sent... you could set that to be "mailto: jobs AT placement DOT com" - but that would be very easy for spam bots to pick up on... more likely you'd want to set the page up with php or use some cgi back-end - there's plenty of examples on the web on how to set-up a mailto form.

As for the Name fields being mis-aligned, my guess is that has something to do with column sizes... I also have heard that layouts aren't as typically done using tables anymore, more common is the use of DIV tags and CSS.
  • 0

#3
AstraNut

AstraNut

    Member

  • Member
  • PipPipPip
  • 465 posts
For http://www.placementsusa.com/ :

26 CSS Errors

67 HTML Errors

You are coding to a
XHTML 1.0 Transitional doctype. Plus, it looks like you used Micro$oft Office (Word maybe) to make tour web page. Word, WordPad, Publisher and even the infamous FrontPage, including many Microsoft web editors should NEVER be used for web pages. They guarantee that your web pages will NOT be cross-browser compatible because of all the Microsoft Schema code it adds. Only IE and Maxthon understand this code. Additionally, FrontPage requires server extensions be installed to work correctly. Also, OpenOffice is not a web editor.

Many of the errors are minor because you didn't close a lot of tags according to the stntax required for XHTML.

For http://www.placement...com/submit.html :

6 CSS Errors

17 HTML Errors

NEVER use HTML Tidy to repair your mistakes unless you have gone in and set the parameters for it yourself. It only corrects errors that it understands anyway which are usually the simple easily fixed one.

Forms:

Recommend using a server-side script language if your web site allows it. Otherwise, you will have to use a client-side dependent "mailto:" action to get the form info sent to you.

Your current hosting package or service MUST allow SMTP ( http://en.wikipedia....ansfer_Protocol ) to work. Otherwise, no email can be sent.

PHP: Sending Email Tutorial (Text/HTML/Attachments): http://www.webcheats..._attachment.php

Edited by AstraNut, 12 April 2011 - 02:36 PM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP