Posted By

blueocto on 01/01/11


Tagged

width content to break layouts fixed prevent Floated oversized


Versions (?)

Prevent oversized content to break fixed width floated layouts


 / Published in: CSS
 

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.

  1. #main { overflow: hidden; }

Report this snippet  

You need to login to post a comment.