Thread: image test
View Single Post
Old 12th-July-2007, 02:17 PM   #20 (permalink)
happygoldfish
Registered User
 
happygoldfish's Avatar
 
Join Date: Jun 2007
Location: on the window-sill again
Posts: 189
Status: No Status
Rep Power: 1 Rep.: 83
happygoldfish will become famous soon enough
Smile table test – cellpadding and cellspacing and class

table test – cellpadding and cellspacing and class

Increasing the cellpadding: = 0, =3, and =6:

<table border="1"><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>

<table border="1" cellpadding="3" ><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>

<table border="1" cellpadding="6" ><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>

Increasing the cellspacing: = 0, =3, and =6:

<table border="1"><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>

<table border="1" cellspacing="3" ><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>

<table border="1" cellspacing="6" ><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>

Fixed border = 3, cellpadding = 4, cellspacing = 6,
varying class = 0, alt1, alt2:

<table border="3" cellpadding="4" cellspacing="6" ><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>

<table border="3" cellpadding="4" cellspacing="6" class="alt1"><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>

<table border="3" cellpadding="4" cellspacing="6" class="alt2"><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>

hmm …
happygoldfish is offline   Reply With Quote