PVII PowerToys
- Introduction and Overview
- Wrap DIV Tag
- Insert Comment Tag
- Insert IE Conditional Comment
- Insert Style Block
- Insert JavaScript Block
- Make Null Link
- Apply Return False
Insert Style Block PowerToy
The Insert Style Block PowerToy allows you to quickly insert a pair of style tags anywhere in your code. This makes it very easy to quickly create a new style sheet code block. Simply right-click (control-click on the Mac) and select Insert Style Block from the context menu. A new pair of syntactically correct style tags will be created.
Note: The Insert Style Block PowerToy will only be available when you are in Code View, it will not be listed on the context menu when you are in Design View.
Creating a new Style Block
-In code view, click on the section of the page where you would like to create the new style block. This is the insertion point.
Note: The Insert Style Block PowerToy will be grayed out (unavailable) if you have selected any text or markup. It will only be available at an insertion point (no code or text selected).
-Right-click and select PVII PowerToys - Insert Style Block

A new pair of style tags will be added to the page at the insertion point. Your cursor will be positioned inside the newly created style code block, ready for you to enter your style rules.

User Notes
Use Care -This PowerToy will insert the style block at your current insertion point, wherever it is located. Be sure that the location will make sense to your code or html markup. For instance, a style sheet should ordinarily be in the <head> area of your document.
Undo -You can reverse the PowerToy insertion by using the Dreamweaver Undo feature (Edit - Undo). This will restore your markup to the state prior to the PowerToy insertion.
