Gabe,
The main purpose of syntax highlighting is to you can easily see when
the syntax of a page is not correct. It's not just to look pretty!
First, trace the incorrect coloring backwards to where it starts to make
sure that there is not a syntax error on your page.
Second, the problem may be because DW thinks it is an ASP JScript or
HTML page. The first thing DW looks for is the .asp file extension. Then
it looks for the @PAGE directive at the top of the page. After that it
looks at the default Server Model for your Site. If the page is not in a
site, then it should default to ASP VBScript, unless you have manually
altered the default documenttype definitions or Server Model definitions
(i.e. the CanRecognizeDocument() function).
Hope this helps,
Randy
Quote:
When I initially create an ASP VBScript page in Dreamweaver 8, the syntax
highlighting works fine. If I then close the file and reopen it, the ASP
syntax coloring basically goes away. It becomes just light and dark blue.
This doesn't appear to be happening in any other document types (PHP, CFM,
etc...). Is there any way to stop this from happening? |