| Line 79: |
Line 79: |
| | ===Cellpadding and Cellspacing=== | | ===Cellpadding and Cellspacing=== |
| | ====Cellpadding==== | | ====Cellpadding==== |
| | + | Cellpadding controls the distance between the contents of an individual cells i.e. <nowiki><td> tags</nowiki>) and the cell boundaries. |
| | + | |
| | + | {| style="margin:1em 1em 1em 0; background:#F9F9F9; border:1px; border:1px #AAA solid; border-collapse:collapse; " |
| | + | !colspan="4" style=" border:1px #AAA solid; background:#F2F2F2;"|Various Tables and Borders<sup>[[#Note|[1]]]</sup> |
| | + | |- |
| | + | !style=" border:1px #AAA solid; background:#F2F2F2;" width="40%"|With out Cellpadding |
| | + | !style=" border:1px #AAA solid; background:#F2F2F2;" width="10%"|Result |
| | + | !style=" border:1px #AAA solid; background:#F2F2F2;" width="40%"|With Cellpadding |
| | + | !style=" border:1px #AAA solid; background:#F2F2F2;" width="10%"|Result |
| | + | |- |
| | + | |
| | + | <!--Add you're additions in this style: {{:HTML table formatting/borders1|1=YOU'RE STYLE (i.e. border="1"; style="border:1px solid black" etc. Every 2 add "|-" --> |
| | + | |
| | + | {{:HTML table formatting/borders1}} |
| | + | {{:HTML table formatting/borders1|1=Cellpadding="5"}} |
| | + | |
| | + | |
| | + | <!--Keep styles above this line --> |
| | + | |} |
| | ====Cellspacing==== | | ====Cellspacing==== |
| | Cellspacing controls the distance in between individual cells (i.e. <nowiki><td> tags</nowiki>). | | Cellspacing controls the distance in between individual cells (i.e. <nowiki><td> tags</nowiki>). |
| | + | |
| | {| style="margin:1em 1em 1em 0; background:#F9F9F9; border:1px; border:1px #AAA solid; border-collapse:collapse; " | | {| style="margin:1em 1em 1em 0; background:#F9F9F9; border:1px; border:1px #AAA solid; border-collapse:collapse; " |
| | !colspan="4" style=" border:1px #AAA solid; background:#F2F2F2;"|Various Tables and Borders<sup>[[#Note|[1]]]</sup> | | !colspan="4" style=" border:1px #AAA solid; background:#F2F2F2;"|Various Tables and Borders<sup>[[#Note|[1]]]</sup> |