Jump to content
  • GUESTS

    If you want access to members only forums on HSO, you will gain access only when you Sign-in or Sign-Up .

    This box will disappear once you are signed in as a member. ?

Dreamweaver Question for anyone who has it


MuleShack

Recommended Posts

I have Dreamweaver version 8 and used it on my laptop. Since I installed it on my new PC that I built i am having problems with one setting that doesn't work.

Previously when I used the html <!-- Comments --> tag everything in the comments went grey. Now that it is on my PC, it doesn't change colors.

I tried to set it up in preferences, in the Html and PHP sections but it doesn't change on the code design screen.

Any ideas why?

Link to comment
Share on other sites

Here's some info about color customizations:

http://www.adobe.com/support/dreamweaver/extend/extensible_code_coloring/

Look for the file

<dreamweaver_install>/Configuration/CodeColoring/Colors.xml

(or if there's one that looks similar in name), crack it open and look for the html comment section. See what color is defined. Apparently 999999 is gray:

Example:

<syntaxColor id="CodeColor_HTMLComment" text="#999999" italic="true" />

Link to comment
Share on other sites

Yep, it says its suppose to be grey in the code coloring for Html and Php, but viewing the code it doesn't change. The Html shows it as part of the example in the bottom section, but php has it as gray on top but doesn't have it as an example in the bottom section.

Its Html in a php page, so maybe i have to add a line to the xml file so it shows up in php?

Never had to do that with my laptop.

Link to comment
Share on other sites

If it's inside of a php tag I think you'll need to use:

<? # This is a comment blah blah ?>

<? // This is a comment too blah blah blah ?>

Thanks, but not asking how to create a comment, but rather inside of dreamweaver when viewing the code. It is suppose to change the color scheme of different code types so they are easier to identify.

Right now it only shows php as red and everything else as blue...when before it would show any comments or hidden text as a grey. It seems to be set up correctly but not displaying it correctly.

Link to comment
Share on other sites

Join the conversation

You can post now ↓↓↓ or ask your question and then register. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.