butterflybill Posted February 19, 2010 Report Share Posted February 19, 2010 Is there any way, using CSS, that you can specify how much space appears between two paragraphs specified by <p></p> tags? Or is this hard wired into the browser programs?-BB Link to comment Share on other sites More sharing options...
jeffman Posted February 19, 2010 Report Share Posted February 19, 2010 (edited) I normally set the margin and padding of all page elements to 0. Then I make adjustments. The adjustment you probably want to make is to the margin-bottom property of your p elements. If you use em units, then the space will stay proportionate to the size of the font. So a typical definition might be something like:padding 0;margin:0;margin-bottom: 1em;This would create a gap that is the size of one printed line. You can of course use fixed units, like px, if you prefer. Edited February 19, 2010 by Deirdre's Dad Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now