align lists to top right - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Alignment

Description

align lists to top right

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">
div {<!--from www.j  a v  a 2 s.  c o m-->
   width:301px;
   height:301px;
   background-color:Chartreuse;
}

select {
   float:right;
}
</style> 
 </head> 
 <body> 
  <div> 
   <select> <option value="test">Lore</option> </select> 
  </div>  
 </body>
</html>

Related Tutorials