Horizontal list using float
Using float left is a popular way to make a list horizontal. It tends to have less problems then the alternative, which is using display: inline.
li{ float: left; margin-right: 20px; list-style: none; }
Using float left is a popular way to make a list horizontal. It tends to have less problems then the alternative, which is using display: inline.
li{ float: left; margin-right: 20px; list-style: none; }
Add new comment