| lukgoh |
|
|---|---|
|
Yeah that makes sense. The only problem he is having is he cant resize the avatar but that is because as I said before the width and hight values are being set in the html... Added 18 hours later: I have to apologise Kingsley, I was looking at the wrong part like an idiot... Ok having a look at your css and html I can see you are setting the dimensions for the box the avatar image is inside but I can't see where you are setting the dimensions for the avatar image itself. As I set an avatar of 100 x 100px I can see that it pushes itself well out of the box set to 45 x 45px.
#userava
{
float: left;
padding: 3px;
border: 1px solid #d2d2d2;
margin-bottom: 4px;
}
.useravabox
{
width: 45px;
height: 45px;
}
So where can I find the css for the classes userimg and avatar? As one of these should have the dimensions you wish to set the image for... Added 5 minutes later: Okay, I found this:
#avatar{
width:35px;
height:35px;
}
This needs to be a class so swap # with . Added 11 minutes later: Or perhaps that is for something else altogether, I cannot tell... Відредаговано: lukgoh (18.01.2012 13:02, 13 років тому) |