# Newbie: Reducing default padding for containers?

**URL:** <https://forums.realmacsoftware.com/t/newbie-reducing-default-padding-for-containers/26405>\
**Category:** RapidWeaver Classic\
**Created:** [April 20, 2019, 9:14am UTC](https://forums.realmacsoftware.com/t/newbie-reducing-default-padding-for-containers/26405 "2019-04-20T09:14:36Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![OmarKN](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/omarkn/32/14654_2.png) [@OmarKN](https://forums.realmacsoftware.com/u/OmarKN)\
**Post date:** [April 20, 2019, 9:14am UTC](https://forums.realmacsoftware.com/t/newbie-reducing-default-padding-for-containers/26405/1 "2019-04-20T09:14:36Z")

</div>

It seems container have a default padding, how to zero it?

This shows when there are containers inside another container.

/  
OmarKN

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [April 20, 2019, 11:57am UTC](https://forums.realmacsoftware.com/t/newbie-reducing-default-padding-for-containers/26405/2 "2019-04-20T11:57:03Z")

</div>

> [@OmarKN](#):
>
> This shows when there are containers inside another container.

Nothing is showing in your post.  
A URL to at least a test page is the most helpful information you can provide in order to get help.

---

<div class="post-metadata">

**Author:** ![OmarKN](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/omarkn/32/14654_2.png) [@OmarKN](https://forums.realmacsoftware.com/u/OmarKN)\
**Post date:** [April 20, 2019, 5:15pm UTC](https://forums.realmacsoftware.com/t/newbie-reducing-default-padding-for-containers/26405/3 "2019-04-20T17:15:36Z")

</div>

Hi @teefers Doug,

My question was a more general one.

As you can see in this screen dump (and in preview) every child container (and also other stacks) adds some padding.

[https://d.pr/free/i/grhPBi](https://d.pr/free/i/grhPBi)

On a webpage I maybe have 1 container above and below there is container 2 with a child container. Then there will be too much padding (space) for another stack compared with a stack which only has 1 container.

Related: For what situation would one have a container with a child container (which I’ve seen on a RW video)?

/ okn

---

<div class="post-metadata">

**Author:** ![Mathew](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mathew/32/2771_2.png) [@Mathew](https://forums.realmacsoftware.com/u/Mathew)\
**Post date:** [April 20, 2019, 5:32pm UTC](https://forums.realmacsoftware.com/t/newbie-reducing-default-padding-for-containers/26405/4 "2019-04-20T17:32:27Z")

</div>

What product are you using? Is this with Foundry? In Editing mode it definitely looks like things will not line up, but if you preview/publish they will all be lined up just fine.

Without showing a link to the actual web page there’s too much guess work on our part. A bit more info is needed. But … as stated before: IF you are using Foundry then it looks as is in your screenshot, but lines up perfectly when published.

---

<div class="post-metadata">

**Author:** ![Fuellemann](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/fuellemann/32/22871_2.png) [@Fuellemann](https://forums.realmacsoftware.com/u/Fuellemann)\
**Post date:** [April 20, 2019, 6:57pm UTC](https://forums.realmacsoftware.com/t/newbie-reducing-default-padding-for-containers/26405/5 "2019-04-20T18:57:52Z")

</div>

Hi, you can use the setting edge-to-edge and/or “remove left and right padding” for it to work.

 ![03](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/8/81c6994f2a21cd8edad655c16816c72ee8ad1ee6.png)

But I would not stack one container into another. Better use the Margins stack for this…

---

<div class="post-metadata">

**Author:** ![OmarKN](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/omarkn/32/14654_2.png) [@OmarKN](https://forums.realmacsoftware.com/u/OmarKN)\
**Post date:** [April 20, 2019, 8:08pm UTC](https://forums.realmacsoftware.com/t/newbie-reducing-default-padding-for-containers/26405/6 "2019-04-20T20:08:45Z")

</div>

Hi Jan @Fuellemann, yes - good to know: 'edge-to-edge container, dankeschön!

Hi @Mathew: yes true, in Foundry the published page does line up the various _container contents_ (left side) - although in RW Preview it does not, as shown in the screenshot, thanks.

/ okn

---

<div class="post-metadata">

**Author:** ![Mathew](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mathew/32/2771_2.png) [@Mathew](https://forums.realmacsoftware.com/u/Mathew)\
**Post date:** [April 20, 2019, 8:59pm UTC](https://forums.realmacsoftware.com/t/newbie-reducing-default-padding-for-containers/26405/7 "2019-04-20T20:59:15Z")

</div>

@OmarKN I’m not sure what you mean. Your screenshot is of RW in **editing** mode. It is certainly not the **preview**. Go Command-R to Preview page. Or go Command-P to preview in Safari. In both preview modes all looks fine. So you can tell it’s just dandy before publishing. Edit mode is not an accurate depiction of what publishing will look like.

---

<div class="post-metadata">

**Author:** ![OmarKN](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/omarkn/32/14654_2.png) [@OmarKN](https://forums.realmacsoftware.com/u/OmarKN)\
**Post date:** [April 20, 2019, 9:45pm UTC](https://forums.realmacsoftware.com/t/newbie-reducing-default-padding-for-containers/26405/8 "2019-04-20T21:45:24Z")

</div>

Alright , got it. (Beware of Edit mode).

/

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [May 21, 2019, 7:52am UTC](https://forums.realmacsoftware.com/t/newbie-reducing-default-padding-for-containers/26405/9 "2019-05-21T07:52:43Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
