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 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
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.
Thanks. I need to study overflow: hidden