Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-04 03:40:27

Maleika E.A.
Member
From: Hamburg, Germany
Registered: 2004-12-11
Posts: 39
Website

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

#2 2005-12-04 04:33:44

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2005-12-04 05:22:27

paularms
Member
From: University of Minnesota
Registered: 2004-10-21
Posts: 155
Website

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 &lt;ol&gt; tag around the list-items.

Offline

#4 2005-12-04 06:06:40

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

#5 2005-12-04 14:15:11

Maleika E.A.
Member
From: Hamburg, Germany
Registered: 2004-12-11
Posts: 39
Website

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

#6 2005-12-04 16:11:50

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

#7 2005-12-05 13:48:38

Maleika E.A.
Member
From: Hamburg, Germany
Registered: 2004-12-11
Posts: 39
Website

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

Board footer

Powered by FluxBB