EDIT: solved!
I'm using a layout that resizes userpics (on the recent entries and friendspage view) from 100x100 to 75x75 and it works fine for square userpics but stretches out non square userpics to the incorrect ratios. So I was wondering if there was a way to resize userpics to max of 75x75 without screwing up the aspect ratio?
(
here are my codes: )
Comments 12
Reply
}
.entryUserinfo-usericon img {
border-top:10px solid black;
height:75px;
padding-top:5px;
width:75px;
}
And now the height of the userpics stay at their original heights while shrinking to the 75px width:
( ... )
Reply
trying putting the height back in as:
max-height: 75px;
Reply
Reply
width: 75%;
height: 75%
This will keep the userpics at a maximum 75px by 75px but keep the ratio intact.
Reply
}
.entryUserinfo-usericon img {
border-top:10px solid black;
height: 75%
padding-top:5px;
width: 75%;
}
And it squashing the icons a lot:
( ... )
Reply
Reply
Leave a comment