Website left margin

by 1 replies
2
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...
#programming #left #margin #website
  • 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
    • [ 1 ] Thanks

Next Topics on Trending Feed

  • 2

    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...