Treehouse: Grow your CSS skills. Land your dream job.

PHP Includes, footer

  • # July 13, 2012 at 3:05 pm


    I am totally new to PHP includes. I have figured out how to put a spry menu bar and a header image into a include file. However, I am unable to figure out how to make a footer, that has hyperlinks and images. Any advice is appreciated and I need it on a PHP for dummies level, thank you. Please pay only attention to the footer, this is a test page and I have not uploaded the images to the gallery.

    # July 13, 2012 at 4:11 pm

    Oh, dear lord that’s a lot of divs.

    I’m afraid I don’t have the time to wade through all of that to find out if you have any actual styling errors. However, at the very least you are missing a closing div within your footer. It doesn’t appear in the include file you posted, so the problem arises in the code you are not posting.

    # July 13, 2012 at 4:34 pm

    In the footer file I see an open paragraph, and 2 open divs. Closing those should fix the problem.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.