h1 prob


when have h1 text , want paragraph go right under it, not become part of how do it. know leaves on sized gap, bit of gap ok. can 1 me please, jeff

basically, what's happening default margin being given <h1> tag combining default margin of <p> tag. these margins given tags browser, in order rid of some, or of it, need write css rule 1 or both.

 

something along lines of...

 

h1 {

     margin-bottom:0px;

}

 

may enough spacing way it. rule above affect h1 tags throughout site if place in external stylesheet.

 

edit: if need more space removed, can add inline style 1 <p> tag after <h1> rid of it's margin-top (or set smaller amount)...

 

<p style="margin-top:3px;">your content</p>



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

2.5.28 to 3.4.1---Download of update package failed - Joomla! Forum - community, help and support

Your host needs to use PHP 5.3.10 or higher to run this vers - Joomla! Forum - community, help and support