See attached image: align=right is ignored in posts.

This happens in Internet Explorer 7 and 8 (without compatibility mode). It doesn't happen in Firefox and Safari. I didn't test Opera.

CommentFileSizeAuthor
bug.jpg22.87 KBArgus
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sungsit’s picture

Did it happen on live site?
If so, please provide me your URL. It will easier for me to check your page source.

Argus’s picture

mailed you the url

Sungsit’s picture

I don't think this is theme issue 'cos it's your own input content (or module input?). In my opinion, there's no need to use some inline attributes for img element (such as vspace, hspace, align, etc.) 'cos we can easily use CSS instead.

Example for inline style.

<img style="width: 175px; height: 175px; float: right; margin: 0 0 10px 10px; border: 0 none;" src="/sites/default/files/u1/phoenix.png" alt="Phoenix" />

This will float your image to the right.

Or consider using external CSS if you plan to reuse this style for other images, just assign its class.

<img class="float-right" src="/sites/default/files/u1/phoenix.png" alt="Phoenix" />

Then add CSS style to your custom.css like this.

img.float-right {
  width: 175px;
  height: 175px;
  float: right;
  margin: 0 0 10px 10px;
  border: 0 none;
}

Hope this may help.

Argus’s picture

Status: Active » Closed (fixed)

Thanks for your swift responce. I see what you mean.

Thing is I want to use a WYSIWYG editor so users can easily post images etc, without having to bother about code. I'll see if there are better options.