• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Image size in thread

To prevent displaying huge images in threads I've put this in extra.css to reduce the width of images:
.message .messageContent .messageText img { max-width: 30%; }

The problem is that this also applies when using my custom BBcode for float.
<div style="float: left; margin-right: 6px; clear: both;">{text}</div>
This is what float left currently looks like. :unsure:

Is there a way to prevent this?