Hello there,

Im having some problems when i try to align images with fckeditor, take a look:

http://www2.agro.uba.ar/fundacion

HTML:

<img alt="" src="/sites/default/files/images/logo_funacion.gif" height="90" hspace="10" width="73" align="left">

hspace="10" should work but it's not, so im think it's a CSS issue but i can't find anything

any clue?

Comments

Anonymous’s picture

Category: bug » support

Nitobe is using XHTML Strict as the document type so the CSS styles will always override deprecated attributes such as hspace. This is correct browser behavior.

You will need to modify your CSS to add padding on images that are contained in nodes.

Anonymous’s picture

There are two CSS classes in Nitobe's style.css file that might help: align-left and align-right

You could apply them to the img tag like this:

<img alt="" src="/sites/default/files/images/logo_funacion.gif" height="90" width="73" class="align-left" />

blroot’s picture

Status: Active » Closed (fixed)

Great thanks!