Back to vBulletin 4.x Template Modifications

Limit signature height via CSS
Mod Version: 1.00, by HolyKiller

vB Version: 4.x.x Rating: (5 votes - 5.00 average) Installs: 60
Released: 24 Oct 2011 Last Update: Never Downloads: 0
Not Supported Template Edits  

This tiny hack will strictly limit signature height. It will take ALL things what the user have in the signature (no matter what is it ... text, image, video, code ... ) and it will crop it based on choosed value.

Original hack was made by Mazinger, but it was a bit outdated and it didn't work for IE7, so there is a newone for vB 4.x

Installation:
Styles & Templates -> Style Manager -> Edit Templates -> edit additional.css

add following code:
Code:
.signaturecontainer {
max-height:200px;
_height: expression(this.scrollHeight > 200? "200px" : "auto" );
overflow:hidden;
}
Change the red number to anything you want :]

Download

No files for download.

Screenshots

Click image for larger version
Name:	wosiglimit.png
Views:	686
Size:	542.2 KB
ID:	134045   Click image for larger version
Name:	withsigclimit.png
Views:	689
Size:	225.1 KB
ID:	134046  

Similar Mods

Mini Mods Limit the height of the signature vBulletin 3.7 Template Modifications

vblts.ru supports vBulletin®, 2022-2024