+ Post New Thread
Results 1 to 4 of 4
EduGeek Joomla 1.5 Package Thread, w3c errors in Projects:; Running the site I'm currently working on through The W3C Markup Validation Service it brings up 34 errors! Mostly does ...
  1. #1
    speckytecky's Avatar
    Join Date
    May 2006
    Location
    UK
    Posts
    2,497
    Thank Post
    3,372
    Thanked 256 Times in 209 Posts
    Blog Entries
    3
    Rep Power
    109

    w3c errors

    Running the site I'm currently working on through The W3C Markup Validation Service it brings up 34 errors! Mostly does not allow element "p" here. I see the validator has the option to Cleanup Markup with HTML tidy.

    What's the recommendation here for sorting problems out please.

  2. #2

    Join Date
    Feb 2009
    Location
    Manchester
    Posts
    44
    Thank Post
    14
    Thanked 5 Times in 5 Posts
    Rep Power
    12
    It depends. What errors does it give you?

    HTML Tidy wouldn't be much use for a Joomla site as there'll be a lot of server side processing. I'd only ever use it to tidy up a static html page, and even then there's always the chance that it'll send your website all over the place.

  3. Thanks to fernt from:

    speckytecky (17th November 2009)

  4. #3
    speckytecky's Avatar
    Join Date
    May 2006
    Location
    UK
    Posts
    2,497
    Thank Post
    3,372
    Thanked 256 Times in 209 Posts
    Blog Entries
    3
    Rep Power
    109
    Thanks fernt,

    I see there is a Clean-up Messy Code icon in the admin page editor. Is that safe to use? Or am I best doing my editing line by line in notepad. Sample entry found by W3C:

    Line 249, Column 50: document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
    …Normal" style="margin: 0cm 0cm 0pt;"><span style="font-family: &quot;Verdana&✉
    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

  5. #4

    Join Date
    Feb 2009
    Location
    Manchester
    Posts
    44
    Thank Post
    14
    Thanked 5 Times in 5 Posts
    Rep Power
    12
    I get that error for my site too. For me, it's from the html I use to centre the highslide slideshow on each of my news items, but I'm not sure of a way around it (or at least haven't investigated it properly yet).

    I've never seen the Clean-up Messy Code icon, although I use JCE rather than the default TinyMCE. It might be worth a try, as long as you back up what you have there currently beforehand (easiest method is just to copy and paste it into Notepad, and then copy and paste it back into the editor when everything goes wrong).

  6. Thanks to fernt from:

    speckytecky (17th November 2009)

SHARE:
+ Post New Thread

Similar Threads

  1. Problem with W3C XHTML Validator
    By smali in forum Web Development
    Replies: 2
    Last Post: 8th August 2007, 09:06 AM
  2. Replies: 0
    Last Post: 2nd July 2007, 03:27 PM
  3. Replies: 5
    Last Post: 10th December 2006, 10:24 PM
  4. Moodle - W3C
    By wesleyw in forum Virtual Learning Platforms
    Replies: 3
    Last Post: 22nd May 2006, 01:03 PM
  5. Microsoft + W3C Standards = ...
    By E1uSiV3 in forum Jokes/Interweb Things
    Replies: 3
    Last Post: 12th October 2005, 12:53 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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