HTML Tutorials

Attribute for <TABLE ...>
CELLPADDING = integer

Usage Recommendation
thumbs up use it

illustration of CELLPADDING attributeCELLPADDING sets the amount of space (both horizontal and vertical) between the cell wall and the contents. The default value for CELLPADDING (i.e., if you don't use the attribute at all) is 1. So, for example, the following examples demonstrate CELLPADDING when it is absent, when it it set to 1, and when it is set to 10.

this code produces this

<TABLE BORDER>

peachescherries
walnutsalmonds

<TABLE BORDER CELLPADDING=1>

peachescherries
walnutsalmonds

<TABLE BORDER CELLPADDING=10>

peachescherries
walnutsalmonds




Recommended Resources

web hosting tutorials
Credit Help
Search the Internet
Search Engine Help
Low Fat Lifestyle
Internet Traffic
Web Hosting
Web Design

Discount Hotel Reservations

Search The Internet


Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.
About the author

All Rights Reserved, Copyright © Free-HTML-Tutorials.com 2003
A service of 1stHostWeb.com