Make <li> items side by side and at bottom of page - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

Make <li> items side by side and at bottom of page

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!--   w  ww  . j a v a 2  s.  co m-->
 <body> 
  <div style="background-color:black; margin-top:0px"> 
   <a href=""> <img src="https://www.java2s.com/style/demo/Opera.png" style="float:left; margin-right:10px" height="400" width="400"> </a> 
   <p style="color:brown">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ullamcorper molestie lacus sed fermentum. Aliquam erat volutpat. Vestibulum tortor nequ</p> 
  </div> 
  <br> 
  <br> 
  <br> 
  <br> 
  <div style="bottom: 0px; position: absolute;"> 
   <ul style="list-style:none"> 
    <li style="text-align: right; float: left; margin-right: 10px;"> <a href=""> <p style="color:blue">Lorem ipsum d</p> </a> </li> 
    <li style="text-align: right; float: left; margin-right: 10px;"> <a href=""> <p style="color:blue">Lorem ips</p> </a> </li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials