Ich habe dieses HTML aber die Punkte der unordered list werden nebeneinander angezeigt statt untereinander.
<style>
.nav {
width: 200px;
//float: left;
}
.nav li {
list-style-type: none;
float: left;
}
.container {
width: 600px;
margin: auto;
margin-top: 0;
}
</style>
<div class="nav">
<ul>
<li>Home</li>
<li>Work</li>
<li>Contact</li>
</ul>
</div>
<div class="container">
Lorem ipsum dolor sit amet consectetuer lacus. Lorem ipsum dolor sit amet consectetuer lacus. Lorem ipsum dolor sit amet consectetuer lacus. Lorem ipsum dolor sit amet consectetuer lacus. Lorem ipsum dolor sit amet consectetuer lacus. Lorem ipsum dolor sit amet consectetuer lacus. Lorem ipsum dolor sit amet consectetuer lacus. Lorem ipsum dolor sit amet consectetuer lacus. Lorem ipsum do lor sit amet consectetuer lacus.
</div>
Wie mache ich die 3 Menüpunkte untereinander?