Effect chart:
A fine-line border is a common method for distinguishing content in webpage positioning. When used with a specific image, it can often achieve good results. How can we create a fine-line border?
As we all know, the so-called fine-line Border is generally a simple table with one row and one column. Can we set the Border value of the table object to 1 directly? See the following production results:
Insert a single-row, single-column table at a specified position in the webpage, click any part of the outer box with the mouse to select it, and set the "Border" value to 1 in the attribute board, you can also set the other "CellPad" and "CellSpace" to zero at the same time, as shown in the figure:
The following figure shows different effects in the preview status:
From the figure above, it is not difficult to see that the simple frame setting 1 cannot achieve the effect. Next we will see how to achieve the required fineness through the "clever" settings of the table.
Similarly, in the preceding table, set "border" and "cellpad" to "0" and "cellspace" to "1 ", note that "Cellspace" refers to the distance between cells. As shown in the following figure:
Set "Bgcolor" of the table to "red", and set "Bgcolor" of the cell to the background color of the same webpage-"white". The preview effect is shown in the following figure: