Hello

When I insert an image next to text I find that the final page has no formatting (e.g. the hspace and vspace tags are ignored).

Please see the following code I have used as an example and then the attached screenshot to show what it looks like in IE and also Firefox
<p><IMG alt="Bath image" align="left" src="http://www.mydomain.org.uk/files/images/banes/Bath2_sq.gif" hspace="10" vspace="10" height="150" width="150">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>

I could use tables but I also have a problem with this, see http://drupal.org/node/471482

Any suggestions/solutions would be gratefully received.

CommentFileSizeAuthor
Fullscreen capture 25012011 122127.jpg176.1 KBHTF

Comments

HTF’s picture

I am still having this problem, does anybody who maintains this theme have any suggestions of how I might solve this?

Thanks

HTF’s picture

I think that I have solved the problem with this. When I first insert an image into a node and I set the hspace 10 and save the page, the hspace tag is ignored. If I go back and edit the page for a second time and right-click on the image to edit it, I can see that the hspace setting (10 in this case) is still there, if I re-save the page, the hspace tag is now recognised. It is a bit of a kerfuffle but it works.

HTF’s picture

Further to my previous post, upon examining the code, I can see that hspace isn't used by the wysiwyg. Instead when using the wysiwyg image edit facility and set hpsace as 10, the code added is actually margin-left: 10px; margin-right: 10px. hspace="10px" isn't recognised.

HTF’s picture

Status: Active » Closed (works as designed)