Jump to content

ul in table or table in ul


tine
 Share

Recommended Posts

I'm making this navigationbar.. and I've used table to make it look right and ul to define the list which the links are..? make any sense?anyway; it looks like this..<table><tr><ul> <td></td><td></td> <td><li><a href='index.html'>Home</a></li></td> <td></td><td></td><td></td><td></td><td></td> <td><li><a href='oppskrifter.html'>About</a></li></td></ul> :) </tr></table>But the validations wont take it.. and I dont understand what to do.."Line 19 column 5: document type does not allow element "ul" here; missing one of "th", "td" start-tag. <ul>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 "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>"). "anyone..?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...