Skip to content

Instantly share code, notes, and snippets.

@PizzaLiu
Created May 16, 2013 05:07
Show Gist options
  • Save PizzaLiu/5589533 to your computer and use it in GitHub Desktop.
Save PizzaLiu/5589533 to your computer and use it in GitHub Desktop.
width:100% + padding no overflow
html, body {width:100%;}
.father-div {width:960px;}
.child-div {width:auto;padding:10px;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment