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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

indenting

Status
Not open for further replies.

sthmpsn1

MIS
Sep 26, 2001
456
US
I have some table cells that I want to have the text so far from the border.
I am using indent right now, but that only indents the first line. How do I
make all the lines the same indention.

Scott
 
Use "padding" property:
[tt]
.somecell { padding: 5px 10px 0px 20px }
[/tt]
The order for values is this: top - right - bottom - left.

Don't forget to add the style:
<td class=&quot;somecell&quot;>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top