Forum Moderators: open

Message Too Old, No Replies

Validating files in Dreamweaver MX2004

Customizing the validation

         

GuyHoldingBag

4:46 pm on Feb 23, 2004 (gmt 0)

10+ Year Member



Short version: W3c's validator says my pages are valid, DWMX2004 says they're a mess.

Long version:
I've been validating all my pages using the W3C's validator at:
[validator.w3.org...]
and they check out fine.

My pages all have
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
as their DTD.

Now, when I'm trying to save time and validate my pages as a group using DWMX's validate feature - I get a ton of errors that cite HTML 3.2.

e.g.
The tag:"p" is not allowed within: "table" It is only allowed within: applet, center, div, map, td, th.[HTML 3.2]

Now, I've gone to the Validation preferences and I can't see anything that alows me to disable 3.2 errors and DW is telling me it only checks these settings if the files don't have a DTD.

Have any MX users out there tweaked their validator to get results like the W3C?

thehittmann

4:55 am on Feb 25, 2004 (gmt 0)

10+ Year Member



click the validation tab, then click on the little arrow a the top of the menu. select settings and the you can customize what you want to validate for there.

thehittmann

4:56 am on Feb 25, 2004 (gmt 0)

10+ Year Member



Also make sure that your doc type is in the correct place. Before the <html> and <head> tags.

GuyHoldingBag

3:33 pm on Feb 25, 2004 (gmt 0)

10+ Year Member



I know where the options are, what I'm saying is they don't appear to affect the validation results.

The errors I'm getting are for things that the W3C validator allows - and I've set the DWMX validation options to only show errors and validate against HTML 4 - and I still get errors like "you can't have a paragraph in a table."

The DTD is the first line of the code.