Skip to content

Instantly share code, notes, and snippets.

@konishi
Created November 4, 2011 17:22
Show Gist options
  • Save konishi/1339909 to your computer and use it in GitHub Desktop.
Save konishi/1339909 to your computer and use it in GitHub Desktop.
blockquoteでpタグを囲ってblockquoteのpadding-bottom:0px; にするとpタグのmargin-bottomがはみ出す ref: http://qiita.com/items/866
<blockquote>
<p>
</p>
</blockquote>
blockquote {
padding: {
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
}
p {
margin-bottom: 1.0em;
}
blockquote {
padding: {
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
}
p {
margin-bottom: 1.0em;
}
blockquote {
padding: {
top: 0px;
right: 0px;
bottom: 1px;
left: 0px;
}
}
p {
margin-bottom: 1.0em;
}
blockquote {
padding: {
top: 0px;
right: 0px;
bottom: 1px;
left: 0px;
}
}
p {
margin-bottom: 1.0em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment