1 replies
My website jokesnfunnypics.com has a left margin when 100% zommed(normal size) but when it gets zoomed, the margin remains. But in http://warriorforum.com when zoomed, the left margin goes away and increases when zoomed out. Please tell me how to do this...
Thanks in advance...
#left #margin #website
  • Profile picture of the author Michael71
    Because of bad CSS.

    Your problem is this:

    Code:
    div.main {
    z-index: 5;
    position: absolute;
    left: 10%;
    right: 10%;
    top: 2%;
    bottom: 8%;
    width: 1081px;
    min-width: 1081px;
    max-width: 1081px;
    background-color: #FFFFFF;
    }
    Absolute positioning with a left margin... OMG, what a bad hack lol
    Signature

    HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
    ---
    Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu

    {{ DiscussionBoard.errors[7713699].message }}

Trending Topics