SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Feb 2007
    Location
    Melbourne, Australia
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need to solve the Validation error

    Can anyone see whats causing the following page not to pass the w3c validation test?

    I've been staring at this way too long now.

    Heres The page I'm trying to validate.
    http://www.blythe-sanderson.com.au/new-site/

  2. #2
    SitePoint Wizard bronze trophy Tailslide's Avatar
    Join Date
    Feb 2006
    Location
    Bedford, UK
    Posts
    1,687
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're missing a closing div tag in there somewhere.

    My suggestion would be to go through and add a comment at each closing div tag saying what div it is (you've already got some in there )- that way it'll be easier to track down which one you've forgotten:

    <!--close header-->
    Little Blue Plane Web Design
    Blood, Sweat & Rust - A Land Rover restoration project

  3. #3
    SitePoint Zealot
    Join Date
    Feb 2007
    Location
    Melbourne, Australia
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmmm yes I getting that sinking feeling. This page is using Drupal to produce alot of the content. I'm thinking the error maybe there.

    Also if I change this
    Code:
    <div id="redline" />
    to this
    Code:
    <div id="redline"></div>
    The layout completely breaks. So I'm thinking this is where my bug might lay.

  4. #4
    SitePoint Zealot
    Join Date
    Feb 2007
    Location
    Melbourne, Australia
    Posts
    144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok I solved the issue just after writing the above post.

    The tag <div id="redline" /> should have been <div id="redline">


    I guess so time not looking a the code did me some good as well as that little gem of encouragement from Tailslide!


    YAY!


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
  •