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

07-03-2011, 04:37 PM

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


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

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

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

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

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

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