You are here: Re: How to put some space at the left margin of a table cell? « HTML « IT news, forums, messages
Re: How to put some space at the left margin of a table cell?

Posted by Philip on 06/21/06 22:44

In article <6dhj92tpi7fhmfrlmh7eno5sv72eo7pcrb@4ax.com>,
Martin <martinvalley@comcast.net> wrote:

> In some cases, I want to space the data in a table cell over a little
> bit (have some white space between the left cell border and the text).
> But ONLY on the left side - not at the top and bottom. If I set the
> "padding", it enlarges the entire cell - I don't want that.

<table>
<tr>
<td style="padding-left: 2em;">the quick brown fox etc.</td>
</tr>
</table>

--
Philip
http://NikitaTheSpider.com/
Bulk HTML validation, link checking and more

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация