Title: Padding-right not working
Last modified: August 20, 2016

---

# Padding-right not working

 *  Resolved [Bruce](https://wordpress.org/support/users/bnowthen/)
 * (@bnowthen)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/padding-right-not-working/)
 * I created a new paragraph with “padding: 20px;” The top, bottom and left padding
   all appear, but the texts runs out the right side of the paragraph. So on some
   lines the last letter of the last word on the right side is not visible, and 
   in a couple cases the letter is partially chopped off. I tried specifying “padding-
   right” but same results.
 * Could it be a defective file on the server where I have it hosted? They were 
   having problems today, and I couldn’t get on for a while.
 * Bruce

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

 *  [jeezyo](https://wordpress.org/support/users/jeezyo/)
 * (@jeezyo)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/padding-right-not-working/#post-2197389)
 * Got a link? That makes it a lot simpler to pinpoint the problem. Sounds like 
   a simple css problem, not server related.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/padding-right-not-working/#post-2197446)
 * have you tried ‘margin-right’ ?
 *  Thread Starter [Bruce](https://wordpress.org/support/users/bnowthen/)
 * (@bnowthen)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/padding-right-not-working/#post-2197518)
 * Here’s a link to the page with a “test” paragraph at top of the page which is
   under construction:
 * [http://punkobama.org/candidatesnominees-page/](http://punkobama.org/candidatesnominees-page/)
 * And here is the CSS for that paragraph:
 * >  div.litepink-940 {
   >  font-family: Verdana, “Helvetica Neue”, Helvetica, “Nimbus
   > Sans L”, sans-serif; font-weight: bold; background: #FCEDED; padding: 20px;
   > width: 940px; margin-top: 10px; }
 * And yes, I did try replacing “padding:20px;” with “padding-right: 20px;”, but
   got the same results.
 * I’m stumped, and any help is so much appreciated.
 * Bruce
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/padding-right-not-working/#post-2197524)
 * please try to evaluate css issues with a suitable dummy content, for instance
   from [http://www.lipsum.com/](http://www.lipsum.com/)
 * padding adds to the dimension of the container ( [http://www.w3schools.com/css/css_boxmodel.asp](http://www.w3schools.com/css/css_boxmodel.asp)),
   therefore you need to decrease the width in your style;
    try:
 *     ```
       div.litepink-940 {
       	font-family: Verdana, "Helvetica Neue", Helvetica, "Nimbus Sans L", sans-serif;
       	font-weight: bold;
       	background: #FCEDED;
       	padding: 20px;
       	width: 900px;
       	margin-top: 10px;
       	}
       ```
   

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

The topic ‘Padding-right not working’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/padding-right-not-working/#post-2197524)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
