Web page Making Learning: The method of making dashed form

Source: Internet
Author: User
Web page

When you are making a Web page, you often encounter problems creating dotted-line forms, and the following article solves this problem.

  Method One: Make a 1x2 diagram.

Half black and half white, then use the form to make line. Although this method is troublesome, it can be browsed in any browser and has the best compatibility.

  Method Two: In the CSS inside set.

If you use Dreamweaver words, as long as the new style in the CSS panel, select "Redefine HTML Tag", and then in the Drop-down menu "table", in the pop-up panel, category choose border, in the border, Set the Top,left,right,bottom to 1px, and the color will be the color of the border you want. Then select dashed in the Style dropdown box. Everything OK. It's just that all the tables are bordered by dotted lines. Notice that this effect is visible in the browser.

  Method Three: Set directly in HTML (if you just want a table border to be dotted).

Add this in the HTML of the table:

Style= "Border-left: #000000 1PX dashed; Border-right: #000000 1PX dashed; Border-top: #000000 1PX dashed; Border-bottom: #000000 1PX Dashed "
The color is 16-bit code and you can set it yourself.

Note: Method two or three, which can only be used in IE5.5, is of little use to Netscape, unless you fill it with a good bottom chart.



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.