Navigation menu with captions - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Menu

Description

Navigation menu with captions

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">
#menu {<!-- ww w. ja v  a2  s  . c om-->
   position:relative;
}

dt, dd {
   width:121px;
   padding:0 11px;
   border-left:3px solid Chartreuse;
   float:left;
}

dt {
   margin-left:-121px;
   font-weight:bold;
}

dt:first-child {
   margin:0;
}

dd {
   position:relative;
   top:21px;
   font-family:verdana;
   font-size:10px;
   left:-143px;
}
</style> 
 </head> 
 <body> 
  <dl id="menu"> 
   <dt>
     Lorem i 
   </dt> 
   <dd>
     Lorem ipsum dolor sit amet, consectetur 
   </dd> 
   <dt>
     Lorem ip 
   </dt> 
   <dd>
     Lorem ipsum dolor sit amet, consectetur 
   </dd> 
   <dt>
     Lorem i 
   </dt> 
   <dd>
     Lorem ipsum dolor sit amet, consectetur adip 
   </dd> 
   <dt>
     Lorem ips 
   </dt> 
   <dd>
     Lorem ipsum dolor sit amet, consectetur adipis 
   </dd> 
  </dl>  
 </body>
</html>

Related Tutorials