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: )
}
.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:
I know nearly next to nothing about coding so I'm not sure what else to do. Or if you can change the pixel thing to resizing an image by percent?
Reply
trying putting the height back in as:
max-height: 75px;
Reply
Reply
Reply
Leave a comment