Dear SitePoint Members
I have a small question. It's specifically to do with producing validated code using nested list items. I know how to produce the code in unvalidated form. As it's customary, I produce all my websites to XHTML 1.0 Strict, and won't really use anything else.
As you can see code the code below...
This code certainly does not validated. But I am wondering if there is any other way to do it using text instead of images, which would use this affect, but in validated format. If anybody knows it would be a great help.Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>SitePoint Forum :: Nested List Items</title> <style type="text/css"> <!-- ol {} ol ol {list-style-type:lower-alpha;} ol ol ol {list-style-type:upper-roman;} --> </style> </head> <body> <ol> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> <ol> <li>Nested Item 1</li> <li>Nested Item 2</li> <ol> <li>Nested Nested Item 1</li> <li>Nested Nested Item 2</li> </ol> <li>Back to Nested Item 3</li> </ol> <li>Back to Item 4</li> </ol> </body> </html>
Kind Regards,
Sega











Bookmarks