Cross-browser fluid layout


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #page-wrap {
  2. min-width: 960px; max-width: 1260px;
  3. margin: 0 auto; padding: 0 10px;
  4. width:expression(document.body.clientWidth < 961? "960px" : document.body.clientWidth > 1261? "1260px" : "auto");
  5. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.