Home

1. Introduction

2. Basics review

3. WIDTH

4. VALIGN

5. BORDER

6. BGCOLOR

7. CELLSPACING

8. CELLPADDING

9. ALIGN

10. Table manners

11. Editors

12. Summary

13. Exercises



Classes home

HTML Info home

 

CELLPADDING

Cellpadding is adjusted even less often than cellspacing. This is just usually done to put some space between elements in a table

Examples:

  <table border="0" cellspacing="0" cellpadding="0">
Here's my table ain't it neat and on and on we go about my neat table Here's my table ain't it neat and on and on we go about my neat table
Here's my table ain't it neat and on and on we go about my neat table Here's my table ain't it neat and on and on we go about my neat table-
  <table border="0" cellspacing="0" cellpadding="10">
Here's my table ain't it neat and on and on we go about my neat table Here's my table ain't it neat and on and on we go about my neat table
Here's my table ain't it neat and on and on we go about my neat table Here's my table ain't it neat and on and on we go about my neat table-