简体   繁体   中英

Color code php inside of css in Dreamweaver

I'm creating a dynamic css stylesheet with php variables in it. I would like to have any code that appears inside the tags color coded as if it was a php file, while everything outside is css color coded.

As it is now, everything is color coded for css and the file is .css (I'd like to keep the .css file extension).

I'm using Dreamweaver CS3 on Windows 7.

Thanks

Unfortunately, it isn't possible to edit this behavior in Dreamweaver. Dreamweaver does its best to detect what language things are in and color code accordingly, but what you are describing is a fundamental change in the way the code editor interprets code.

You will need to use different editor.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM