WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Dynamic Content Gallery] Shifts right in Firefox Windows, but not Mac? (2 posts)

  1. David Borrink
    Member
    Posted 2 years ago #

    I put the Dynamic Content Gallery on my site, and it looks great on my Mac in Firefox and Safari, but on my wife's PC the gallery is positioned a couple hundred pixels out of position in Firefox, yet is correct in IE.

    I wouldn't expect Firefox on Windows (Vista) to do this, this would be more in line with IE. Anyone have an idea what could be causing this?

    URL: http://artsandletters.biz

  2. David Borrink
    Member
    Posted 2 years ago #

    Fixed. I loaded FireBug on my wife's PC and found that one of my CSS rules was interpreted differently.

    This is what was on my CSS:

    .one-column #content {
        margin: 0 auto;
        width: 100%;
    }

    But on the PC in Firefox it came up as this:

    .one-column #content {
        margin: 0 auto;
        width: 640px;
    }

    ... which must mean that somehow the Windows version of Firefox created a fixed value from probably this rule, as it was the only "640" in the CSS.

    #content img {
    	margin: 0;
    	height: auto;
    	max-width: 640px;
    	width: auto;
    }

    And that makes sense since an image is being used in the gallery.

    So I rewrote by gallery container to a fixed amount of "940px" rather than "100%", to make it specific.

    Gosh, I love Firebug.

Topic Closed

This topic has been closed to new replies.

About this Topic