I’ve seen couple of times, new webmasters often ask how to move CSS rules to an external file in Dreamweaver. It is pretty easy and simple, I’m writing down procedure below.

Open your HTML document, you’re working in Dreamweaver. On right top side, you should see CSS palette. Click on CSS Styles tab, so you can see your CSS rules you’ve defined in your HTML documents.

How to move CSS rules to external file in Dreamweaver

Now click on very last CSS rule, hold SHIFT key and use the UP arrow key on the keyboard. Select all the CSS rules in the CSS palette. Like so in the image below.

How to move CSS rules to external file in Dreamweaver

Now all the CSS rules highlighted, right click your mouse button and click on Move CSS Rules

How to move CSS rules to external file in Dreamweaver

Save CSS rules to A New Style sheet and simply choose the root directory, where you want to save your CSS file.

How to move CSS rules to external file in Dreamweaver

Give name to your CSS file and hit the Save button.

How to move CSS rules to external file in Dreamweaver

Note: You might wanna save your CSS file in relative directory, or your HTML links could break.