treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Site wont scroll, overflow code question (for Wordpress)

  • Hi, I'm working on a site for a school, and I just realized I cant get the site to scroll down when there is too much content. I tried using the overflow: scroll (and tested the auto as well), but when I put it in it doesnt seem to work. Any ideas? I think it might have something to do with the fixed positioning, but it was the only way i could get things to work together, the school had a very specific design they wanted.

    http://calculatedscene.com/lhs1/?page_id=16

    I'd REALLY appreciate any help!
  • I am assuming you assigned a length property to the content area? have you tried taking that out?
  • it would be more helpful to have your code as well as the live site, I can't be bothered doing an investigation just to find the correct style sheets for all of your id and classes.

    even firebug can't find it all
  • i sincerely apologize for not including the following code in my original post. i do appreciate your responses. i've put a link to the stylesheet here:

    http://www.calculatedscene.com/lhsstylesheet.css
  • "cybershot" said:
    I am assuming you assigned a length property to the content area? have you tried taking that out?


    i dont have a height in the content area, but i did test it and put a large number in (like 2500px) to see what it would do, and there was no change, so I'm guessing it's being ignored because something at a higher level is set to take over.
  • Why on earth are you using fixed position?

    I have just been through it with firebug and if I remove position: fixed from #wrap and #content in both(?!) stylesheets then the everything below the header will scroll although the header remains fixed.

    Use floats or relative and absolute positioning but not fixed.
  • @apostrophe

    thank you SO much for your help. i used fixed positioning because i thought it was the best/easiest way to handle their demands on the site, but i realized that was very wrong. i removed all fixed positioning from the site, and that totally fixed the scrolling issue. i now only have one small issue with the navigation but im sure that will be an easy fix.

    thank you again very much!
  • You're welcome.

    You might find this article helpful http://css-tricks.com/absolute-relative-fixed-positioining-how-do-they-differ/.
  • thank you, im reading it now.

    best, j