Changing the font in an <ul> - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL

Description

Changing the font in an <ul>

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
body {<!--from w ww  . ja va 2 s  . c  o  m-->
   font-family:monospace;
   background:steelblue;
   color:Chartreuse;
}

#footer {
   height:51px;
   width:601px;
   margin-left:auto;
   margin-right:auto;
   text-align:center;
}

#footer ul {
   list-style-type:none;
   color:yellow;
   font-size:17px;
}

#footer  li {
   display:inline;
}

#footer  a:link {
   color:blue;
   font-size:17px;
   text-decoration:none;
   font-family:Helvetica;
}

#footer a:visited {
   color:pink;
   font-size:17px;
   text-decoration:none;
}
</style> 
  <script type="text/javascript">

      </script> 
 </head> 
 <body> 
  <p>Lorem ips</p> 
  <div id="footer"> 
   <ul> 
    <li> <a href="#">Lorem i</a> </li>Lor 
    <li> <a href="#">Lorem ips</a> </li>Lor 
    <li> <a href="#">Lorem i</a> </li>Lor 
    <li> <a href="#">Lorem </a> </li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials