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 Quote 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; Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.