yandoo Posted June 24, 2013 Share Posted June 24, 2013 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 Quote Link to comment https://forums.phpfreaks.com/topic/279504-echo-tag/ Share on other sites More sharing options...
Solution DaveyK Posted June 24, 2013 Solution Share Posted June 24, 2013 You decrease the margin? Quote Link to comment https://forums.phpfreaks.com/topic/279504-echo-tag/#findComment-1437613 Share on other sites More sharing options...
yandoo Posted June 24, 2013 Author Share Posted June 24, 2013 Oh yeah, I forgot, all sorted with margin-bottom:0px; Thank you Quote Link to comment https://forums.phpfreaks.com/topic/279504-echo-tag/#findComment-1437616 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.