1 person found this helpful
You have a very old version of DW to create modern Standards Compliant Code. However, this is not the end of the story because if your knowledge of HTML and CSS is reasonably good then you can correct the errors manually. The HTML and CSS code is just plain text and so anybody can make changes easily.
You also need to make use of these validators:
The first one is for HTML and the second for CSS.
You could also try to download a free Expression Web from Microsoft Website. It will generate good code for you.
Hope this gets you started.
Hi and thank you!
I forgot to mention that I'm on a Mac, and that "free Expression Web" link would probably show me what code I need to manually update (each time I create a new document). Would you be willing to tell me what part of this (old) code is wrong? New document default code is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
The Vaildator keeps showing me this main error (among others) - which I do not have the savvy to understand:
The character encoding specified in the HTTP header (
utf-8) is different from the value in the
iso-8859-1). I will use the value from the HTTP header (
utf-8) for this validation.
It shows that error even on a page containing *only* the code that I shared with you above.
This should be your starting point for all your pages:
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
Microsoft is a Windows company so EW4 is not available for MAC. Sorry for this.
Hmm. Thank you. Still, however, the Validator now says that the document "cannot be checked". I just created a new fresh document with only that code in it, and that's what it said. Any thoughts?
Which browser are you using? I suggest use Mozilla Firefox as it a better browser for these things.