Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2004
    Thanked 0 Times in 0 Posts

    Include header problem

    I have a header for a website thats the same on every page, and i have it working, except i dont know how to get it so the header is at the VERY top of the page and so that whatever loads under it is RIGHT under it. no spaces.

    And this may be a stupid question, but im learning PHP as html is old school

  • #2
    Super Moderator
    Join Date
    May 2002
    Perth Australia
    Thanked 101 Times in 99 Posts
    but im learning PHP as html is old school
    your problem however is still HTML , all php does is spit out HTML , if the HTML PHP is spitting out is wrong then your page will be wonky

    view-source of the final HTML , see whats missing & then change your header/content/footer to suit
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts