The following archives are provided as a public service to the community. Opinions archived here do not necessarily represent the opinions of Open for Business or its contributors.
<table border="1" width="80%" align="center" cellspacing="2" cellpadding="4">
I'm trying to learn css the hard way - by myself - with help from this site:
http://www.blooberry.com/indexdot/css/index.html
cellpadding can now be controlled by row or by cell:
tr { padding: 4px; }
th { padding: 4px; }
td { padding: 4px; }
A border around the entire table like border="1" can be done with table {
border-width: 1pt }, but the css code does not affect spacing between
rows/cells in table. Also, I cannot seem to find css coding for the other
properties in above "table" tag. Can anyone help?
| Home |