Introduction to the function of Dreamweaver CS5 to enable and disable stylesheets
This article introduces the knowledge of "introduction to the functions of enabling and disabling stylesheets in Dreamweaver CS5". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
In the process of using Dreamweaver to standardize the layout of WEB, if we need to detect some parts of the code, or if we need to modify some code, but do not want to delete the original code snippet, we can make the enable / disable stylesheet function of Dreamweaver CS5 come in handy and open the stylesheet panel of Dreamweaver CS5, as shown in figure 1-1:
Figure 1-1 stylesheet panel
You can select the appropriate selector in the stylesheet panel, find the stylesheet property row that you want to disable, move the mouse to the right-most blank part of the stylesheet property row, and a "disabled" icon appears, as shown in figure 1-2:
Figure 1-2 disable the style icon
Click the mouse so that the selected stylesheet properties are disabled, as shown in figure 1-3:
Figure 1-3 disable stylesheet properties
At this time, if you preview the web page in the browser, the effect you see is also the effect after the corresponding properties are disabled. The corresponding principle is to convert the code that needs to be disabled into comments, as shown in figure 1-4:
Figure 1-4 Code conversion to comments
Of course, if you need to enable the style, just click on the disabled icon.
This is the end of the introduction to Dreamweaver CS5's ability to enable and disable stylesheets. Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!