當前位置:成語大全網 - 書法字典 - 如何在Dreamweaver中更改代碼的顏色

如何在Dreamweaver中更改代碼的顏色

通過相應路徑找到Colors.xml文件並覆蓋以下代碼:

在XP系統下:

c:文檔和設置administrator applicationdataadobedreamweaver CS4zh _ CNConfigurationCodeColoring

在Win7系統下

c:用戶管理員appdataroaminggadobedreamweavers 5 en _ us配置代碼著色

覆蓋後發現背景沒有變化。

覆蓋後執行:編輯-& gt;首選參數(Ctrl+U)-》》;代碼顏色-& gt;html的默認背景顏色更改為#3f3f3f,如果不適合您可以在配色方案中更改它。

(對於配色方案,直接單擊即可在下面的預覽窗口中找到代碼以更改顏色)。

代碼如下:

& ltcodeColors & gt

& lt顏色組& gt

& lt語法color id =“CodeColor _ html entity“bold =“true“/& gt。

& ltsyntax color id =“CodeColor _ JavaScript native“text =“# 009999“/& gt;

& ltsyntax color id =“CodeColor _ JavaScript number“text =“# ff 0000“/& gt;

& ltsyntax color id =“CodeColor _ JavaScript client“text =“# 990099“/& gt;

& ltsyntax color id =“CodeColor _ JavaScript sprykeywords“text =“# ff 6208“/& gt;

& ltsyntax color id =“CodeColor _ JavaScript spryclass“text =“# ff 6208“/& gt;

& ltsyntax color id =“code color _ template text“text =“# 999999“/& gt;

& ltsyntax color id =“CodeColor _ templatecommentext“text =“# 006600“/& gt;

& ltsyntax color id =“code color _ TemplateCommentAttr“text =“# 006600“/& gt;

& ltsyntax color id =“code color _ CFCommentText“text =“# 000000“bgcolor =“# ffff 99“/& gt。

& ltsyntax color id =“code color _ JavaJSP“text =“# 009999“/& gt;

& ltsyntax color id =“CodeColor _ JavaImplicit“text =“# 999900“/& gt;

& ltsyntax color id =“CodeColor _ JavaOther“text =“# 990099“/& gt;

& ltsyntax color id =“CodeColor _ jsppageooperator“text =“# 000000“/& gt。

& ltsyntax color id =“CodeColor _ JSPTaglibOperator“text =“# 000000“/& gt;

& ltsyntax color id =“code color _ JSPIncludeOperator“text =“# 000000“/& gt;

& ltsyntax color id =“CodeColor _ PHPScriptBlock“text =“# ff 0000“bold =“true“/& gt;

& ltsyntax color id =“CodeColor _ PHPScriptComment“text =“# ff 9900“/& gt;

& ltsyntax color id =“CodeColor _ PHPScriptConstant“text =“# 552200“/& gt;

& ltsyntax color id =“CodeColor _ PHPScriptString“text =“# cc 0000“/& gt;

& lt語法color id =“code color _ PHPScriptFunctionsKeywords“text =“# 0000 ff“/& gt。

& ltsyntax color id =“CodeColor _ phpscriptserved“text =“# 006600“/& gt;

& ltsyntax color id =“CodeColor _ PHP scripttypes“text =“# 009999“/& gt。

& ltsyntax color id =“CodeColor _ PHPScriptVariables“text =“# 0066 ff“/& gt;

& ltsyntax color id =“code color _ ASPIncludeAttributes“text =“# 990099“/& gt;

& ltsyntax color id =“CodeColor _ ASPDirOperator“text =“# 000000“/& gt。

& lt語法color id =“code color _ library text“bgcolor =“# FFFFCC“/& gt。

& lt語法color id =“code color _ date text“bgcolor =“# FFFFCC“/& gt。

& ltsyntax color id =“CodeColor _ ASPJSNative“text =“# 009999“/& gt;

& ltsyntax color id =“CodeColor _ ASPJSKeywords“text =“# 990099“/& gt;

& ltsyntax color id =“code color _ aspnetcsharkeywords“text =“# 990099“/& gt;

& ltsyntax color id =“CodeColor _ VBS active“text =“# 990099“/& gt;

& lt語法color id =“code color _ VBS constants“text =“# 009999“/& gt;

& ltsyntax color id =“code color _ VBNetNative“text =“# 990099“/& gt;

& lt語法color id =“code color _ VBNetConstants“text =“# 009999“/& gt。

& lttag color id =“code color _ html anchor“text =“# 006600“/& gt;

& lttagColor id =“CodeColor _ html form“text =“# ff 9900“/& gt;

& lttag color id =“code color _ html image“text =“# 990099“/& gt;

& lttag color id =“code color _ html object“text =“# 990000“/& gt;

& lttag color id =“code color _ html script“text =“# 990000“/& gt;

& lttagColor id =“CodeColor _ html style“text =“# 990099“/& gt;

& lttag color id =“code color _ html table“text =“# 009999“/& gt;

& ltsyntax color id =“CodeColor _ spry attributes“text =“# ff 6208“/& gt。

& lt語法color id =“code color _ Spry _ Tag _ Normal“bgcolor =“# f 8d 0af“/& gt;

& lt語法color id =“code color _ Spry _ Tag _ Hover“bgcolor =“# ff9b 58“/& gt。

& lt語法color id =“code color _ Spry _ Tag _ Selected“bgcolor =“# ff 6d 0 c“/& gt;

& ltsyntax color id =“CodeColor _ html comment“text =“# 999999“/& gt;

& lt語法color id =“code color _ html string“text =“# 0000 ff“/& gt。

& lt語法color id =“code color _ html number“text =“# 0000 ff“/& gt。

& lt語法color id =“CodeColor _ JavaScript function“text =“# 000000“bold =“true“/& gt;

& ltsyntax color id =“code color _ JavaScript bracket“text =“# 000099“bold =“true“/& gt;

& lt語法color id =“code color _ JavaScript reserved“text =“# 000099“bold =“true“/& gt。

& ltsyntax color id =“CodeColor _ JavaScript string“text =“# 0000 ff“/& gt。

& ltsyntax color id =“CodeColor _ JavaScript comment“text =“# 999999“/& gt;

& ltsyntax color id =“code color _ CSS selector“text =“# ff 00 ff“/& gt;

& ltsyntax color id =“code color _ CSS property“text =“# 000099“/& gt。

& lt語法color id =“code color _ CSS value“text =“# 0000 ff“/& gt。

& lt語法color id =“code color _ CSS import“text =“# 009999“bold =“true“/& gt;

& lt語法color id =“code color _ CSS media“text =“# 990000“bold =“true“/& gt;

& lt語法color id =“code color _ CSS keyword important“text =“# ff 0000“bold =“true“/& gt;

& lttag color id =“DWTagLibrary _ CFC“text =“# 990033“/& gt;

& lttag color id =“DWTagLibrary _ cfml“text =“# 990033“/& gt;

& ltsyntax color id =“CodeColor _ ASPDirTagKeywords“text =“# 990033“/& gt;

& lttag color id =“DWTagLibrary _ aspnetmmtags“text =“# 990033“/& gt;

& lttag color id =“DWTagLibrary _ aspnet templates“text =“# 990033“/& gt;

& lttag color id =“DWTagLibrary _ aspnet“text =“# 990033“/& gt;

& lttag color id =“code color _ CFScriptTag“text =“# 990033“/& gt;

& ltsyntax color id =“CodeColor _ ASPDirString“text =“# 0000 ff“/& gt。

& ltsyntax color id =“CodeColor _ ActionscriptProperty“text =“# 000084“/& gt。

& ltsyntax color id =“CodeColor _ ActionscriptNative“text =“# 000084“/& gt;

& ltsyntax color id =“CodeColor _ ActionscriptNumber“text =“# 000000“/& gt;

& ltsyntax color id =“CodeColor _ ActionscriptFunction“text =“# 000084“/& gt。

& ltsyntax color id =“CodeColor _ ActionscriptBracket“text =“# 000000“/& gt。

& ltsyntax color id =“CodeColor _ ActionscriptOperator“text =“# 000000“/& gt;

& ltsyntax color id =“CodeColor _ ActionscriptReserved“text =“# 000084“/& gt。

& ltsyntax color id =“CodeColor _ ActionscriptString“text =“# 0000 ff“/& gt。

& ltsyntax color id =“CodeColor _ ActionscriptComment“text =“# 848284“/& gt;

& ltsyntax color id =“CodeColor _ ActionscriptRemoting“text =“# 000084“/& gt。

& ltsyntax color id =“code color _ ascom bracket“text =“# 000099“bold =“true“/& gt;

& ltsyntax color id =“CodeColor _ ascom comment“text =“# 999999“/& gt;

& ltsyntax color id =“CodeColor _ ascom function“text =“# 000000“bold =“true“/& gt;

& ltsyntax color id =“code color _ ASCommNative“text =“# 009999“/& gt;

& ltsyntax color id =“code color _ ascom mnumber“text =“# ff 0000“/& gt;

& ltsyntax color id =“code color _ ascom reserved“text =“# 000099“/& gt。

& ltsyntax color id =“CodeColor _ ascom mstring“text =“# 0000 ff“/& gt。

& ltsyntax color id =“code color _ asremote bracket“text =“# 000099“bold =“true“/& gt;

& ltsyntax color id =“code color _ asremote comment“text =“# 999999“/& gt;

& lt語法color id =“code color _ asremote function“text =“# 000000“bold =“true“/& gt;

& ltsyntax color id =“code color _ ASRemoteNative“text =“# 009999“/& gt;

& ltsyntax color id =“code color _ ASRemoteNumber“text =“# ff 0000“/& gt;

& ltsyntax color id =“CodeColor _ ASRemoteReserved“text =“# 000099“/& gt。

& ltsyntax color id =“CodeColor _ ASRemoteString“text =“# 0000 ff“/& gt。

& lt/color group & gt;

& ltcolor group doctypes =“CSS“& gt;

& lt語法color id =“code color _ CSS import“text =“# 666“bold =“true“/& gt;

& lt語法color id =“code color _ CSS media“text =“# 900“bold =“true“/& gt。

& lt語法color id =“code color _ CSS keyword important“text =“# F00“bold =“true“/& gt;

& ltsyntax color id =“code color _ CSS selector“text =“# 7 cb7f 1“/& gt;

& lt語法color id =“code color _ CSS value“text =“# f0e b8e“/& gt;

& lt語法color id =“code color _ CSS property“text =“# 8 Fe 28 f“/& gt。

& lt語法color id =“code color _ CSS comment“text =“# CCC“/& gt。

& lt語法color id =“code color _ CSS string“text =“# FF0“/& gt;

& lt/color group & gt;

& ltcolor group doctypes =“HTML“& gt;

& lt語法color id =“code color _ AspIncludeDirDefaultText“text =“# 000“/& gt。

& ltsyntax color id =“code color _ ASPIncludeAttributes“text =“# 909“/& gt;

& ltsyntax color id =“code color _ ASPIncludeString“text =“# 060“/& gt。

& lttag color id =“code color _ CFScriptTag“text =“# 903“/& gt;

& lt語法color id =“code color _ CSS import“text =“# 666“bold =“true“/& gt;

& lt語法color id =“code color _ CSS media“text =“# CC0“/& gt。

& lt語法color id =“code color _ CSS keyword important“text =“# FF0“/& gt;

& ltsyntax color id =“code color _ CSS selector“text =“# 8 Fe 28 f“/& gt;

& lt語法color id =“code color _ CSS value“text =“# b 44781“/& gt;

& lt語法color id =“code color _ CSS property“text =“# 7e 9f 74“/& gt;

& lt語法color id =“code color _ CSS comment“text =“# BBB“/& gt。

& ltsyntax color id =“code color _ CSS string“text =“# db 0057“/& gt。

& lttag color id =“code color _ html anchor“text =“# 6db 7 f 1“/& gt;

& lttagColor id =“CodeColor _ html form“text =“# F90“/& gt;

& lttag color id =“code color _ html image“text =“# b 44781“/& gt;

& lttagColor id =“CodeColor _ html object“text =“# 900“/& gt;

& lttagColor id =“CodeColor _ html script“text =“# FF0“/& gt;

& lttagColor id =“CodeColor _ html style“text =“# FF0“/& gt;

& lttagColor id =“CodeColor _ html table“text =“# 62b 773“/& gt;

& lttag color id =“DWTagLibrary _ html“text =“# 8fe 27 b“/& gt;

& lt語法color id =“code color _ html tag“text =“# BBB“/& gt。

& lt語法color id =“code color _ html number“text =“# FFF“/& gt;

& lt語法color id =“code color _ html entity“text =“# 666“bold =“true“/& gt;

& lt語法color id =“code color _ html text“text =“# c3d3d 7“/& gt;

& ltsyntax color id =“code color _ html string“text =“# f0e b8e“/& gt;

& lt語法color id =“code color _ html comment“text =“# BBB“/& gt。

& ltsyntax color id =“CodeColor _ JavaScript regexp“text =“# 060“/& gt;

& lt語法color id =“CodeColor _ JavaScript reserved“text =“# CC0“bold =“true“/& gt;

& lt語法color id =“CodeColor _ JavaScript native“text =“# 099“/& gt;

& ltsyntax color id =“CodeColor _ Java scription identifier“text =“# 9c 0“/& gt;

& lt語法color id =“CodeColor _ JavaScript function“text =“# FFF“bold =“true“/& gt;

& lt語法color id =“CodeColor _ JavaScript client“text =“# 9c 0“/& gt;

& lt語法color id =“CodeColor _ JavaScript bracket“text =“# FFF“bold =“true“/& gt;

& lt語法color id =“CodeColor _ JavaScript default text“text =“# FFF“/& gt;

& ltsyntax color id =“CodeColor _ JavaScript number“text =“# b 44781“/& gt;

& lt語法color id =“CodeColor _ JavaScript operator“text =“# CC0“/& gt;

& lt語法color id =“code color _ JavaScript comment“text =“# BBB“/& gt。

& lt語法color id =“CodeColor _ JavaScript string“text =“# 68a2b 0“/& gt;

& lttag color id =“DWTagLibrary _ templates“text =“# 009“/& gt;

& lt語法color id =“code color _ library text“text =“# 000“bgcolor =“# FFC“/& gt;

& lt語法color id =“code color _ date text“text =“# 000“bgcolor =“# FFC“/& gt;

& lt語法color id =“code color _ template text“text =“# 999“/& gt;

& ltsyntax color id =“CodeColor _ templatecommentext“text =“# 060“/& gt。

& ltsyntax color id =“CodeColor _ TemplateCommentAttr“text =“# 060“/& gt;

& lt/color group & gt;

& lt/code colors & gt;