Return to Snippet

Revision: 38407
at January 1, 2011 03:16 by blueocto


Initial Code
#main { overflow: hidden; }

Initial URL

                                

Initial Description
When oversized content (i.e. wide image) is placed in fixed width floated container, it may break the layout. To prevent that use this trick. It will hide a part of the content but at least your layout structure will remain intact.

Initial Title
Prevent oversized content to break fixed width floated layouts

Initial Tags

                                

Initial Language
CSS