butterflybill Posted February 19, 2010 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 Share Posted February 19, 2010 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.