CSS Positioning of Images in content

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
sithstemple

CSS Positioning of Images in content

Post by sithstemple »

Hi there.

Can you tell me if there is any way to position images in the content of the page (i.e floating an image to the left or right etc)?

I know that it can be done in CSS, but I don't know how to implement that into CMSMS.

Many thanks.
cyberman

Re: CSS Positioning of Images in content

Post by cyberman »

sithstemple wrote: Can you tell me if there is any way to position images in the content of the page (i.e floating an image to the left or right etc)?
Define your image style on css, look at FCK to source code view, add the class/ID to image ...

There are other ways too, but I use this  :).
jelle

Re: CSS Positioning of Images in content

Post by jelle »

if all images in a certain div should be treated the same, you don't need to put a class or id in the img tag.
something like

Code: Select all

.content img {
    float: left;
    }
should work too.
(disclaimer: untested code, may or may not cause you to treat every day as valentines day) 
Locked

Return to “CMSMS Core”