Skip to content

Instantly share code, notes, and snippets.

@Zlatov
Last active August 29, 2015 14:04
Show Gist options
  • Save Zlatov/60aa70e49b681e847f4d to your computer and use it in GitHub Desktop.
Save Zlatov/60aa70e49b681e847f4d to your computer and use it in GitHub Desktop.
css ul li bullets float left
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<div style="float: left; width: 50px; height: 200px; background-color:red; margin-right: 10px;"></div>
<p>Lorem ipsum dolor.</p>
<ul>
<li>Lorem ipsum dolor sit amet.</li>
<li>Lorem ipsum dolor.</li>
<li>Lorem ipsum dolor sit amet, consectetur.</li>
</ul>
<div style="clear:both;"></div>
<hr>
<div style="float: left; width: 50px; height: 200px; background-color:red;margin-right: 10px;"></div>
<p>Lorem ipsum dolor.</p>
<ul style="display:table;">
<li>Lorem ipsum dolor sit amet.</li>
<li>Lorem ipsum dolor.</li>
<li>Lorem ipsum dolor sit amet, consectetur.</li>
</ul>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment