• 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

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

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

Is there a way to prevent this?