• Resolved SgrWd

    (@adamf24)


    Alright so I spent the last 30 mins or so taking my website down from 119 errors (using the W3 Validator) to 2 errors and even though the page looks perfect now with no weird kinks showing up, I want to finish the job and make the page completely error free.

    Here’s what W3 Validator is telling me

    Line 282, Column 113: document type does not allow element "ul" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag .
    …><div id="topline"><font size="2"><ul><li><a href="https://theinvestorsjournal?
    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element. '
    
    One possible cause for this message is that you have attempted to put a block-level element (such as "" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

    It has something to do with the <ul> and </ul> code. These two ul codes are causing errors and I don’t know how to fix it since my knowledge on this stuff is pretty limited.

Viewing 2 replies - 1 through 2 (of 2 total)
  • moshu

    (@moshu)

    Read it again!

    One possible cause for this message is that you have attempted to put a block-level element (such as “” or “<table>”) inside an inline element (such as "<a>", “<span>”, or “<font>“).

    Thread Starter SgrWd

    (@adamf24)

    Ah thats it! I don’t know how I missed that. =)

    lol thanks alot

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘2 errors away from being XHTML valid, please help’ is closed to new replies.