| Savin' Time and Billing For It Anyway with Dreamweaver CS3's New CSS Rule Management | ||
Bookmark + Share!
In previous versions of Dreamweaver, it was a major drag to move CSS rules around, or to keep them sorted and organized. Not to dig up dead horses and beat ‘em to…err, death, but the seemingly simple task of moving internal CSS rules to an external style sheet involved the hefty task of exporting the rules; then manually deleting the internal style sheet and hooking up to the new external sheet. Or to simply sort and organize your styles, it was a matter of literally copying and pasting them, hoping to keep everything straight in your head. And of course, the odd time you’d miss a closing bracket or something, not realize it right away, and wind up totally messing up your style sheet. “Damn it!” I’d cry as my style sheet would blow up before my eyes, my fists crashing down into my keyboard. But let’s not lament on the past. Thankfully in Dreamweaver CS3, all that muckin’ around is a thing of the past. Moving CSS rules, organizing them, and sharing them between your different style sheets is a breeze. It’s super-fast, easy, and you can bill for it! Plus it sure saves on bruised fists and busted keyboards. With the latest version of Dreamweaver, you can easily move rules from an internal style sheet to an external style sheet or the other way around, or you can dump rules back and forth between two external style sheets. Are ya ready for all this CSS awesomeness? Then fire up Dreamweaver and lets dig in and see what’s possible. To get this to work, you’ll need an HTML page with an internal style sheet at a minimum. It’d be even better if you had an external style sheet kickin’ around too. If you want to take a second and cook up some material, I’ll wait for ya. When you’re ready, keep reading.Movin’ CSS Rules AroundWe’ll start things off with moving your existing CSS rules to other style sheets. Make sure you have your page with your internal style sheet open, or if you have an external style sheet handy, open ‘er up. Also, make sure Dreamweaver’s CSS Style panel is open (Window > CSS Styles), and that the All button at the top is selected. The steps below will work whether you’re moving styles from an internal or an external style sheet. Here’s how it works:
Select mulitple rules by using Shift, or Ctrl (Windows) or Cmd (Mac). Alternatively, you could select the rules you’d like to move in Dreamweaver’s Code view.
|