Displaying Multiple Boxes On Right Side of Screen - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Box

Description

Displaying Multiple Boxes On Right Side of Screen

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">
.testimonial {<!--from  w w  w  . java 2 s  . co m-->
   background-color:Chartreuse;
   border:solid;
   float:right;
   width:151px;
   clear:right;
}
</style> 
 </head> 
 <body> 
  <aside id="expert" class="testimonial"> 
   <h2>Lorem ipsum dolor sit amet,</h2> 
   <ul class="b"> 
    <li>Lorem ipsum dol</li> 
    <li>Lorem ipsum dolo</li> 
    <li>Lorem ipsum dolor sit am</li> 
    <li>Lorem ipsum do</li> 
   </ul> 
  </aside> 
  <aside id="refer" class="testimonial"> 
   <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ullamcorper molestie lacus sed fermentum. Aliquam erat volutpat. Vest<br>Lorem ips</p> 
  </aside>  
 </body>
</html>

Related Tutorials