Hi.
I think that should be able to select method of numeric:
Example
1.
2.
1.
2.
or
1. aaa
1.1 from aaa
2. bbb
2.1 from bbb
2.2 from bbb
2.2.1 from from bbb
Hi.
I think that should be able to select method of numeric:
Example
1.
2.
1.
2.
or
1. aaa
1.1 from aaa
2. bbb
2.1 from bbb
2.2 from bbb
2.2.1 from from bbb
Comments
Comment #1
deviantintegral commentedUnfortunately, there is no way to do your second style with CSS. If you want to change the style to something different, you could add something like this to style.css:
w3schools has a good summary of valid CSS list types.
--Andrew
Comment #2
tomaszx commentedMaybe try:
or in php code but i dont have any ide how you are implement this :)
Comment #3
deviantintegral commentedThose CSS properties are really useful - thanks for pointing them out!
What you've posted would add numbered headings to headings automatically, which in itself is a useful feature. It would need to be limited so that it didn't number headings on inappropriate pages. The way I see it there are two pieces of functionality now:
I think only solutions using pure CSS should be considered acceptable, as changing the content headings themselves in the input filter could get messy really quickly.
If someone submits a patch with the above two features I'll be glad to take a look. I might get to this myself, but who knows when it will actually happen :)
--Andrew
Comment #4
AlexisWilke commentedThe problem is that those CSS do not work on all browsers. Whereas, adding the counters in PHP would work. That should be relatively easy to do also and I like it. We'll see...
Thank you.
Alexis
Comment #5
AlexisWilke commentedThis is done in PHP. Really, forget CSS for that sort of a thing!
It's in 3.x-dev Jul 5, 2009.
Thank you.
Alexis Wilke