Thank you Steve,

The problem is that when I use the <DocType HTML>, BBEdit shows 232 syntax errors on the index page alone. If I use 4.01 transitional it only shows about 20 errors. I'm sure that the 232 errors don't need to be designed out but I don't know how to get BBEdit to show me only the legitimate syntax errors :) I'd prefer not to change the doctype at all but probably cannot get BBEdit to handle the orignal one.

Thanks for your help -- Jack


On 7/10/11, Steve Piercy said ……

Just use the HTML5 doctype, unless you really, really need something
specific to design for non-standard modes:
<!DOCTYPE html>

Explanation:
http://diveintohtml5.org/semantics.html#the-doctype

--steve

On Jul 10, 9:38 pm, Jack Stewart <[email protected]> wrote:
I am attempting to modify a website designed by a third party
with a DTD of <DOCTYPE HTML PUBLIC "-//SoftQuad//DTD HoTMetaL
PRO 5.0::19980907::extensions to HTML 4.0//EN" "hmpro5.dtd>

BBedit does not recognize the DocType and assumes it to be HTML
5. This cause problems in syntax checking, etc.

What is the best way to handle this problem. I am hesitant to
change the doctype because of potential browser rendering
problems. I do not know why this doctype was originally used by
the designer.

Thanks in advance -- Jack


--
You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to