By stylerepublic on
Hi everyone,
I've added an ImageField to my Story content type, and it works great (customized it with ImageCache to create thumbnails for teasers). The only issue I'm having is that I can't seem to position the imagefield with CSS? I'm trying to get text to wrap around the image, so I pasted this into the site's Style.css file:
---------
.field-type-image img {
float: left;
margin-left: 1em;
margin-bottom: 1em;
border: 3px solid white;
}
---------
But it's not working... Help!
Comments
Try floating the containing
Try floating the containing div instead of the img directly, so
.field-type-image {
float:left;
...
}