Cell padding is the distance between the cell content and the border. Basic syntax <TABLE Cellpadding=value> Syntax explanation <br />Cell margins are measured in pixels. Document example: 10-10.htm Sets the cell margins for the table. 01 <!-- ------------------------------ --> 02 <!-- File example: 10-10.htm --> 03 <!-- File Description: Set the cell margins of the table--> 04 <!-- ------------------------------ --> 05 <HTML> 06 <HEAD> 07 <TITLE>Setting the cell margins of a table</TITLE> 08 </HEAD> 09 <BODY> 10 <H1>Mainstream web design software</H1> 11 <TABLE BORDER=3 WIDTH=400 HEIGHT=100 Bordercolor=#336699 Background=10-8.jpg CellSpacing=10 CellPadding=25> 12 <TR> 13 <TD>Web Graphics Software</TD><TD>Fireworks</TD> 14 </TR> 15 <TR> 16 <TD>Web page creation software</TD><TD>Dreamweaver</TD> 17 </TR> 18 <TR> 19 <TD>Web animation software</TD><TD>Flash</TD> 20 </TR> 21 </TABLE> 22 </BODY> 23 </HTML> File Description <br />Line 11 defines the table cell margins as 25 pixels. |
<<: How to deploy Go web applications using Docker
>>: ElementUI implements sample code for drop-down options and multiple-select boxes
Table of contents 1. mixin.scss 2. Single file us...
Download the MySQL installer Official download ad...
Since the introduction of the contentEditable attr...
A few days ago, I exchanged some knowledge about ...
1.service command The service command actually go...
The jquery plug-in implements the dashboard for y...
I have always wanted to learn about caching. Afte...
The browser is probably the most familiar tool fo...
CSS CodeCopy content to clipboard .bottomTable{ b...
This article shares the specific code of JavaScri...
When setting the text in the search text box, the...
Table of contents Version Notes Create a project ...
Table of contents Nginx proxies two socket.io ser...
This article does not introduce anything related ...
Preface In WeChat applet, you can use globalData ...