willsherwood
asked on
CSS table padding
How do i get the effect of the old HTML cellpadding?
My goal is for a single cell table to have padding around the text contents.
the following tag has the text right up against the table border frame on all sides.
<table style="width:600px; border: 1px solid grey; padding:20px;" >
My goal is for a single cell table to have padding around the text contents.
the following tag has the text right up against the table border frame on all sides.
<table style="width:600px; border: 1px solid grey; padding:20px;" >
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER