• Resolved Kevin Kwok

    (@queesy)


    My site: ampersandbox.net
    Originally the width was 940px
    but I want to make it 1120px
    So opening the css file I extended the width accordingly, everywhere i saw 940px i switch it to 1120px;

    However the location of the photos did not move so I added a margin-left:-90px; since going from 940 to 1120 extends 90px out left and right.

    Once i did that theres a white bar that appears over my thumbnails, im not sure why I have looked through all the files searching for 940px but came up empty. Someone please help me! thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • esmi

    (@esmi)

    Can’t see any obvious white bars. Did you fix this?

    Thread Starter Kevin Kwok

    (@queesy)

    still have not fixed this =(
    I took a screen shot and circled here: https://img217.imageshack.us/img217/8198/fixf.jpg

    esmi

    (@esmi)

    That’s not a white bar, your leftmost images are being pushed off the left edge of the page by your -90px left margin:

    #content {
    float:none;
    margin:0 0 0 -90px;
    width:1120px;
    }

    Change that to margin:0; and the images appear correctly.

    Thread Starter Kevin Kwok

    (@queesy)

    oh I know i want the images in that spot i made it go -90px but theres that white space on top. I basically want the align the images to that black line on the header

    thanks for responding! =)

    esmi

    (@esmi)

    Try changing:

    #header {
    margin:0 auto;
    padding:20px 0;
    position:relative;
    z-index:20;
    }

    to

    #header {
    margin:0 auto;
    padding:20px 0 0;
    position:relative;
    z-index:20;
    }

    and remove .home #content from

    .msie #content, .single #content, .home #content, .page #content {
    padding-top:20px;
    }
    Thread Starter Kevin Kwok

    (@queesy)

    thank you! i tried those fixes but still has white area =( not sure whats wrong, could it be that there are other files still at the fixed width of 940px?

    Thread Starter Kevin Kwok

    (@queesy)

    any one else know how i can fix this problem?

    Thread Starter Kevin Kwok

    (@queesy)

    problem solved! there was additional css file with width still set to 940px… phew that took all day. thank you for helping esmi

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘adjusting width problems.’ is closed to new replies.