...

View Full Version : Need help html/css, WP theme, how to remove empty space between header and content



scarfeet
07-03-2011, 04:37 PM
Hi,

I need help with a html/css layout that I am converting to wordpress theme.

http://ngdemo.plrnicheblog.net/?page_id=35

If you see the link above there is an empty space between Headline and Content part, and again at the bottom between Content and footer part. Can someone please have a look and tell me how can I remove this empty space or whats causing it.

Appreciate any help
Thanks

abduraooft
07-03-2011, 04:58 PM
It might be the browser specific default values of margin/padding applied to some elements.

Add
*{margin:0;padding:0} in to your CSS and check again.

Sammy12
07-03-2011, 07:01 PM
h1 { margin: 0; padding: 0; }


the h1 for "content" has a default margin that is pushing it down.

scarfeet
07-03-2011, 07:31 PM
thanks everyone, it's solved.

I've placed the headline content and footer in a wrapper div, and that seems to have solved the issue.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum