Validation Error - Embedden <ul> tag

Discussion about HTML and XHTML related issues.
Post Reply
medden
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 2
Joined: Mon Sep 04, 2006 7:57 am

Validation Error - Embedden <ul> tag

Post by medden » Mon Sep 04, 2006 8:40 am

I recently added some CSS drop don menus to my site.

But after I added them I get errors validating the HTML code.

the site is on..... http://s171027232.websitehome.co.uk/higgleton/

Why can't you nest <ul>'s???

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3446
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Post by Albert Wiersch » Mon Sep 04, 2006 8:45 am

Hello,

Make sure that the "ul" element is in an "li" element. Like this:

Code: Select all

<ul>
 <li>
  <ul>
   <li>...</li>
  </ul>
 </li>
</ul>
Image
Albert Wiersch

medden
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 2
Joined: Mon Sep 04, 2006 7:57 am

Post by medden » Mon Sep 04, 2006 9:08 am

Thank you. That worked.

:-)

nice shades mate!

Post Reply