The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Resizing large images in the chatbox

2 posters

Go down

Solved Resizing large images in the chatbox

Post by The Detonator 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
The Detonator
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 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.

avatar
Guest
Guest


Back to top Go down

Solved Re: Resizing large images in the chatbox

Post by The Detonator 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.
The Detonator
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. September 19th 2011, 11:03 am

Solved > Locked
Nera.
Nera.
Energetic

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

Back to top Go down

Back to top

- Similar topics

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