All instances of "float:value" in my Drupal site strip off upon saving. I encountered this with TinyMCE module before and I thought this was TinyMCE exclusive. To my horror I just discovered that all instances of float property strips off (in blocks and content with full html/php) upon saving it.
I think it has something to do with the filter or is it? Can anyone please tell me what's going on here and how to resolve this? Thanks.
An example:
Here's what I have upon creating the block/body content (with full html/php)...
<img src="image_here.gif" style="padding:10px" style="float: left" width="10" height="10" >';
And here's what I have after saving it...
<img src="image_here.gif" style="padding:10px" width="10" height="10" >';
Where'd float go?
This also applies to text...
Comments
Comment #1
halloffame commentedHello anyone?
Comment #2
BassistJimmyJam commentedI have looked into this and I believe it is a problem with your syntax, not the filter. Your image tag has two different style attributes, so the second one is ignored. Your image tag should look more like this:
You may also want to consider moving the height and width into the style attribute. I'm not 100% sure, but I believe that the height and width attributes are in ems. For example:
Please verify that this resolves your issue.
Comment #3
BassistJimmyJam commentedNo reply in 2+ weeks, closing.