Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Embarassed to be asking this question but .. <ol> == <txp:hates it />?
Or am I suffering from total mind numbness?
I might be, as it’s five am in the morning. But for some reason I have been sitting here all night trying to figure out why simply ordered lists won’t show up in txp? The list does show up but the numbering does not.
Example:
got a simple ol element styled via css, nothing fancy.
Entered the list elements into my article and wrapped it with the ol element. Saved it and viewed it and, woot. Nothing there …
???
Offline
Re: Embarassed to be asking this question but .. <ol> == <txp:hates it />?
The list items show up but the numbers doesnt show, is that right?
maybe, there is a rule in your stylesheet that is:
<code>ol {
list-style-type: none;
}</code>
Or maybe, margin and padding for the ordered list are set to zero, and the numbers of the ordered list are “hidden”.
Last edited by maniqui (2005-12-04 04:34:23)
Offline
Re: Embarassed to be asking this question but .. <ol> == <txp:hates it />?
If you are using textile, use the pound/number sign before the list item, not the bullet and don’t wrap the <ol>
tag around the list-items.
Offline
Re: Embarassed to be asking this question but .. <ol> == <txp:hates it />?
In a standard TXP install the comments use an ordered list so you will probably have an ol in your css to cover that. TXP gives that ol a class of “comments” so in your CSS use “ol.comments” for the comments list then create another ol to cover ordered lists elsewhere. You would be as well giving that a class too so that you can add more later if needed.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Embarassed to be asking this question but .. <ol> == <txp:hates it />?
I have had these ideas too. I have explicitly no ol rules in my stylesheet except one that I have set for specific presentation purposes (presenting code – I do not use the default stylesheet by txp).
I also do not use textile. This is really strange. I will have to do some more digging to see where the issue is. Hmmm…
Thanks everyone for the responses. A few more mugs of coffee and a red bulls will hopefully help me solve this idiotic issue. :)
Maleika
Last edited by Maleika E.A. (2005-12-04 14:15:44)
Offline
Re: Embarassed to be asking this question but .. <ol> == <txp:hates it />?
Just a quick thought, are the numbers there but sitting outside the box you have them in and thus end up invisible. In other words does the list itself look too close to the edge to have numbers alongside. Try setting up an ol in your CSS and use “list-style-position: inside;”
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Embarassed to be asking this question but .. <ol> == <txp:hates it />?
Duh. This happens when you work 48 hours non-stop with a handfull of different stylesheets.
All good. The solution was = 8 hours of sound sleep. :)
Offline