FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Inline image attachments
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Inline image attachments [message #162813 is a reply to message #162601] Tue, 20 July 2010 05:19 Go to previous messageGo to previous message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma:
Senior Member
drawmsg.tmpl -> attachment

Instead of wrapping each attachment in an LI, create either DIVs with float:left or make a table out of it.

This is how I have done it:

dmsg_drawmsg_file_attachments:
<div style="width: 100%; float: left;">
{TEMPLATE-DATA: drawmsg_file_attachments}
</div><div class="clr"></div>


and in
dmsg_drawmsg_file_attachment
I just place the code within a <div> with float: left on it
  • Attachment: balcony.jpg
    (Size: 17.34KB, Downloaded 914 times)


[Message index]
 
Read Message
Read Message
Read Message icon6.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: New member restrictions
Next Topic: Can you wrap text around an image? (RESOLVED)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 16:53:07 GMT 2024

Total time taken to generate the page: 0.04013 seconds