Floating pictures, text and table - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Text

Description

Floating pictures, text and table

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.minahundarimg1 {
   margin:6px;
   padding:6px;
   padding-bottom:11px;
}

div.minahundarimg2 {
   margin:6px;
   padding:6px;
   padding-bottom:11px;
}

div.desc {<!--from  www  .  j av  a  2s  . co  m-->
   margin:26px;
   padding:26px;
   display:inline-block;
}

table, td, th {
   border:2px solid Chartreuse;
   text-align:left;
}

table {
   border-collapse:collapse;
   width:100%;
}

th, td {
   padding:16px;
}

div#text2 {
   margin:11px;
   padding:11px;
}
</style> 
 </head> 
 <body> 
  <div id="content"> 
   <div class="minahundarimg1"> 
    <div class="desc">
      Lorem ipsum dolor 
    </div> 
    <a target="_blank" href="https://www.java2s.com/style/demo/InternetExplorer.png"> <img src="https://www.java2s.com/style/demo/InternetExplorer.png" alt="Nino" width="300" height="200"> </a> 
   </div> 
   <div class="minahundarimg2"> 
    <div class="desc">
      Lorem ipsum dolor s 
    </div> 
    <a target="_blank" href="https://www.java2s.com/style/demo/Opera.png"> <img src="https://www.java2s.com/style/demo/Safari.png" alt="Marcus" width="300" height="200"> </a> 
   </div> 
   <table> 
    <tbody> 
     <tr> 
      <td>L</td> 
      <td>L</td> 
      <td>L</td> 
      <td>L</td> 
      <td>L</td> 
     </tr> 
    </tbody> 
   </table> 
  </div>  
 </body>
</html>

Related Tutorials