Answers for "vertical align list in div"

CSS
1

how to make a list vertical in css

li {
   display: inline-block;
}
Posted by: Guest on July-09-2020
8

list elements vertically in html

.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 */
}
Posted by: Guest on August-17-2021

Browse Popular Code Answers by Language