1
SiNTAX
Bug in default style.css causing errors in phpWiki numbered lists
  • 2003/11/5 14:11

  • SiNTAX

  • Just popping in

  • Posts: 1

  • Since: 2003/11/5


In XOOPS v2.0.3 (and from what I have seen, also in the latest v2.0.5), there is an error in the style sheet. This causes numbered lists in the phpWiki XOOPS module to incorrectly display squares instead of numbers.

to fix this.. change your themes/default/style.css :

-----
h1 {}
h2 {}
h3 {}
h4 {}
h5 {}
ol { margin: 2px; padding: 2px; list-style: decimal inside; text-align: left;}
ul { margin: 2px; padding: 2px; list-style: square inside; text-align: left;}
li { margin-left: 2px; color: #2F5376}

----

Change these last 3 lines and phpWiki will display # numbered lists correctly.

2
robekras
Re: Bug in default style.css causing errors in phpWiki numbered lists
  • 2003/11/6 19:48

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


I would recommend the following:

li { margin-left: 2px; list-style: square inside; color: #2F5376}

ol { margin: 2px; padding: 2px; text-align: left;}
ol li { margin-left: 2px; list-style: decimal inside; color: #2F5376}

ul { margin: 2px; padding: 2px; text-align: left;}
ul li { margin-left: 2px; list-style: square inside; color: #2F5376}

That's because sometimes a
  • could occur also within a
    and not only on
      or
        (I think this is true for the Agenda-X modul)

  • Login

    Who's Online

    878 user(s) are online (73 user(s) are browsing Support Forums)


    Members: 0


    Guests: 878


    more...

    Donat-O-Meter

    Stats
    Goal: $100.00
    Due Date: Jul 31
    Gross Amount: $0.00
    Net Balance: $0.00
    Left to go: $100.00
    Make donations with PayPal!

    Latest GitHub Commits