Align text to right of Image - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Image Text Alignment

Description

Align text to right of Image

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">
img {<!-- w  w w.j  a  va  2  s. c  om-->
   min-width:76px;
   height:91px;
   vertical-align:middle;
   margin-right:31px;
   float:left;
}
</style> 
 </head> 
 <body> 
  <div class="medium-12 columns"> 
   <img src="https://www.java2s.com/style/demo/Opera.png"> 1 
   <br> 2 
   <br> 3 
  </div>  
 </body>
</html>

Related Tutorials