--- comments: true date: 2011-09-17 16:40:36 layout: post slug: ordered-and-numbered-lists-the-differences title: Ordered and numbered lists; the differences wordpress_id: 3191 categories: - Web Development tag: - CSS - HTML - Semantics --- This is a really small blog post about ordered lists and numbered lists and their subtle differences. Have you ever wanted to say something like ‘There are three things to look out for:’ and then follow with a numbered list with the three things in? I’m pretty sure we all have, and that we’d all normally use an `
ul,
ol{
margin-bottom:1.5em;
}
li ul,
li ol{
margin-bottom:0;
}
ul{
list-style:square outside;
}
ol,
.numbered{
list-style:decimal outside;
}
There. As simple as that. These are pretty much my default list styles now, and all I’m really doing is making an unordered list with a class of _numbered_ look the same as an `