Article text doesn't wrap image


Author Message
eadie

Posted: 8/24/2011
Quote message 

In the program, the article text wraps around the image. in the Drupal 7 export CSS, though, they are set up to act like table elements and the text does not wrap. I'd like to wrap, which makes me think i need to float the image and the text left. Haven't been able to find the right style with which to do that.

ideas?
 
eadie

Posted: 8/29/2011
Quote message 

Anything on how to have the article text wrap around the article image, as opposed to sitting below the image? Should be a CSS solution.
 
Techietom

Posted: 9/2/2011
Quote message 

Not sure this will help, but when we used the left, center, right buttons on the editor's tool bar to position the image the text did not wrap. When we used the align drop down menu in the image properties window, it worked. We are using Drupal 7, CKeditor and Drupal WYSIWYG module.

Good luck.
 
Mark C

Posted: 9/7/2011
Quote message 

What Techietom says is what happens with CKEditor. If you use TinyMCE, you can choose left, right from the toolbar and the image will align and wrap.

You could also use CCK and Imagefield and Imagecache and then do some css styling on it, as per here:

http://drupal.org/node/1083742
 
Jukkis

Posted: 11/24/2011
Quote message 

You need to add

.field-type-image
{
float: left;
}

In you style.css
so that it looks like this:

/* BEGIN ImageField module fix */ img.imagefield { 	margin: 0; }  .field-type-image { 	float: left; }	 /* E /* END ImageField module fix */