How to reduce the space between p tags?
use css :
p { margin:0 }
Try this wonderful plugin http://www.getfirebug.com :)
EDIT: Firebug is now closed as a project, it was migrated to https://www.mozilla.org/en-US/firefox/developer
Decrease the space between header and paragraph vertically in html
Try adjusting the line height property using CSS. I would recommend giving it an id though if you only want it to affect this p tag in particular
p {
line-height: 0px;
}
There is also the possibility of negative margins (which isn't considered best practice, but will work in your case):
p {
margin-top:-5px;
}
Related Topics
CSS (Transition) After a Pseudo Element - How to Transition Content That Shows on Hover
Expand Container Div with Content Width
How to Exclude a Specific Element from Inheriting CSS Rules
Difference Between Baseline of Empty and Non-Empty Inline Blocks
Pseudo-Element After Not Showing
Horizontal Center Dynamic Image in Div with Absolute Position
CSS Animation with Time Interval
Css3 Transition: Different Transition for *In* and *Out* (Or Returning from Transitioned State)
Why Is My CSS Not Updating in Web Browser
CSS - How to Get Rid of the Selection Rectangle After Clicking a Link
CSS Width and Max-Width Combined
How to Detect Ie and Edge Browsers in CSS
CSS Is Looking Different on Heroku