How do I render
  • side-by-side?
  • 后端 未结 8 654
    情话喂你
    情话喂你 2020-12-29 02:30

    I\'m looking to create a navigation menu with list items rendered in one line. How do I do this?

    8条回答
    •  情话喂你
      2020-12-29 02:56

      you will try this styling

      li{
      height:20px;
      float:left;
      list-style-type: none;
      width:70px;
      padding:3px;
      border-right:1px solid #3687AF;
      background-color: #015287;
      background-repeat: no-repeat;
      background-position: center 30px;
      } 
      

      it will work for u sure...

    提交回复
    热议问题