That's exactly how code coloring is supposed to work to help you
troubleshoot cases like that.
If the coloring of your page is "messed up", then go backwards until you
find where the coloring starts being "messed up" and you will usually
(DW does not handle all possible syntax) find the place in your code
where there is syntax error.
It's not just to make your code look pretty!
Hope this helps,
Randy
Quote:
A closing
?> tag was missing in some php code that was "include()"ed at the beginning of
all of my pages. I guess that the different colors and the sporatic behavior
was just due to dreamweaver not refreshing the colors immediately. It was a
difficult problem to troubleshoot, though. |