PDA

View Full Version : Indenting and Outdenting a specific distance


nesteve
03-28-2011, 11:28 PM
Hello all...

I am working on a newsletter and have text inserted into a table. Both the left side and right side are lined all the way up close to the line on each respective side. I would like to move that a few pixels away from the line on the side and can't figure it out.

I have figured out how to indent, but that indents way to far - I'm only looking for a very short distance.

Any guidance would be greatly appreciated.

DWcourse
03-29-2011, 12:41 AM
Is this an email newsletter? If so you can try the cellpadding attribute which adds space all around a cell.

<table cellpadding="5">

nesteve
03-29-2011, 01:56 AM
Is this an email newsletter? If so you can try the cellpadding attribute which adds space all around a cell.

<table cellpadding="5">

Its not an email newsletter - it will be on the site and a link sent. Not a huge fan of email newsletters because everyone seems to have a different provider and it distorts it to much.

DWcourse
03-29-2011, 02:55 AM
In that case I wouldn't recommend using tables for your layout. Instead use <div> tags and CSS positioning.

If you keep your tables, you can use the CSS margin and padding properties within tables.