Quantcast

Cannot float image left and wrap text

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Cannot float image left and wrap text

Remijan, Michael
I'm using maven to build my project's site.  I'm trying to do something very simple.  Below is my index.xml.vm file.  All I want to do is float the image left so the text appears to the right of the image and wraps around it.  I can't make this happen!  I've tried to add style="", class="", and id="" attributes to the <img> tag so I can format it with CSS but these attributes get stripped out.  How do I go about getting this to work?

    <section name="My Section">
      <p>
<img src="images/s.png" alt="Small screenshot" />
Text to include Text to include Text to include Text to include Text to include Text to include
Text to include Text to include Text to include Text to include Text to include Text to include
Text to include Text to include Text to include Text to include Text to include Text to include
Text to include Text to include Text to include Text to include Text to include Text to include
Text to include Text to include Text to include Text to include Text to include Text to include
Text to include Text to include Text to include Text to include Text to include Text to include
Text to include Text to include Text to include Text to include Text to include Text to include
Text to include Text to include Text to include Text to include Text to include Text to include
     </p>
   </section>


Loading...