flunn Posted April 24, 2007 Share Posted April 24, 2007 I'm designing a header for my web pages — a div with several smaller divs inside. I want the text inside these divs to start right at the top, but <p> and <h> tags apparently all insert an empty line before the paragraph or heading begins. Is there any way I can get rid of that unwanted space? regards to all from flunn Link to comment https://forums.phpfreaks.com/topic/48472-solved-how-can-i-get-rid-of-the-empty-line-at-the-beginning-of-a-paragraph-or-heading/ Share on other sites More sharing options...
AndyB Posted April 24, 2007 Share Posted April 24, 2007 Yes. CSS. margin-top:0px; Link to comment https://forums.phpfreaks.com/topic/48472-solved-how-can-i-get-rid-of-the-empty-line-at-the-beginning-of-a-paragraph-or-heading/#findComment-237104 Share on other sites More sharing options...
flunn Posted April 24, 2007 Author Share Posted April 24, 2007 Problem solved! Thank you Andy. Your help is much appreciated. flunn Link to comment https://forums.phpfreaks.com/topic/48472-solved-how-can-i-get-rid-of-the-empty-line-at-the-beginning-of-a-paragraph-or-heading/#findComment-237240 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.