Title: White space when inserting Text Box
Last modified: August 21, 2016

---

# White space when inserting Text Box

 *  Resolved [Alzee99](https://wordpress.org/support/users/alzee99/)
 * (@alzee99)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/white-space-when-inserting-text-box/)
 * When I insert a text box between paragraphs, WordPress adds several lines of 
   white space above and below the box.
 * Can anyone tell me how to reduce these white spaces?
 * Is there a reverse code, similar to nbsp; (with ampersand) — but to reduce, rather
   than add, space?
 * Thanks.

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

 *  [The Grey Parrots](https://wordpress.org/support/users/greyparrots/)
 * (@greyparrots)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/white-space-when-inserting-text-box/#post-4693664)
 * There might be 
    tags below the paragraph, kindly delete those to reduce space.
 * If not can you kindly share your link please.
 * Regards,
    PD
 *  Thread Starter [Alzee99](https://wordpress.org/support/users/alzee99/)
 * (@alzee99)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/white-space-when-inserting-text-box/#post-4693668)
 * Hi PD. No, there are no tags below the paragraph, this is text that I am creating.
   So, when I put a text-box between two paragraphs, a lot of white space gets added
   above and below the box. Which I need to reduce.
 * I need a code similar to nbsp; (with ampersand in front) to reduce (as opposed
   to adding space like nbsp; does).
 * Thanks,
 * AL
 *  [The Grey Parrots](https://wordpress.org/support/users/greyparrots/)
 * (@greyparrots)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/white-space-when-inserting-text-box/#post-4693672)
 * Sorry, as per I know there is no such tag, you have to use css to reduce space.
 *  Thread Starter [Alzee99](https://wordpress.org/support/users/alzee99/)
 * (@alzee99)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/white-space-when-inserting-text-box/#post-4693678)
 * That can’t be right, PD. There must be code to reduce white space for a single
   instance.
 * I don’t want to change the paragraph spacing, just reduce the extra white space
   that gets inserted whenever I add a text box.
 * What code would you use if you wanted to reduce spacing between two paragraphs—
   but only do it occasionally, not all the time?
 * Thanks again.
 *  Thread Starter [Alzee99](https://wordpress.org/support/users/alzee99/)
 * (@alzee99)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/white-space-when-inserting-text-box/#post-4693766)
 * Does anyone have any advice on this?
 * I think there must be a code for the reverse of &NBSP; — which tells the system
   to move one space to the _right_.
 * The solution would be a code that tells the system to move one space to the _left_.
   But where to find the code?
 * Surely someone must know that code?
 * Thanks (in advance) for the help.
 *  Thread Starter [Alzee99](https://wordpress.org/support/users/alzee99/)
 * (@alzee99)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/white-space-when-inserting-text-box/#post-4693867)
 * Issue resolved — I manged to figure out how to write code to eliminate the unwanted
   white space.
 *  [The Grey Parrots](https://wordpress.org/support/users/greyparrots/)
 * (@greyparrots)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/white-space-when-inserting-text-box/#post-4693868)
 * May I know the code please.
 *  Thread Starter [Alzee99](https://wordpress.org/support/users/alzee99/)
 * (@alzee99)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/white-space-when-inserting-text-box/#post-4693873)
 * Sure, PD. I discovered that by centering the text box — by adding margin space—
   I was inadvertently adding margin space on all four sides of the box, rather 
   than just left and right. Moving the box 50px in from the left margin therefore
   added 50px to the top and bottom margins as well.
 * So the solution is: Insert code telling the system to add only to the side or
   sides of the box that you want it to add to. For example: instead of inserting“
   margin:50px” you should specify “margin-left:50px” or “margin-right:20px” etc.
   That way, no white space gets added above or below the box.
 * It took me many hours to figure this out!
 *  [The Grey Parrots](https://wordpress.org/support/users/greyparrots/)
 * (@greyparrots)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/white-space-when-inserting-text-box/#post-4693875)
 * Hi,
 * Thanks for the info. Will keep this in my mind.
 * regards,
    PD
 *  Thread Starter [Alzee99](https://wordpress.org/support/users/alzee99/)
 * (@alzee99)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/white-space-when-inserting-text-box/#post-4693877)
 * You’re very welcome! Have a great day..
 * Best,
 * AL

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

The topic ‘White space when inserting Text Box’ is closed to new replies.

## Tags

 * [text box](https://wordpress.org/support/topic-tag/text-box/)
 * [white-space](https://wordpress.org/support/topic-tag/white-space/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 2 participants
 * Last reply from: [Alzee99](https://wordpress.org/support/users/alzee99/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/white-space-when-inserting-text-box/#post-4693877)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
