[wp-trac] Re: [WordPress Trac] #4518: Nested <ol> <ul> lists display incorrectly with default theme

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 26 16:45:51 GMT 2007


#4518: Nested <ol> <ul> lists display incorrectly with default theme
-----------------------------+----------------------------------------------
 Reporter:  andrewjorgensen  |        Owner:  rob1n   
     Type:  defect           |       Status:  assigned
 Priority:  normal           |    Milestone:  2.2.2   
Component:  Template         |      Version:  2.2.1   
 Severity:  normal           |   Resolution:          
 Keywords:  has-patch        |  
-----------------------------+----------------------------------------------
Comment (by Otto42):

 That patch would get rid of the >> marks, but not the numbering.

 The bug is in the default theme's style.css:

 {{{
 ol li, #sidebar ul ol li {
         list-style: decimal outside;
        }
 }}}

 That leading "ol li" seems like it should be "#sidebar ol li" instead.
 Making that change will get rid of the numbers being incorrectly added to
 the unordered lists (which do fit that rule, given that they are "ol li ul
 li" and there's no overriding list-style-type for ul li's given).

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4518#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list