The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS I lose the “Auto” Height

  • This topic is empty.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #42680

    When I put this div in

    I lose the “Auto” setting of the Height Style in the #page_wrap
    In this one the #page_wrap height is auto fit for the content
    You’ll see in this one the bottom is now cut-off, as if the auto in #page_wrap is static again…


    Wow…what’s all this about?

    #main-content-wrap {
    margin: -610px 10px 40px 425px;


    Looks like that is left-over code. I can’t find where it’s needed….


    Dunno….you have that element which looks like it should hold stuff…but there is nothing in it.


    Yep, I just took it out, and everything works without it (with the exception of the issue in the post of not fitting all the content in the #page-wrap box dynamically) . That code above was not needed. THanks for noticing that code-dirt.


    I think you need to look at the HTML structure. You seem to be moving things around using large margin values which will break pages and create all sorts of strange effects.


    Ugh…seems I lied (didn’t clear my cache).

    So #main-content-wrap contains the image for the main page. It’s the image that has the photo of people in it.

    It’s called in the code of the html file just above the footer div’s


    ok I’ll play with the HTML and see what I can figure out. Thanks for looking !


    I would look into how floats work….it’s going to remove a lot of the need for those odd margins.


    yeah the odd margins are driving me nuts. I’ll definitely look into floats.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘CSS’ is closed to new topics and replies.