Skip to content

Instantly share code, notes, and snippets.

@mauricesvay
Created June 13, 2012 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mauricesvay/2922916 to your computer and use it in GitHub Desktop.
Save mauricesvay/2922916 to your computer and use it in GitHub Desktop.
<div>
<pre>
....Les whitespace (matérialisés par les points), sont significatifs et apparaissent dans le rendu.
....</pre>
</div>
-----------------------------
En display : inline ou inline-block, les whitespace entre les <li> a un impact sur le rendu.
Du coup, il est courant de supprimer ces espaces en particulier.
<ul>
<li>Item 1</li><!--
--><li>Item 2</li><!--
--><li>Item 3</li>
</ul>
ou
<ul>
<li>Item 1</li><li>Item 2</li><li>Item 3</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment