# Decreasing the gap between a \<p\> tag

**URL:** <https://forum.kirupa.com/t/decreasing-the-gap-between-a-p-tag/243373>\
**Category:** web dev\
**Created:** [November 6, 2007, 11:09am UTC](https://forum.kirupa.com/t/decreasing-the-gap-between-a-p-tag/243373 "2007-11-06T11:09:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Madball](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@Madball](https://forum.kirupa.com/u/Madball)\
**Post date:** [November 6, 2007, 11:09am UTC](https://forum.kirupa.com/t/decreasing-the-gap-between-a-p-tag/243373/1 "2007-11-06T11:09:11Z")

</div>

Hi all,

I’ve been messing around trying to learn **CSS** for a couple of weeks now, I’m really enjoying it and I can’t believe how easy it is to create stuff using it, but anyway on to my question. I have ran into a problem where I have a **\<h1\>** tag that has got CSS code assigned to it and a **\<p\>** tag that also has CSS code assigned to it. When I start writing out text in the edit using these tags I noticed that there was a huge gab between the heading tag and the paragraph tag. Is there a way to decrease this? I’ve attached the HTML and CSS file to this thread to help.

Kind Regards

Madball
