Jump to content

how to create a spacing in a table?


smiling_flower

Recommended Posts

You can make the <td> (cell) have padding or widths to them so you can separate the text from being so close to each other.

<style type="text/css">td {  padding: 4px; /* adds 4 pixels inside all <td> cells */}</style>

You can also use width: 20%; for a width.http://www.w3schools.com/css/css_padding.asphttp://www.w3schools.com/css/pr_dim_width.asp

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...