CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
This problem arose when trying to view this site on an iPhone.
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.
I need to study overflow: hidden
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed