Resizing large images in the chatbox

Go down

Solved Resizing large images in the chatbox

Post by The Detonator on September 19th 2011, 6:25 am

Im using a pop out chatbox from a widget tab which is perfect size at the moment in my forum to suit needs of members. However when members post images in the chatbox using [img] tags the images are way too big for my liking and destroy the flow of the conversations in the chatbox.

Is there something I can add to my css that would resize images that are sent through this chatbox?


Last edited by The Detonator on September 19th 2011, 8:57 am; edited 1 time in total
avatar
The Detonator
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

Solved Re: Resizing large images in the chatbox

Post by Guest on September 19th 2011, 6:59 am

Try this:

Code:
#chatbox img{max-height:75px;max-width:75px;}
Change the max height/width to what you think is best for your chatbox.


Guest
Guest


Back to top Go down

Solved Re: Resizing large images in the chatbox

Post by The Detonator on September 19th 2011, 8:56 am

I swear it didnt work before o.O but i guess when i did it myself i did something wrong.

Thanks dion.
avatar
The Detonator
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

Solved Re: Resizing large images in the chatbox

Post by Nera. on September 19th 2011, 11:03 am

Solved > Locked
avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2015
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum