Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
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.
Comments
Comment #1
Sungsit CreditAttribution: Sungsit commentedDid it happen on live site?
If so, please provide me your URL. It will easier for me to check your page source.
Comment #2
Argus CreditAttribution: Argus commentedmailed you the url
Comment #3
Sungsit CreditAttribution: Sungsit commentedI 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 asvspace
,hspace
,align
, etc.) 'cos we can easily use CSS instead.Example for inline style.
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.
Then add CSS style to your custom.css like this.
Hope this may help.
Comment #4
Argus CreditAttribution: Argus commentedThanks 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.