css - Can't get List to display inline? -


i prefer keep css list inline. not in separate css. way id's stacked? other comments appreciated well.

    <!doctype html>     <html>     <head>     <title>my first site</title>     <meta charset="utf-8"/>     <link rel="stylesheet" href="styles.css">     </head>      <body>      <div id="container"><!--entire body-->      <div id="topbar"><!--css uses #-->      <div class="fixedwidth"><!--.fixedwidth in css-->      <div id="logodiv">     <img src="logo.png" alt="site logo">     </div><!--logodiv-->       <div id="topmenudiv"><!-- should div id?  or should in ul?-->      <ul style="list-style-type:none";      display:inline;>      <li>1</li>     <li>2</li>     <li>3</li>     <li>4</li>     <li>5</li>     </ul>     </div><!--topmenudiv"-->      </div><!--topbar-->     </div><!--fixedwidth-->      </div><!--container-->     </body>     </html> 

<ul style="list-style-type:none; display:inline;"> simple typo error.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -