Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Footer wont separate

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #27349
    HipHopOTH
    Member

    So here is the problem. I built my website around wordpress. I used a tut to do it. Everything turned out perfect accept the footer is right up against the content. I cant get it to separate… I have tried so many things. Margin-bottom. Padding. Nothing is working.

    main page
    http://hiphopoth.com/blog
    files
    http://hiphopoth.com/blog/wp-content/th … /index.php
    http://hiphopoth.com/blog/wp-content/th … dexcss.css
    http://hiphopoth.com/blog/wp-content/th … footer.php

    I really hope somebody knows why this wont work for me. Its the last step in moving forward with this design.

    Please and thanks!

    #68713
    TheDoc
    Member

    Add:

    margin-top:20px;

    to:

    #footer

    #68718
    HipHopOTH
    Member

    hmmm well I tried that. It still doesn’t seem to wanna work. It for what ever reason wont listen to css.

    do you have any other suggestions? would be much appreciated.

    #68719
    TheDoc
    Member

    You have this link before your footer:

    <link href="/footercss.css" rel="stylesheet" type="text/css">

    This won’t work. It needs to be in your <head></head>.

    Change this:

    Code:
    div#footer {
    background: url(images/footer.jpg);
    heights: 300px;
    color: white;
    padding: 15px 0 10px 0;
    text-align: center;
    margin: 10px 0px 0px 0px;
    margin-top:20px;
    }
    #footer {
    margin-top:20px;
    }

    to:

    Code:
    div#footer {
    background: url(images/footer.jpg);
    heights: 300px;
    color: white;
    padding: 15px 0 10px 0;
    text-align: center;
    margin: 20px 0px 0px 0px;
    }

    Also, you have an image on your footer, but it’s only showing up as a solid color for me. You shouldn’t use an image if you’re just displaying a solid color.

    All in all, the more I look at the site, the more problems I see with the code I’m afraid.

    #68864
    HipHopOTH
    Member

    I know the code is really messed. Its mostly all wordpress though. I followed some tutorial and it seemed to make everything messy. Ill clean it up. Gonna try your suggestions. I hope it works. Thanks for the reply.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.