View Full Version : Some weird html errors :(
Philip_Clark
May 4th, 2001, 12:17 AM
Would someone be able to help me solve these errors that I'm getting on the frontpage of my site please. I started off with 65 errors and I've managed to get it down but I don't know the solution for the errors listed below.
I'm running my frontpage through http://validator.w3.org/ to check my site for html errors.
The errors can be viewed here http://server5.hypermart.net/philipclark/movie_site/errors.txt
My site can be viewed here: http://server5.hypermart.net/philipclark/movie_site/
I'm still working on the frontpage so any suggestions for what else what I should do would be greatly appreciated. What do you think and what don't you like?
[ 03 May 2001: Message edited by: Philip_Clark ]
MishY
May 4th, 2001, 12:32 AM
Moving to Website & Graphics :)
You can find your post by >>Clicking Here<< (http://www.cybertechhelp.com/cgi-bin/ultimatebb.cgi?ubb=forum&f=11)
MishY
Philip_Clark
May 4th, 2001, 12:42 AM
Sorry
Philip_Clark
May 4th, 2001, 12:42 AM
I've changed the doc type from:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
to:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
and now I'm only getting these errors:
http://server5.hypermart.net/philipclark/movie_site/new_errors.txt
Philip_Clark
May 4th, 2001, 01:10 AM
Another thing:
When I put in the </form> tag it automatically creates a blank line. Does anyone know how to get rid of it as it screws up my layout a bit.
Philip_Clark
May 4th, 2001, 01:33 AM
I've also got a problem with the page displaying in Netscape: http://server5.hypermart.net/philipclark/movie_site/netscape_screenshot.jpg
Steven.Bentley
May 4th, 2001, 03:38 PM
What you've got here as far as the validator is concerned is not a problem.
The W3C Validator checks for strict HTML code, and it's complaining that you've used certain attributes in tags which are not part of the HTML language. Bordercolorlight is an example of a Microsoft extension to the HTML language, it will work fine in IE, and will be ignored by all other browsers, and will throw errors in the validator.
In general if all it's doing is changing the colour unless it manages to mess it up so as it's unreadable don't be unduly concerned that the validator doesn't like it.
The alignment one is a weird one, when I save as the html to my hard disk it's aligned properly, from the server it isn't.
I suspect it's to do with the fact that it's in a span of class size1_center_black; maybe the external CSS file specifies something that repositions it.