# Setting left margins for Table cells

**URL:** <https://forum.kirupa.com/t/setting-left-margins-for-table-cells/9730>\
**Category:** Uncategorized\
**Created:** [December 17, 2002, 2:57pm UTC](https://forum.kirupa.com/t/setting-left-margins-for-table-cells/9730 "2002-12-17T14:57:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpotter101](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@dpotter101](https://forum.kirupa.com/u/dpotter101)\
**Post date:** [December 17, 2002, 2:57pm UTC](https://forum.kirupa.com/t/setting-left-margins-for-table-cells/9730/1 "2002-12-17T14:57:41Z")

</div>

does anyone know if you can?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 17, 2002, 4:39pm UTC](https://forum.kirupa.com/t/setting-left-margins-for-table-cells/9730/2 "2002-12-17T16:39:55Z")

</div>

do you mean making your stuff be a couple pixels away from the border?

i.e.

|asasdas  
|sdasda  
|asdasdas  
|adsds

this is what you want:

| asdasdasdasd  
| asdasdaasdaasd  
| asdasdsda  
| asdasdasdas

if so, right click on your cell, click cell properties then format again, click border then at the bottom, you should have a top, left, bottom and right… put your pixels there.

i dont know exactly where it is, cause i dont have fp on this puter. hope that helped.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 17, 2002, 6:18pm UTC](https://forum.kirupa.com/t/setting-left-margins-for-table-cells/9730/3 "2002-12-17T18:18:36Z")

</div>

You can define margins in CSS for the cell or for your paragraph. For some reason the cell margin CSS code is not coming to me… if I remember it I will post it here (think brain think!)

But if you want to do it for your paragraph you can do this…

```php

<P STYLE="margin: 10px">Text Here</P>

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 17, 2002, 6:50pm UTC](https://forum.kirupa.com/t/setting-left-margins-for-table-cells/9730/4 "2002-12-17T18:50:02Z")

</div>

> \*Originally posted by lostinbeta \*  
> \*\*You can define margins in CSS for the cell or for your paragraph. For some reason the cell margin CSS code is not coming to me… if I remember it I will post it here (think brain think!)

But if you want to do it for your paragraph you can do this…

```php

<P STYLE="margin: 10px">Text Here</P>

```

\*\*

yes, that works too. :goatee:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 17, 2002, 10:11pm UTC](https://forum.kirupa.com/t/setting-left-margins-for-table-cells/9730/5 "2002-12-17T22:11:36Z")

</div>

Now that I think of it, I think that same method can be applied to a TD tag for a table cell.

I think…

Where has all my knowledge gone? I know CSS inside out… where is it today?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 17, 2002, 11:30pm UTC](https://forum.kirupa.com/t/setting-left-margins-for-table-cells/9730/6 "2002-12-17T23:30:25Z")

</div>

> \*Originally posted by lostinbeta \*  
> \*\*Now that I think of it, I think that same method can be applied to a TD tag for a table cell.

I think…

Where has all my knowledge gone? I know CSS inside out… where is it today? \*\*

it went on vacation. my brain is already on vacation, and I need it back for 4 more days :cowboy:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 18, 2002, 1:33pm UTC](https://forum.kirupa.com/t/setting-left-margins-for-table-cells/9730/7 "2002-12-18T13:33:28Z")

</div>

> \*Originally posted by redViper \*  
> \*\*do you mean making your stuff be a couple pixels away from the border?

i.e.

|asasdas  
|sdasda  
|asdasdas  
|adsds

this is what you want:

| asdasdasdasd  
| asdasdaasdaasd  
| asdasdsda  
| asdasdasdas

if so, right click on your cell, click cell properties then format again, click border then at the bottom, you should have a top, left, bottom and right… put your pixels there.

i dont know exactly where it is, cause i dont have fp on this puter. hope that helped. \*\*

Thanks, that is a great help.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 19, 2002, 1:51pm UTC](https://forum.kirupa.com/t/setting-left-margins-for-table-cells/9730/8 "2002-12-19T13:51:41Z")

</div>

no worries. :rambo:
