SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2001
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with correcting CSS errors

    Hi,

    How do I correct the 4 html/css errors shown on this html validation page


    Thanks

  2. #2
    SitePoint Guru
    Join Date
    Jan 2007
    Posts
    967
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Error Line 44, Column 66: document type does not allow element "BODY" here

    There is probably something unclosed in the head. (Styles should really go in an external style sheet.)

    Error Line 50, Column 19: there is no attribute "HEIGHT"

    Rows don't use heights. Its best to use a spacer image to control height.

    Error Line 106, Column 90: there is no attribute "HEIGHT"
    Tables don't have a height attribute

    Error Line 138, Column 28: document type does not allow element "STYLE" here

    Styles go in the head or external style sheet.

  3. #3
    SitePoint Evangelist
    Join Date
    Jan 2001
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for taking the time to help.
    You were very helpful.
    I managed to correct the errors and the page now validates correctly.
    Herman Drost
    http://www.isitebuild.com
    Affordable Web Site Design
    and Web Site Hosting


Bookmarks

Posting Permissions

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