Results 1 to 5 of 5

Thread: w3c Mystery

  1. #1
    Join Date
    Apr 2012
    Location
    Central New Jersey
    Posts
    207
    Thanks
    76
    Thanked 3 Times in 3 Posts

    Default w3c Mystery

    Folks,

    https://www.njexpungements.com/newLaw.php is producing three w3c error messages and I can't figure out why. Can someone here please look at it?

    A.
    Last edited by marain; 07-18-2018 at 01:24 PM. Reason: To mark "resolved"

  2. #2
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    469
    Thanks
    0
    Thanked 61 Times in 57 Posts

    Default

    You have a <span> tag at line 139 and the matching </span> tag at line 183. This tag pair contains block elements which is illegal HTML. Change these to <div> & </div> respectively and the errors go away.

    For an explanation of inline and block elements see here.

  3. The Following User Says Thank You to styxlawyer For This Useful Post:

    marain (07-18-2018)

  4. #3
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,197
    Thanks
    1
    Thanked 235 Times in 230 Posts

    Default

    coothead
    Last edited by coothead; 07-17-2018 at 10:54 PM. Reason: styxlawyer has answered the post
    ~ the original bald headed old fart ~

  5. #4
    Join Date
    Apr 2012
    Location
    Central New Jersey
    Posts
    207
    Thanks
    76
    Thanked 3 Times in 3 Posts

    Default

    Wow. I would never have found that!

    Thank you.

  6. #5
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    469
    Thanks
    0
    Thanked 61 Times in 57 Posts

    Default

    You're welcome. Spotting a </span> tag on a single line is usually a pointer to a problem.

Similar Threads

  1. utf-8 encoding mystery
    By wkennyspain in forum HTML
    Replies: 2
    Last Post: 08-21-2017, 05:14 PM
  2. Mystery Javascript
    By rlfinc in forum JavaScript
    Replies: 7
    Last Post: 11-02-2008, 02:11 AM
  3. Mystery Javascript
    By kuau in forum JavaScript
    Replies: 6
    Last Post: 06-13-2008, 11:24 PM
  4. Mystery Function - say what?
    By kuau in forum PHP
    Replies: 4
    Last Post: 05-16-2008, 04:03 PM
  5. Mystery Script
    By kuau in forum JavaScript
    Replies: 11
    Last Post: 12-26-2007, 12:26 PM

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
  •