Automatically set the horizontal line color of the webpage in Dreamweaver

Source: Internet
Author: User
Tags dreamweaver

The horizontal line can be used to separate text and objects. Click "Insert> standard" in Dreamweaver, and then click "horizontal line" to add a horizontal line. The Html code is

During the webpage design process, if the default horizontal line is used at will, the inserted horizontal line may be inconsistent with the color of the entire webpage. When you open the horizontal line attribute panel, you only have width, height, alignment, and shadow settings. You have not set the horizontal line color. What should I do?

In fact, you only need to take a closer look at the attribute setting panel of the horizontal line and you will find a "quick Tag Editor". Click this tag and enter "color = color ". Here the "color" can be any color, the general format is:

After setting this method, you cannot directly see the effect in Dreamweaver. You can click the "F12" key to view the horizontal line color changes in the browser.

Tips: The color code such as "#008800" is not easy for beginners to differentiate. You can do this: add a color to the font on the webpage.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.