help with error message

For topics about current BETA or future releases, including feature requests.

help with error message

Postby roedygr » Mon Feb 13, 2012 7:48 pm

The "a" element cannot be used here. It is nested in another "a" element and cannot be nested. Has the previous "a" element been ended with an end tag? This element may be contained in "body", "caption", "td", "th", and "svg". This element may not be contained in "a", "button", "svg", and "table".

The above error message can drive you nuts trying to find the unbalance.
It would be nice if:
1. it told you the line number of the enclosing <a
2. there were balancing tools. You point to something and it winks the match.
User avatar
roedygr
Rank V - Professional
Rank V - Professional
 
Posts: 249
Joined: Fri Feb 17, 2006 6:22 am
Location: Victoria BC Canada

Re: help with error message

Postby Albert Wiersch » Mon Feb 13, 2012 9:26 pm

Thanks for the suggestion (#1). I'll see if I can add the line number info in a future update.

As for #2, if you put the cursor on a start tag or end tag and press Ctrl+M, then CSE HTML Validator will try to find the matching tag.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Re: help with error message

Postby Albert Wiersch » Mon Feb 20, 2012 4:13 pm

Albert Wiersch wrote:Thanks for the suggestion (#1). I'll see if I can add the line number info in a future update.


This has been added for v11.01... to be released very soon now. :D
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX


Return to CSE BETA Talk

Who is online

Users browsing this forum: No registered users and 1 guest