1. 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

Discussion in 'Styling and Customization Questions' started by crogoon, Jan 17, 2015.

  1. crogoon

    crogoon Member

    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?
     

Share This Page