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 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jul 2007
    Location
    Wales
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    W3C XHTML Validation Help

    I've done all I can think of, but to me, this validation report makes no sense. It says that speech marks ( " ) aren't correct, but they need to be there!

    The Report is here

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,666
    Thanks
    6
    Thanked 1,006 Times in 979 Posts
    Speech marks? There are a lot of errors but none of them related to speech marks. I guess you’ll fix some of them by removing the slash from the opening <html> tag which is effectively closing the document before it started (resulting in the other errors).

    And, don’t mean to be rude but are you serious about the webdesign thing? If so then I would strongly suggest you recode your website from scratch using clean and semantic HTML (strict doctype), and scrapping this ten year old technique of table layouts. This is considered very amateurish in these days and won’t bring you a lot of jobs by people that care (and they do!).

  • #3
    New to the CF scene
    Join Date
    Jul 2007
    Location
    Wales
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Gimme a break, I've only just finished a web design course...

    What about this? <table border="1" height="550"

    That red bit is where the error is supposed to be...
    Last edited by Dyolf; 07-16-2007 at 02:42 PM.

  • #4
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Location
    Lancaster, UK
    Posts
    1,134
    Thanks
    1
    Thanked 57 Times in 55 Posts
    It is saying that the attribute 'height' is not valid. You need to separate style from content by using a stylesheet. Do you know anything about CSS? If not then I seriously suggest you find out as many resources as you can about CSS and how to style/build a correct and semantic HTML page. For example, the above example you would give you table an id, such as #mytable and then style it as follows:

    Code:
    <style type="text/css">
    
    #mytable {
    height: 500px;
    width: 760px;
    text-align: center;
    border: 1px solid #CC0000;
    }
    
    </style>
    And HTML:
    Code:
    <table id="mytable" cellpadding="0">
    
    
    </table>
    That goes in your head section of the page (or an external stylesheet later on).
    "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

  • #5
    New to the CF scene
    Join Date
    Jul 2007
    Location
    Wales
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by ahallicks View Post
    It is saying that the attribute 'height' is not valid. You need to separate style from content by using a stylesheet. Do you know anything about CSS? If not then I seriously suggest you find out as many resources as you can about CSS and how to style/build a correct and semantic HTML page. For example, the above example you would give you table an id, such as #mytable and then style it as follows:

    Code:
    <style type="text/css">
    
    #mytable {
    height: 500px;
    width: 760px;
    text-align: center;
    border: 1px solid #CC0000;
    }
    
    </style>
    And HTML:
    Code:
    <table id="mytable" cellpadding="0">
    
    
    </table>
    That goes in your head section of the page (or an external stylesheet later on).
    Thanks, I know a bit about CSS, mostly about hyperlinks and text decoration. I'll try that.


  •  

    Posting Permissions

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