Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: My php menu now validates and my index does not, why?

  1. #11
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Default

    New issue:

    Index.php dose not validate. menu.php validates after adding in header and body information. Very confused as to what the problem now is?

    Index page is: www.robinsden.110mb.com/index.php

    and the validated menu page is:

    www.robinsden.110mb.com/menu.php
    Last edited by robin9000; 03-07-2009 at 03:37 PM.

  2. #12
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Default

    As far as I know it's not so much that the page was not valid markup but that my menu that I am trying to refer to had the header and other information in it, so I have removed all that information from my menu.php file and now my index.php page validates fine but my menu.php dose not obviously.

    I am really getting stump on how to resolve my issue? Just can't seem to get my menu to display correctly. Why?

  3. #13
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    The code is written so it works with anchor tags, change:
    HTML Code:
    My Hobbies
    to
    HTML Code:
    <a href="#">My Hobbies</a>
    and
    HTML Code:
    Services
    to
    HTML Code:
    <a href="#">Services</a>
    Good luck!

  4. The Following User Says Thank You to Snookerman For This Useful Post:

    robin9000 (03-08-2009)

Bookmarks

Posting Permissions

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