Nested Lists
-
I am trying to create an unordered list nested within an ordered list. This is the effect I want:
1. First Ordered List Element
* Unordered List element.
* And another.2. Second Ordered List Element
I’ve set the code up like this:
[sourcecode language='html']
- First Ordered List Element
- Unordered List element.
- And another.
- Second Ordered List Element
[/sourcecode]
As far as I can tell, that should be giving me the look I want. Instead, I’m ending up with:
1. First Ordered List Element
1. * Unordered List element.
2. * And another.2. Second Ordered List Element
Does anyone know why this might be?
Thanks!
- First Ordered List Element
-
In order for code to display in the forum, it has to be placed between backticks, those little marks on the same key as the ~
-
The placement of the backticks depends on your keyboard locale. Different country = different keyboard. My backticks are on the same key as the ´ and
-
I can’t figure how to edit the post :( I’m trying to post sample html but it’s formatted it :(
The html segment should be: (hope it works this time!)
- First Ordered List Element.
- Unordered List element.
- And another.
- First Ordered List Element.
-
Thanks, I’ll try again…
<ol> <li> First ordered list element. </li> <ul> <li> Unordered List Element </li> <li> And another. </li> </ul> <li> Second ordered list element. </li> </ol>See if this works!
-
-
This is what I get using your code:
http://wpvstp.wordpress.com/2008/08/19/test-list/
How ol ul and li display may depend on your theme. -
@lusule
You are using the Kubrick theme. That theme seems to have an issue with ordered/unordered lists, as seen in my post above, where I showed how different themes display lists. I would contact Support about this issue. Not sure they can or will fix it, but at least you should let them know. -
Okay thanks, I was hoping it was just me being an idiot to be honest, so that I could fix it. Guess I’ll have to choose a different theme.
-
Yes, Kubrick is a bit tricky about certain things like lists, probably because it’s so old. But there are an abundance of BBH (Big Blue Header) themes in the Design pages.
- The topic ‘Nested Lists’ is closed to new replies.