Drupal seems to strip the style attribute from my DIV, IMG etc. tags. This is essential to me for image floating etc. When I edit an image to float it to the right with <img src="image.jpg" style="float:right;"/>, the resulting output (from Firefox view source) is still <img src="image.jpg"/>. Likewise for DIV tags.

I have already ensured that my username has "full html" permissions as outlined below. Am I missing something here? What else do I need to do to disable this stripping of attributes?

User Management > Users - Shows my username as having the "administrator" role
User Management > Access Control - "administer filters" permission given to users with "administrator" role
Site Configuration > Input Formats - "Full HTML" enabled for users with "administrator" role
Theme used: Aberdeen (this problem comes up in others as well, which makes me think it's definitely a code filter and/or permissions issue rather than a theme problem).

Comments

AndriyM’s picture

I feel more than a little stupid for not seeing this before :)

I didn't notice the "Input Format" options in the edit node screen. Now that I've found these and switched from filtered full HTML, the style attribute displays as intended.