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
Today, I found out while working on PHP that if w...
Table of contents 1. beforeCreate and created fun...
Preface: rm under Linux system is irreversible. T...
After three days of encountering various difficul...
There are two ways to delete data in MySQL, one i...
background In data warehouse modeling, the origin...
1. Problem The problems encountered when initiali...
Prepare the ingredients as shown above (ps: hadoo...
The specific code of JavaScript date effects is f...
Table of contents 1. First install echarts in the...
Use CSS to prevent Lightbox to realize the displa...
I recently took over a small program project, and...
Jenkins configuration of user role permissions re...
This article uses an example to describe how to q...
Tomcat itself optimization Tomcat Memory Optimiza...