Как составить список вертикали в CSS
li {
display: inline-block;
}
Bewildered Bird
li {
display: inline-block;
}
.list-item
{
float: left;
clear: left;
}
.list {
background-color: #eee; /* Grey background color */
color: black; /* Black text color */
display: block; /* Make the links appear below each other */
padding: 12px; /* Add some padding */
text-decoration: none; /* Remove underline from links */
}