[wp-trac] [WordPress Trac] #14082: wp_nav_menu inserts newline char between <li>
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 27 22:21:35 UTC 2010
#14082: wp_nav_menu inserts newline char between <li>
--------------------------+-------------------------------------------------
Reporter: dmichalakos | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 3.0.1
Severity: normal | Keywords: has-patch dev-feedback gsoc
--------------------------+-------------------------------------------------
Comment(by WraithKenny):
Technically, showing spaces when display:inline is set is correct
behavior.
In most cases, floating display:block on li's, use overflow:hidden and
width:100% (any height or width declaration will do) on the ul
(http://www.quirksmode.org/css/clearing.html). Same effect as inline
without spaces... Quite common best practice now-a-days.
This certainly isn't a WordPress core issue. It's a CSS concern. It's not
even a browser bug.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14082#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list