In Code view, select the CSS code you want to make
sure that Netscape 4.x does not attempt to render and right-click (Control-click). From the context menu that
appears, choose Selection ??? Apply Ciao Hack. Dreamweaver wraps your selection with the following code:
/*/*/
/* */
The first line starts hiding code from Netscape 4.x and the second line stops the hiding.
You can hide CSS rules from Internet Explorer 5 for Mac in a similar fashion with the Backslash-comment
hack. To hide particular rules, select them and then right-click (Control-click) to bring up the context menu.
Choose Selection ??? Apply Backslash-Comment Hack; Dreamweaver wraps your selection with the following
code:
/*Start hiding from IE Mac \*/
/*Stop hiding from IE Mac */
To remove either of these hacks select the entire code block, including the opening and closing hack lines,
and choose Selection ??? Remove Backslash-Comment Hack or Selection ??? Remove Caio.
CSSStyles panel Properties pane
Although the CSS Rule Definition dialog is helpful when establishing CSS rules, it??™s not the most direct
route for modifying them. Dreamweaver supplies a much quicker facility for viewing and changing existing
styles: the Properties pane of the CSS Styles panel (see Figure 7-10).
FIGURE 7-10
Insert a new property directly into a rule through the Properties pane??™s Add Property link.
Pages:
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502