Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Sep 2007
    Posts
    59
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Registration Form With CSS Classes Won't Do Drop Downs?

    http://www.foodprotect.org/2008Bienn...istration.html

    This page has a registration form, but on the options that are drop down, they won't drop down? What do I need to do to fix that?

  • #2
    New Coder
    Join Date
    Sep 2007
    Posts
    59
    Thanks
    7
    Thanked 0 Times in 0 Posts
    Sorry, in Opera it works fine. but Firefox it's not working?

  • #3
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,092
    Thanks
    2
    Thanked 322 Times in 314 Posts
    I recommend validating your markup - http://validator.w3.org/check?uri=ht...Inline&group=0

    There are doctype and some form errors that are causing the incorrect operation. All 22 of the reported errors should of course be corrected.

    The most serious of the problems are that your doctype is not present at the start of the page. There is a doctype present about 1/2 way down on the page, probably due to included content. The other thing that is probably preventing the form from working is there are several elements with the same id and they cannot be referenced properly.

    Edit: Ummm. I just forced the XHTML STRICT doctype that was present down in the middle of the page and there are 142 validation errors.
    Last edited by CFMaBiSmAd; 11-01-2007 at 03:10 AM.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.


  •  

    Posting Permissions

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