Title: [Plugin: NextGEN Gallery] Weird firefox css positioning bug/problem
Last modified: August 20, 2016

---

# [Plugin: NextGEN Gallery] Weird firefox css positioning bug/problem

 *  [jonnyscholes](https://wordpress.org/support/users/gogger/)
 * (@gogger)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-weird-firefox-css-positioning-bugproblem/)
 * Hey all,
 * hopefully someone will know the answer straight away to this and its just me [
   most likely im sure].
 * Iv resized and positioned the gallery for a client, all works nicely in safari,
   chrome and IE – but when in firefox [4.0.1] – the first div with the class ‘ngg-
   album-compact’ of each line positions itself in a weird way. On the top row it
   drops 10px and on the bottom row it jumps 10px. Iv worked through all the CSS
   a few times, cant find anything that would cause this to my knowledge… Heres 
   a link to the gallery in question:
 * [http://juliepayne.com.au/gallery/](http://juliepayne.com.au/gallery/)
 * and the css in question [i think]:
 * .ngg-album-compact {
    display: inline-block; height: 136px; margin: 0 !important;
   padding-bottom: 80px; padding-right: 20px !important; text-align: left; width:
   180px; }
 * .ngg-albumoverview {
    clear: both; display: block !important; margin-top: 10px;
   text-align: center; width: 100%; }
 * .ngg-album-compactbox {
    height: 136px; margin: 0 0 6px !important; padding: 
   12px 0 0 7px !important; width: 180px; }
 * Any help would be greatly appreciated, this is an awesome plugin thanks to all
   who have helped dev it esp Alex.
 * Cheers,
    Gogger
 * [http://wordpress.org/extend/plugins/nextgen-gallery/](http://wordpress.org/extend/plugins/nextgen-gallery/)

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

 *  Thread Starter [jonnyscholes](https://wordpress.org/support/users/gogger/)
 * (@gogger)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-weird-firefox-css-positioning-bugproblem/#post-2305973)
 * Bump – anyone? Iv continued to trawl through the CSS to no avail – Alex if you
   see this and can find the bug ill make a further donation to the plugin.
 *  [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * (@alexrabe)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-weird-firefox-css-positioning-bugproblem/#post-2305974)
 * Test this :
 *     ```
       .ngg-album-compact {
           /* display: inline-block; */
           float: left;
           height: 136px;
           margin: 0 !important;
           padding-bottom: 80px;
           padding-right: 20px !important;
           text-align: left;
           width: 180px;
       }
       ```
   
 * With firebug I can see that “inline-block” should be the root causes of this 
   issue, I exchange it here with float:left
 *  Thread Starter [jonnyscholes](https://wordpress.org/support/users/gogger/)
 * (@gogger)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-weird-firefox-css-positioning-bugproblem/#post-2305980)
 * Aha! fantastic, thanks a million mate! Just made a donation, have a beer on me!

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

The topic ‘[Plugin: NextGEN Gallery] Weird firefox css positioning bug/problem’ 
is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [Firefox](https://wordpress.org/support/topic-tag/firefox/)

 * 3 replies
 * 2 participants
 * Last reply from: [jonnyscholes](https://wordpress.org/support/users/gogger/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-weird-firefox-css-positioning-bugproblem/#post-2305980)
 * Status: not resolved