WordPress.org

Forums

Space at end of home page after footer (6 posts)

  1. mattgreen123
    Member
    Posted 4 years ago #

    Hi

    I'm looking to have a bit of space after the content of my home page (mgreensound.com) like i have at the top of this page (i.e. you see a bit of the background before the header). This line of CSS:

    .home #footer {margin-top:5px; margin-bottom:50px;}

    sets 50px of space at bottom in Firefox but not in Chrome or Safari.
    Any thoughts as to the code so as to get all browsers to give this gap?

    thanks
    matt

  2. Martin010
    Member
    Posted 4 years ago #

    Try adding a float:left;

  3. mattgreen123
    Member
    Posted 4 years ago #

    thanks martin.. however tried float:left within my .home #footer {margin-top:5px; margin-bottom:50px;} and it didn't work.

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    It works for me when I view your site. Remember to press CTRL and F5 simultaneously when viewing an updated page/site. Or try emptying your browser cache. This should ensure that your web browser fetches a fresh copy of the page rather than serving up an out-dated copy from your own cache.

  5. mattgreen123
    Member
    Posted 4 years ago #

    thanks esmi... the problem is not in all browsers - its does work in firefox - but not in chrome or safari.

  6. esmi
    Forum Moderator
    Posted 4 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic