Home  >  Article  >  Web Front-end  >  Detailed explanation of dreamweaver formatting CSS code

Detailed explanation of dreamweaver formatting CSS code

高洛峰
高洛峰Original
2017-03-27 17:48:041496browse

Today I discovered that Dreamweaver can format CSS code, so that the code will not be so messy. This is because when the website was revised, I found that the original CSS code was very inconsistent in capitalization, formatting and indentation. Formatting with Dreamweaver is much easier.

Format CSS:

Step 1: In Edit--Preferred Parameters--Code Format--Select the CSS button--Set your favorite CSS code format

Step 2: Click Command--Apply Source Format

Case conversion:

Step 1: Select the code part that needs to be converted

Step 2: Right-click--Selected area--Convert to uppercase/lowercase

I personally prefer to convert uppercase to lowercase like this:

Put the document that needs to be converted into the editplus editor, select Edit--Change Case

The above is the detailed content of Detailed explanation of dreamweaver formatting CSS code. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn