Title: Display-Inline Margin Problem after loading next page
Last modified: August 20, 2016

---

# Display-Inline Margin Problem after loading next page

 *  [lonja](https://wordpress.org/support/users/lonja/)
 * (@lonja)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/display-inline-margin-problem-after-loading-next-page/)
 * The plugin causes a whitespace problem, since the break between </div> and <div
   class=”selector”> is eliminated by the js. The problem is caused by the font-
   size, when having the div displayed inline.
 * The normal code looks like this:
 *     ```
       <div class="selector">
       	<!--  Content  -->
       </div><!-- .selector -->											
   
       <div class="selector">
       	<!--  Content  -->
       </div><!-- .selector -->
   
       <div class="selector">
       	<!--  Content  -->
       </div><!-- .selector -->
       ```
   
 * and after the Navigation it looks like this.
 *     ```
       <div class="selector">
       	<!--  Content  -->
       </div><div class="selector">
       	<!--  Content  -->
       </div><div class="selector">
       	<!--  Content  -->
       </div>
       ```
   
 * Ist there a way to make a break between the </div> and <div class=”selector”>?
 * Thanks in advance,
    Lonja
 * [http://wordpress.org/extend/plugins/infinite-scroll/](http://wordpress.org/extend/plugins/infinite-scroll/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [lonja](https://wordpress.org/support/users/lonja/)
 * (@lonja)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/display-inline-margin-problem-after-loading-next-page/#post-3433557)
 * By the way here is a nice article about the margin bug, when displaying elements
   inline.
    [http://css-tricks.com/fighting-the-space-between-inline-block-elements/](http://css-tricks.com/fighting-the-space-between-inline-block-elements/)

Viewing 1 replies (of 1 total)

The topic ‘Display-Inline Margin Problem after loading next page’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/infinite-scroll.svg)
 * [Infinite-Scroll](https://wordpress.org/plugins/infinite-scroll/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/infinite-scroll/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/infinite-scroll/)
 * [Active Topics](https://wordpress.org/support/plugin/infinite-scroll/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/infinite-scroll/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/infinite-scroll/reviews/)

## Tags

 * [display inline](https://wordpress.org/support/topic-tag/display-inline/)
 * [margin](https://wordpress.org/support/topic-tag/margin/)
 * [white-space](https://wordpress.org/support/topic-tag/white-space/)

 * 1 reply
 * 1 participant
 * Last reply from: [lonja](https://wordpress.org/support/users/lonja/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/display-inline-margin-problem-after-loading-next-page/#post-3433557)
 * Status: not resolved