Page 1 of 1

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

Posted: Sat May 17, 2008 9:55 am
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...

Re: CSS Not being applied to images...

Posted: Sun May 18, 2008 10:40 pm
by jwbassman
has anyone got any ideas on this ? - lots of views but no replies :(

Re: CSS Not being applied to images...

Posted: Sun May 18, 2008 11:25 pm
by Dr.CSS
A link would be helpful, as we can't see the CSS or html from here...

Re: CSS Not being applied to images...

Posted: Mon May 19, 2008 5:17 pm
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...