Sabtu, 19 Juni 2010

Gap between list items

Buzz It
Gap between list items

Gap between list items

Gap between list items – its the most annoying bug for internet explorer.

You can remove it if you clean all spaces between li and ul elements, o you can just comment those spaces like in example below.


Example how to remove gaps


<ul id="navigation"><!--

--><li><a href="">Sign up</a></li><!--

--><li><a href="">Orders</a><!--

--><ul><!--

--><li><a href="">Dashboard</a></li><!--

--><li><a href="">Order list</a></li><!--

--></ul><!--

--></li><!--

--><li><a href=""><span><span>My account</span></span></a><!--

--><ul><!--

--><li><a href="">Dashboard</a></li><!--

--><li><a href="">Profile</a></li><!--

--><li><a href="">Change password</a></li><!--

--></ul><!--

--></li><!--

--></ul>

Sumber : http://www.webtoolkit.info/gap-between-list-items.html



Tidak ada komentar:

Posting Komentar