September 3, 200817 yr hi there i've made a list on my site root like this... site root now as you can see its got lists insides lists, but this isn't valid markup, so i was wondering how do i get the same effect but validated?? cheers
September 3, 200817 yr you can do this: <ul> <li>1 <ul> <li>1.2</li> <li>1.2</li> <li>1.2</li> </ul> </li> </ul>
September 3, 200817 yr your page is not opening up, please check the your URL and also remove spaces from your URL as it is producing % signs in the URL I guess what you are looking for so, If you are looking for the parenting menu items then you can download it from my site's download section. Thanks Asif http://www.mohdasif.net
September 3, 200817 yr Author aaah my bad n00b error i copied the address of the local file!! site root Dizi thats what ive done except ive added another couple <ul>'s in the <li>'s and it doesn't validate
September 3, 200817 yr aaah my bad n00b error i copied the address of the local file!! site root Dizi thats what ive done except ive added another couple <ul>'s in the <li>'s and it doesn't validate Look closely at my example and then back at your code, notice the difference? yours: <ul><li><a href="index.html">Home</a></li> <ul><li><a href="news.html">News</a></li></ul> </ul> mine: <ul> <li>1 <ul><li>1.2</li></ul> </li> </ul> Hope that helps you see the difference in the coding EDIT: and here is proof that it will validated even using a strict Doctype http://dizidesigns.co.uk/sitemap.php
September 3, 200817 yr Author Look closely at my example and then back at your code, notice the difference? yours: <ul><li><a href="index.html">Home</a></li> <ul><li><a href="news.html">News</a></li></ul> </ul> mine: <ul> <li>1 <ul><li>1.2</li></ul> </li> </ul> Hope that helps you see the difference in the coding EDIT: and here is proof that it will validated even using a strict Doctype http://dizidesigns.co.uk/sitemap.php aah i seeeee thanks dizi
Create an account or sign in to comment