Created
June 13, 2012 08:57
-
-
Save mauricesvay/2922916 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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