[wp-trac] [WordPress Trac] #14082: wp_nav_menu inserts newline char between <li>

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 22 16:47:54 UTC 2010


#14082: wp_nav_menu inserts newline char between <li>
-----------------------------------------+----------------------------------
 Reporter:  dmichalakos                  |        Owner:          
     Type:  defect (bug)                 |       Status:  reopened
 Priority:  normal                       |    Milestone:          
Component:  Menus                        |      Version:  3.0.1   
 Severity:  normal                       |   Resolution:          
 Keywords:  has-patch dev-feedback gsoc  |  
-----------------------------------------+----------------------------------
Changes (by artworkmonger):

  * status:  closed => reopened
  * resolution:  invalid =>


Comment:

 as Olan says, this can't be left like this. if want to center my menu,
 i'll have to use display: inline on the current li and text-align: center
 on the parent ul. if i float the li, then centering won't be possible.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14082#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list