Automatically set the horizontal line color of a Web page in Dreamweaver

Source: Internet
Author: User
Tags dreamweaver
dreamweaver| Web page

The horizontal line is not unfamiliar to the friend who makes the webpage, it is very useful in the layout design of the webpage, can use to separate text and object. In Dreamweaver, click insert → standard, and then click the Horizontal Line button to add a horizontal level. The HTML code is < hr>.

In the web design process, if you arbitrarily use the default horizontal line, there will often be inserted horizontal line and the entire page color is not coordinated. Open the horizontal line property panel is only wide, high, alignment and shading settings, do not set the color of the horizontal line, how to do?

In fact, you just take a closer look at the horizontal line of the property settings panel, you will find a "Quick Tag Editor", click on this tab and enter "Color= Color" later. Here the "color" can be any color, the general format for the:< hr color= #008800 >.

With this method set, in the Dreamweaver can not see the effect directly, we may click on the "F12" button, in the browser to browse the horizontal line of color changes.

Tips: Color codes such as "#008800" aren't easy to distinguish for junior friends, you can do this: add color to the font in the page  this color is the color you want to add to the horizontal line , and then copy and paste the color code into the horizontal line of the "Quick Tag Editor".



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.