You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michael Remijan <mj...@yahoo.com> on 2010/01/21 18:08:21 UTC

Cannot float image left and wrap text

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>

Re: Cannot float image left and wrap text

Posted by Michael Remijan <mj...@yahoo.com>.
Whatever came with my maven distro.  I did help:effective-pom on the project and this is what it says:
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>2.0-beta-7</version>
</plugin>
 
Would I need to put a different version in my settings.xml file to override this?




________________________________
From: Lukas Theussl <lt...@apache.org>
To: Maven Users List <us...@maven.apache.org>
Sent: Fri, January 22, 2010 2:06:32 AM
Subject: Re: Cannot float image left and wrap text


Which version of the site plugin are you using? It should work with 2.1.

-Lukas


Michael Remijan wrote:
> 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>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

Re: Cannot float image left and wrap text

Posted by Lukas Theussl <lt...@apache.org>.
Which version of the site plugin are you using? It should work with 2.1.

-Lukas


Michael Remijan wrote:
> 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>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org