peschen Posted October 20, 2012 Share Posted October 20, 2012 Dears, I have a problem with wrapping text arround image Here is my code <div id="content"> <div id="block-system-main" class="block block-system no-title"> <article id="node-30" class="node node-nieuws article clearfix" role="article" typeof="sioc:Item foaf:Document" about="/nieuws-test-1"> <div class="node-content"> <div class="field field-name-body field-type-text-with-summary field-label-hidden view-mode-full"> <div class="field-items"> <div class="field-item even" property="content:encoded"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus gravida blandit ante id tempor.</p> </div> </div> </div> <div class="field field-name-field-nieuwsafbeelding field-type-image field-label-hidden view-mode-full"> <div class="field-items"> <figure class="clearfix field-item even"> <img class="image-style-medium" width="220" height="165" alt="" src="http://www.pilatesbodycenter.be/sites/default/files/styles/medium/public/Koala_0.jpg" typeof="foaf:Image"> </figure> </div> </div> </div> </article> </div></div>my CSS.node-nieuws .field-name-body {background:#ff0000; float: left;}.node-nieuws .image-style-medium {float:right;background:#0000ff; padding:5px;} Nomatter what I do, image alwasy stays under text en is not wrapping kan somebody help please? Here is the page livehttp://www.pilatesbodycenter.be/nieuws-test-1 Link to comment Share on other sites More sharing options...
Ingolme Posted October 20, 2012 Share Posted October 20, 2012 The float property will make an image float relative to any content that follows it. Content that is before it will not be affected. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now