The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How To Put A Limit Size In The Signature using CSS CODE?

View previous topic View next topic Go down

In progress How To Put A Limit Size In The Signature using CSS CODE?

Post by Yoshi156 on April 14th 2011, 6:55 am

How To Put A Limit Size In The Signature using CSS CODE?

Forum version: Phpbb2

Thanks in advance and god bless!

Yoshi156
Forumember

Male Posts : 231
Reputation : 0
Language : english

Back to top Go down

In progress Re: How To Put A Limit Size In The Signature using CSS CODE?

Post by Nera. on April 14th 2011, 8:42 am

Add this to your CSS and put in the sizes
Code:
.signature_div img {
 max-width: Xpx; max-height: Ypx;
 }

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: How To Put A Limit Size In The Signature using CSS CODE?

Post by long than on June 4th 2011, 3:07 pm

out this code to CSS
Code:

/*post body image-------------------------------------------------------------------*/
.postbody img{max-width:550px;}
.postbody img:hover{
max-width:800px;
overflow:auto;
}
.postbody img:before { content: ".";
display: block;
height: 30px;
width: auto;
}



long than
New Member

Posts : 5
Reputation : 0
Language : English

Back to top Go down

In progress Re: How To Put A Limit Size In The Signature using CSS CODE?

Post by maijiyeon on June 8th 2011, 1:08 pm

wait..which one should i use??

Code:
/*post body image-------------------------------------------------------------------*/
.postbody img{max-width:550px;}
.postbody img:hover{
max-width:800px;
overflow:auto;
}
.postbody img:before { content: ".";
display: block;
height: 30px;
width: auto;
}

or

Code:
.signature_div img {
 max-width: Xpx; max-height: Ypx;
 }

and..can i make different limit signature size?? example : for donor/donator : 500x200 . for member : 400x150 .

maijiyeon
Forumember

Female Posts : 145
Reputation : 3
Language : Ipoh
Location : T-ara KPOP

http://jiyeonworldwide.forumtl.com/

Back to top Go down

In progress Re: How To Put A Limit Size In The Signature using CSS CODE?

Post by Nera. on June 8th 2011, 3:58 pm

@Nera. wrote:Add this to your CSS and put in the sizes
Code:
.signature_div img {
 max-width: Xpx; max-height: Ypx;
 }

Hi,

1. Use this one and replace X and Y.

2. No you can't I'm sorry.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: How To Put A Limit Size In The Signature using CSS CODE?

Post by SHINeeGirl on July 12th 2011, 2:11 pm

I'd like to ask if there's a way to limit the number of images in the signature?And thanks for the explanation of how to limit the size Smile

SHINeeGirl
New Member

Female Posts : 4
Reputation : 0
Language : Bulgarian

Back to top Go down

In progress Re: How To Put A Limit Size In The Signature using CSS CODE?

Post by Yoshi156 on July 19th 2011, 3:26 pm

Not working.

Forum Version: PunBB

Yoshi156
Forumember

Male Posts : 231
Reputation : 0
Language : english

Back to top Go down

In progress Re: How To Put A Limit Size In The Signature using CSS CODE?

Post by Nera. on July 19th 2011, 11:00 pm

PunBB, replace x and y! Smile

Code:

.pun .sig-content img {
 max-width: Xpx;
 max-height: Ypx;
 }

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: How To Put A Limit Size In The Signature using CSS CODE?

Post by maijiyeon on August 14th 2011, 2:30 am

not working
how about invision?

maijiyeon
Forumember

Female Posts : 145
Reputation : 3
Language : Ipoh
Location : T-ara KPOP

http://jiyeonworldwide.forumtl.com/

Back to top Go down

In progress Re: How To Put A Limit Size In The Signature using CSS CODE?

Post by Nera. on August 14th 2011, 12:08 pm

PunBB

1. Option
Code:
.pun .sig-content img {
 max-height: 25px;
 }

This is the signature on PunnBB after have added the code, working => http://i.imm.io/81Ky.png

2. Option
Tutorial done by Vlajki =>
You can also make it scroll if it's too large/overseeds the limits you want for punBB by finding this in wievtopic_body template

Code:
<div class="sig-content">
{postrow.displayed.SIGNATURE_NEW}
</div>

And replacing it with this

Code:
<div class="sig-content">
<div style="height: 100px; overflow: scroll;">
{postrow.displayed.SIGNATURE_NEW}
</div>
</div>

Invasion

Code:
.signature_div img {
    max-height: 25px;
}

Screen shot of the code working => http://i.imm.io/81La.png


Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: How To Put A Limit Size In The Signature using CSS CODE?

Post by maijiyeon on August 20th 2011, 3:13 pm

oh thanks ^_^

maijiyeon
Forumember

Female Posts : 145
Reputation : 3
Language : Ipoh
Location : T-ara KPOP

http://jiyeonworldwide.forumtl.com/

Back to top Go down

View previous topic View next topic Back to top


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