Jump to content

echo <h> tag


yandoo

Recommended Posts

Hiya just a quick question, 

 

When I try to echo out a <h> tag which includes a class attached to it I find it changes to the class specifications but still leaves an almighty gap between the line below. This doesn't do this in html its just when it is echoed. 

echo <h2 class="PostTitle"></h2>
<h2 class="PostTitle"></h2>
.PostTitle { font-size:28px; color:#993300;TEXT-DECORATION: none; font-weight:bold; line-height:20px; font-family: "Arabic Typesetting";}

How to I force it so there isn't a massive gap between the <h> tag and text below it please?

 

Any ideas?

 

Thank you :) 

Link to comment
https://forums.phpfreaks.com/topic/279504-echo-tag/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.