Hello,

I just noticed that I seem to have a problem rendering vspace & vspace to images inserted in content.
Works fine under IE tho.

Using another theme (garland) works fine in all browsers. So this is really isolated to Acquia Marina.

Anyone having success/failure with this?

Thanks.

Comments

jwolf’s picture

Status: Active » Postponed (maintainer needs more info)

A link or a screenshot, and more information would be great.

Marquis’s picture

Hi!

thanks for the reply,

-----------------------------
Drupal 6.5
Theme: Acquia Marina 6.x-1.1
FCKEditor 6.x-2.x-dev
-----------------------------

I'm trying to add padding space between pictures and text using the vspace & hspace properties for the photos.

I use FCKeditor to upload images and edit content. Setting the properties for the photo using 10px of spacing: http://img241.imageshack.us/img241/6939/01propertyboxpj4.png

Its not displaying properly, ignoring the properties, in Firefox 2 & 3 (Mac & PC): http://img519.imageshack.us/img519/8399/04ff3resultbz3.png (you can also see the sourcecode with rendered image properties.

It looks fine in IE7 using AcquiaMarina theme: http://img253.imageshack.us/img253/5076/05ie7xpokqk4.png

It looks fine in Firefox using garland theme: http://img442.imageshack.us/img442/3488/07ff3garlandvq9.png

jwolf’s picture

In the theme's style.css file, if you remove the image reset, does that fix it?

Remove lines 30 - 34 in style.css:

img {
  border: 0;
  margin: 0;
  padding: 0;
}
Marquis’s picture

SWEET!

That works perfect. thanks.

jwolf’s picture

Assigned: Unassigned » jwolf
Status: Postponed (maintainer needs more info) » Fixed
rickyniano’s picture

This solves the issue for me. Now both hspace & vspace params works. But border param is still not working. Any ideas?

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

zilla’s picture

was this removed or will this be removed from the core theme, or will we need to do this each time theme develops?

ronliskey’s picture

Thanks! I needed that! :-)

Another option, rather than deleting it all, is to enter other default values that work better for your site.

img {
  border: 0;
  margin: 6;
  padding: 3;
}
digitalwisdom’s picture

Im having the exact same problem - works in IE, but no HSpace/VSpace in FF or safari.
If i add padding to the img class as suggested above, it adds padding to EVERY single image on the whole site including the header and images in other divs.
I only want the images in the content div that have been added via fckeditor to have the padding.
My style.css doesnt have the same coding as mentioned above - Im using theme023.

The styling comes up while in the fckeditor but not when saved and looking via FF or safari - perhaps there is another style overriding this???

Any ideas??

Thankyou!

ousjah1’s picture

Status: Closed (fixed) » Fixed

If you are using FCKeditor and still having the same issue, simply uninstall it and then install the CKeditor module ( http://drupal.org/project/ckeditor)
It's working fine for me and I have no more Vspace and Hspce issues.
Good Luck!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.