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

Discussion in 'HTML & Website Design' started by scarfeet, Jul 3, 2011.

  1. #1
    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
     
    scarfeet, Jul 3, 2011 IP
  2. aap

    aap Well-Known Member

    Messages:
    1,802
    Likes Received:
    39
    Best Answers:
    2
    Trophy Points:
    120
    #2
    you have this code in your theme.
    <h1 style="text-align: center;">
    <strong>CONTENT</strong>
    </h1>
    Code (markup):
    Change this to:
    <h1 style="text-align: center; margin:0;">
    <strong>CONTENT</strong>
    </h1>
    Code (markup):
    similarly do for footer region.
     
    aap, Jul 3, 2011 IP
  3. scarfeet

    scarfeet Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thank you

    placing the headline, content and footer in a wrapper div seems to have solved the issue
     
    scarfeet, Jul 3, 2011 IP