去掉li前面的圆点
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Index</title>
    <style>
    li
    {
        list-style-type:none;
       }
    </style>
</head>
<body>
<ul>
<li>百度</li>
<li>google</li>
<li>雅虎</li>
</ul>
</body>
</html>
li水平显示,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Index</title>
    <style>
    li
    {
        list-style-type:none;
        display:inline;
       }
    </style>
</head>
<body>
<ul>
<li>百度</li>
<li>google</li>
<li>雅虎</li>
</ul>
</body>
</html>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
  • 2021-11-11
  • 2021-12-04
猜你喜欢
  • 2022-01-25
  • 2022-12-23
  • 2022-01-10
  • 2021-11-17
  • 2021-11-20
  • 2021-11-22
  • 2022-12-23
相关资源
相似解决方案