Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reply to ques, what is meannt by right margin of 1st col2 col table

Status
Not open for further replies.

110237

Vendor
Aug 15, 2000
7
0
0
US
I originally asked how to make a right margin for first column of a two column table, using html. I just wanted a little space between the two columns, so the first column does not run into the second column.

I found the solution: Make a small blank column between the two wanted columns of the table.
 
Correct, you could also use cellpadding=5 to put a 5px pad inside around all edges. or cellspacing=5 to put a 5px space between ALL cells.

DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
 
Or use CSS to pad or space only the edges that need it:

<style>
.leftcolumn {margin-right:10px}
</style>

<table>
<tr>
<td class=&quot;leftcolumn&quot;>stuff</td>
<td>More Stuff</td>
</tr>
</table>

Many, many ways of skinning that particular cat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top