Dreamweaver quickly make thin edge table

Source: Internet
Author: User
Tags insert dreamweaver
Dreamweaver inserts a table in Dreamweaver, and if you set its "border (Border)" to 1, its border line is thicker when you preview it. How do you quickly create thin-line tables for web makers who are unfamiliar with HTML language? Now, let me introduce you to a little trick--making thin-line tables with background colors and spacing.

For example, make a table with 4 rows of 3 columns and a red thin line on the border:

Step 1 inserts a table of 4 rows 3 columns in the Design view of Dreamweaver.

Step 2 The properties of this table are set in the Properties panel as follows: Margins (CELLPAD) set values (for example, 10) as needed, spacing (cellspace) to 1, border (Border) to 0, and background color (Bg color) red.

Step 3 Select all the cells in this table, and set the properties of all cells in the properties panel as follows: the background color (Bg) is a color other than white or red.

Finally, save the page and press F12 to preview it. How about a 4-line, 3-column red thin form that is not present in front of you?

In addition, if we want to use a table to lay out the position as usual, but as long as the outer border is displayed as a thin line and the inner cell's divider does not appear, you can use the nested table together. Here is an example of how to do this with the extra border of the table as a red thin line:

Step 1 Inserts a table of 1 rows 1 columns in the Design view of Dreamweaver.

Step 2 The properties of this table are set in the Properties panel as follows: "Margins" are set as needed (for example, 5), spacing is 1, border is 0, and background color is red.

Step 3 Select the unique cell for this table, and in the Properties panel, set the background color of this cell to a color other than white or red.

Step 4 Positions the cursor in this 1 row 1 column table, if you want to insert a nested table with a few rows of columns, the border of this nested table must be set to 0, margins and spacing can be set or not set as needed, and other properties may not be set.

In this way, we can insert text, pictures, and other page elements then cell in different cells of the nested table.

Is it a bit of a crush? Try it quickly!



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.