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 Link to comment https://forums.phpfreaks.com/topic/279504-echo-tag/ Share on other sites More sharing options...
DaveyK Posted June 24, 2013 Share Posted June 24, 2013 You decrease the margin? 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 Link to comment https://forums.phpfreaks.com/topic/279504-echo-tag/#findComment-1437616 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.