Skip to content

Instantly share code, notes, and snippets.

@libo1106
Created December 16, 2012 08:40
Show Gist options
  • Save libo1106/4305373 to your computer and use it in GitHub Desktop.
Save libo1106/4305373 to your computer and use it in GitHub Desktop.
margin合并处理
<head>
<style>
div{ padding: 0 20px; overflow: hidden; zoom :1;}
div p{ margin: 10px 0;}
</style>
</head>
<div>
<p>第一段</p>
<p>第二段</p>
<div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment