Forums

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

Home Forums CSS Extending Height of Containing Div

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26586

    This problem arose when trying to view this site on an iPhone.

    http://ezwebserver.com/27683/index.html

    Looks fine now, but this is what I want. If the size of the #greybox (Superior Service) was to become much taller(as it does on iPhone) How could it get it’s background or #ship div to also grow in height automatically with it?

    Thanks Guys and Girls

    #65974
    dcp3450
    Participant

    This is an issue i have a lot and forget to catch:

    I hate giving answers straight out but this one is hard to "lead you to"

    remove the height on #ship and add overflow: hidden

    in #greybox change your position to relative.

    You may want to add some margin or padding to get grey box off the bottom of ship. Hope that helped.

    #65964

    Thanks.
    I need to study overflow: hidden

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