Problems Wrapping Text Around Image - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Image Text

Description

Problems Wrapping Text Around 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">
#imgAuthor {<!--   w w  w . j  a  v a  2  s  .  c o m-->
   float:left;
   margin:0 16px 16px 0;
}

p.inner {
   overflow:hidden;
}
</style> 
 </head> 
 <body> 
  <h2>Lorem ipsum dolor </h2> 
  <p class="inner"> <img id="imgAuthor" src="https://www.java2s.com/style/demo/Safari.png"> <b>Lorem ips</b> </p> 
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing</p>  
 </body>
</html>

Related Tutorials