#1
  1. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    2,672
    Rep Power
    171

    Document type does not allow element "ol" here; missing one of "object", "applet", "


    Hello;

    What is this error for:

    Line 68, Column 31: document type does not allow element "ol" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
    Here is the link
  2. #2
  3. Code Monkey V. 0.9
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2005
    Location
    A Land Down Under
    Posts
    2,122
    Rep Power
    1990
    What is this element supposed to do?
    Code:
    compact="compact"
    Ahh... I've found it.

    That's why I haven't heard of it. It was deprecated in HTML 4.01. Meaning, don't use it.
  4. #3
  5. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    2,672
    Rep Power
    171
    Originally Posted by Catacaustic
    What is this element supposed to do?
    Code:
    compact="compact"
    Ahh... I've found it.

    That's why I haven't heard of it. It was deprecated in HTML 4.01. Meaning, don't use it.
    Got rid of it. BUt that didnt fix it.
  6. #4
  7. Code Monkey V. 0.9
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2005
    Location
    A Land Down Under
    Posts
    2,122
    Rep Power
    1990
    Originally Posted by zxcvbnm
    Got rid of it. BUt that didnt fix it.
    Well, look at it yourself and see what you can see about it.

    Here's a hint... (that's way to obvious here) You can't have a list inside a p tag.

    This should be really very easy debugging. The validator tells you exactly what the problem is. The "ol" is not allowed there, so move it out of whatever element that it's in.
  8. #5
  9. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    2,672
    Rep Power
    171
    Thanks dude,
    While i got you here. What is the right place to put <form> and </form>?

    For example in pages that there are multiple forms and tables and divs?

    Thanks
  10. #6
  11. Code Monkey V. 0.9
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2005
    Location
    A Land Down Under
    Posts
    2,122
    Rep Power
    1990
    The "right" place?

    Normally I'd wrap them around whatever element is going to contain the form fields. No point having them around anything more, and can't have them as anything less.
  12. #7
  13. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    2,672
    Rep Power
    171
    Originally Posted by Catacaustic
    The "right" place?

    Normally I'd wrap them around whatever element is going to contain the form fields. No point having them around anything more, and can't have them as anything less.
    Dreamweaver is SO picky on form tags! Anyways not a biggie. Thanks
  14. #8
  15. Code Monkey V. 0.9
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2005
    Location
    A Land Down Under
    Posts
    2,122
    Rep Power
    1990
    Originally Posted by zxcvbnm
    Dreamweaver is SO picky on form tags
    That explains it all...

    Dreamweaver is HORRENDOUS for HTML coding. Do not trust it. Ever.
  16. #9
  17. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    2,672
    Rep Power
    171
    Originally Posted by Catacaustic
    That explains it all...

    Dreamweaver is HORRENDOUS for HTML coding. Do not trust it. Ever.
    What do you recommend?
  18. #10
  19. Code Monkey V. 0.9
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2005
    Location
    A Land Down Under
    Posts
    2,122
    Rep Power
    1990
    Lean HTML properly, and do it by hand.

    I do use Dreamweaver at work. BUT I could count on one hand the number of times that I've used to 'Design' window in the last 5 years. The only reason that I use it is because this is a small firm and it does have good site management and FTP functionality. I do not let it generate HTML code for me - ever.

    There's a few million other editors out there. I use Komodo Edit, and there's also things like Notepad++, any of the different Eclipse variants, and pretty much anything that you can type plain text into.
  20. #11
  21. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    2,672
    Rep Power
    171
    Originally Posted by Catacaustic
    Lean HTML properly, and do it by hand.

    I do use Dreamweaver at work. BUT I could count on one hand the number of times that I've used to 'Design' window in the last 5 years. The only reason that I use it is because this is a small firm and it does have good site management and FTP functionality. I do not let it generate HTML code for me - ever.

    There's a few million other editors out there. I use Komodo Edit, and there's also things like Notepad++, any of the different Eclipse variants, and pretty much anything that you can type plain text into.
    The feel of dreamweaver is great. I dont use it to generate code for me, but the code offer, colors and in general 'the feel' is good.
    Thanks.

IMN logo majestic logo threadwatch logo seochat tools logo