Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2005
    Location
    Canberra, ACT
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Page Looks Strange

    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?

  • #2
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Quote Originally Posted by FatherShark View Post
    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
    Last edited by effpeetee; 07-26-2007 at 07:36 AM. Reason: Extra information.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #3
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Location
    Lancaster, UK
    Posts
    1,134
    Thanks
    1
    Thanked 57 Times in 55 Posts
    I'd also recommend that you get your 'friend' to read the following:

    Why tables for layout is stupid

    And follow the pointers it gives on creating web sites in (X)HTML and CSS, separating style from content
    "write it for FireFox then hack it for IE."
    Quote Originally Posted by Mhtml View Post
    Domains are like women - all the good ones are taken unless you want one from some foreign country.
    Reputation is your friend

    Development & SEO Tools


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •