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.

How to limite the image size in the signature?

5 posters

Go down

Solved How to limite the image size in the signature?

Post by th4nhc0n9 June 24th 2011, 5:11 am

Currently, I can not limit the size of the image in the signature of member.
How to do?
I see that in topic or post, the image is resized automatically based on the width of the screen. Can we do the same for the signature?
th4nhc0n9
th4nhc0n9
Forumember

Male Posts : 161
Reputation : 3
Language : Vietnam

http://vnbeauties.com

Back to top Go down

Solved Re: How to limite the image size in the signature?

Post by darkknight June 24th 2011, 5:19 am

Try using this:

Code:
.signature img {max-height: 50px; max-width: 400px;}

I think there is not requirement of explain how this CSS code works. You can easily edit the numbers that are before "px" that are the number of pixels.
darkknight
darkknight
Forumember

Male Posts : 65
Reputation : 0
Language : Spanish
Location : Ecuador

http://graalclassic.foromotion.net

Back to top Go down

Solved Re: How to limite the image size in the signature?

Post by th4nhc0n9 June 24th 2011, 5:33 am

darkknight wrote:Try using this:

Code:
.signature img {max-height: 50px; max-width: 400px;}

I think there is not requirement of explain how this CSS code works. You can easily edit the numbers that are before "px" that are the number of pixels.
Thank you. However, I have added the code in CSS, I dont see the image in the signature resized!
th4nhc0n9
th4nhc0n9
Forumember

Male Posts : 161
Reputation : 3
Language : Vietnam

http://vnbeauties.com

Back to top Go down

Solved Re: How to limite the image size in the signature?

Post by th4nhc0n9 June 24th 2011, 5:36 am

How to limite the image size in the signature? Css_co10
th4nhc0n9
th4nhc0n9
Forumember

Male Posts : 161
Reputation : 3
Language : Vietnam

http://vnbeauties.com

Back to top Go down

Solved Re: How to limite the image size in the signature?

Post by mgt98 June 24th 2011, 5:44 am

Have you clicked save, and can you provide a link to a person's post which has an image sig that hasn't been resized?
mgt98
mgt98
Forumember

Male Posts : 344
Reputation : 45
Language : English

Back to top Go down

Solved Re: How to limite the image size in the signature?

Post by th4nhc0n9 June 24th 2011, 5:47 am

mgt98 wrote:Have you clicked save, and can you provide a link to a person's post which has an image sig that hasn't been resized?
Yes, I have clicked Save. In detail: http://www.vnbeauties.com/t21699-thuy-dung-kiu-dim-gia-ph-c-linh-thieng
th4nhc0n9
th4nhc0n9
Forumember

Male Posts : 161
Reputation : 3
Language : Vietnam

http://vnbeauties.com

Back to top Go down

Solved spam

Post by Burgerman June 24th 2011, 6:00 am

Spam Removed
avatar
Burgerman
New Member

Posts : 15
Reputation : 0
Language : Internet

Back to top Go down

Solved Re: How to limite the image size in the signature?

Post by mgt98 June 24th 2011, 9:21 am

Okay. I saw quite a few large image sigs. What forum version is your one?
mgt98
mgt98
Forumember

Male Posts : 344
Reputation : 45
Language : English

Back to top Go down

Solved Re: How to limite the image size in the signature?

Post by Nera. June 24th 2011, 10:58 am

Hi there,

Here you go, works with phpBB3 - your version
Code:
.signature_div img {
max-height: 50px;
max-width: 400px;
}
Nera.
Nera.
Energetic

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

Back to top Go down

Solved Re: How to limite the image size in the signature?

Post by th4nhc0n9 June 25th 2011, 10:39 am

It is ok now! Thank you so much! :wouhou:
th4nhc0n9
th4nhc0n9
Forumember

Male Posts : 161
Reputation : 3
Language : Vietnam

http://vnbeauties.com

Back to top Go down

Solved Re: How to limite the image size in the signature?

Post by Nera. June 25th 2011, 10:40 am

You welcome.

Solved ~ Locked
Nera.
Nera.
Energetic

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

Back to top Go down

Back to top


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