You can specify only the position. : list style : List Style HTML CSS TUTORIALS


HTML CSS TUTORIALS » List Style » list style »

 

You can specify only the position.


 

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
          <head>
              <title>list-style</title>
              <style rel='stylesheet' type='text/css'>
      li {
          background: lightyellow;
          border: 1px solid gold;
          padding: 5px;
          margin: 2px;
      }
      li#position {
          list-style: inside;
      }

              
              </style>
          </head>
          <body>
              <ul>
                  <li id='position'>You can specify only the position.</li>

              </ul>
          </body>
      </html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo List Style
» list style