css div layout problem php include

Posted on 2008-11-10
Last Modified: 2013-12-13
Hello people

I'm having a problem with a layout.

I've got it working here

but once I try to use the php inlucde function to add the content to the divs from separate pages the layout doesn't work.

I'm on a tight deadline and this is my first time trying to do this, I can't see why it doesn't work, sorry if it's something real simple!

Please let me know if I need to provide any further information













Open in new window

Question by:andrew_perry_hgca
    LVL 6

    Accepted Solution

    Hi there,

    I've looked at the source code for both of your pages, the php page is missing a </div> tag for the <div class="left">.

    It should be located right after the line reading "<strong>James Taylor Building</strong></p>"

    Hope that helps,

    Author Closing Comment

    Hiya, thanks for that, i'm hanging my head in shame!

    Have a great day.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
    When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now