...

View Full Version : Page Looks Strange



FatherShark
07-26-2007, 04:43 AM
I'm looking at a friend's website (with my basic web markup knowledge), but I can't work out why it's appearing all over the shop:

http://users.tpg.com.au/srshark/html/about.html

Does anyone have any ideas as to how this can be fixed?

effpeetee
07-26-2007, 05:57 AM
I'm looking at a friend's website (with my basic web markup knowledge), but I can't work out why it's appearing all over the shop:

http://users.tpg.com.au/srshark/html/about.html

Does anyone have any ideas as to how this can be fixed?
There is no DOCTYPE as the first line of the HTML.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

This can cause all types of problems.

Try validating here

http://validator.w3.org/

It's free.

effpeetee

This is what I got when using the validator on your site.

This page is not Valid (no Doctype found)!
Result: Failed validation, 12 Errors

ahallicks
07-26-2007, 09:25 AM
I'd also recommend that you get your 'friend' to read the following:

Why tables for layout is stupid (http://www.hotdesign.com/seybold/)

And follow the pointers it gives on creating web sites in (X)HTML and CSS, separating style from content



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum