Title: Text padding issue
Last modified: August 20, 2016

---

# Text padding issue

 *  Resolved [iyamdman](https://wordpress.org/support/users/iyamdman/)
 * (@iyamdman)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/text-padding-issue/)
 * Text padding issue
 * Site = [http://globalbusinessconnections.com/wpsitegbc/](http://globalbusinessconnections.com/wpsitegbc/)
 * If you look at the site, the test posts in the main content area – especially
   the ‘Another Post with Everything In It’ post – the text and images go all the
   way to the left or right red boarder.
 * Below is the code from the style.css:
 * ‘#content {
    width: 757; height: 523; border-top: 2px #FF0033 solid; background:
   url(“images/content-lt-blue-background-1-j.jpg”) no-repeat center top transparent;
   color:#333333; float: right; }’
 * I tried addling padding and margin, but they added it to the outside of the image,
   which made the content area bigger and screwed up the layout.
 * How can I make it the post’s “text” and “photos” stay within (less than) 10px
   of each wall/boarder of the content area?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [ahuggins](https://wordpress.org/support/users/ahuggins/)
 * (@ahuggins)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/text-padding-issue/#post-2269593)
 * That link does not display any posts. I see this in the “Main Content Area”:
 * Main Area
 * Sorry, no posts matched your criteria.
 * Looking at this another way, you said adding margin and padding adds to the content
   area making it bigger, and you want 10px of padding on each side of your content
   area. Why not set the width to 737 and add 10px of padding on each side to get
   back to your original width of 757?
 * Does that work?
 *  Thread Starter [iyamdman](https://wordpress.org/support/users/iyamdman/)
 * (@iyamdman)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/text-padding-issue/#post-2269601)
 * Sorry on the content, try this:
 * [http://globalbusinessconnections.com/wpsitegbc/?page_id=746](http://globalbusinessconnections.com/wpsitegbc/?page_id=746)
 * If I do what you say, then there is a 10 px gap between the edge of the background
   image and the Red boarder.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Text padding issue’ is closed to new replies.

## Tags

 * [margin](https://wordpress.org/support/topic-tag/margin/)
 * [padding](https://wordpress.org/support/topic-tag/padding/)
 * [text](https://wordpress.org/support/topic-tag/text/)

 * 2 replies
 * 2 participants
 * Last reply from: [iyamdman](https://wordpress.org/support/users/iyamdman/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/text-padding-issue/#post-2269601)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
