If you want list items to display horizontally rather than vertically, the CSS property to adjust is ________.

  • display: block;
  • display: inline;
  • float: left;
  • text-align: center;
To make list items display horizontally (side by side) instead of vertically (stacked), you should adjust the CSS property "float: left." This property is used to float elements next to each other.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *