[SOLVED - i think] CSS Not being applied to images...

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.
Post Reply
User avatar
jwbassman
Forum Members
Forum Members
Posts: 22
Joined: Sat May 17, 2008 9:27 am

[SOLVED - i think] CSS Not being applied to images...

Post by jwbassman »

Hi Guys

First post so go easy on me :) - I've searched the board for an answer to this query but can't seem to find it...

The problem is when I apply a class to an image via the WYSIWYG is doesn't seem to render it. I've checked the html view and the class tag is there (class="image_left") it just doesn't seem to apply the style to the image (either in the WYSIWYG or the browser) - strange thing is when I apply the style directly (style="margin-right:10px;") to the image it works perfectly - I know I could do this manually to all the images but it would be a better solution for the end user to just apply the class.

Resaon for wanting this control is the h and v spaces don't display in Firefox but the margin does. Also the h and v apply margin to all sides which disrupts my content alignment.

Thanks in advance...
Last edited by jwbassman on Mon May 19, 2008 5:17 pm, edited 1 time in total.
User avatar
jwbassman
Forum Members
Forum Members
Posts: 22
Joined: Sat May 17, 2008 9:27 am

Re: CSS Not being applied to images...

Post by jwbassman »

has anyone got any ideas on this ? - lots of views but no replies :(
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS Not being applied to images...

Post by Dr.CSS »

A link would be helpful, as we can't see the CSS or html from here...
User avatar
jwbassman
Forum Members
Forum Members
Posts: 22
Joined: Sat May 17, 2008 9:27 am

Re: CSS Not being applied to images...

Post by jwbassman »

I think I've figuered where I was going wrong, something to do with the way I way targeting the item to apply css to it...
Post Reply

Return to “CMSMS Core”