css - list items vertical gap IE -



css - list items vertical gap IE -

i've fixed 90% gap, still see 2 px margin between list items.

.lines li { border-bottom: solid #000 1px; list-style: none; background-color: #cf0; height: 0px; } .lt-ie9 .lines li { display: inline-block !important; } .lt-ie9 .lines li { display: block !important; background-color: #cc0; font-size: 0px; line-height: 0px; } <ul class="lines"> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> </ul>

this due inline-block display. have delete space between list items in html code. can replace commentary.

<p>lorem elsass ipsum</p><!-- whitespace --><p>rĂ©chime amet sed bissame libero knackes choucroute…</p>

see http://www.alsacreations.com/astuce/lire/1432-display-inline-block-espaces-indesirables.html if can read french.

css list

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -