PDA

View Full Version : i need avatar witdh and height


gkaradagan
05-01-2010, 07:28 PM
hi guys
i m doing posbit with jquery to avatar but i have some problem.


http://xs.to/image-D487_4BDC8EBC.jpg
it is my codes div.fadehover {
position: relative;
overflow: hidden;

margin: 10px;
padding-top: 95px;
padding-right: 40px;
padding-bottom: 33px;
padding-left: 60px;


}

img.a {

position: absolute;
height: 100%;
width: 100%;
left: 0;
top: 0;
z-index: 10;
}

img.b {
position: absolute;
left: 0;
top: 0;
}


<div class="fadehover">
<vb:if condition="$show['avatar']">

<a href="{vb:link member, {vb:raw post}}">
<vb:if condition="$post.avatarurl">

<img src="pluscep/saydam.png" class="a" />
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" class="b" />




<vb:else />
<img src="{vb:stylevar imgdir_misc}/unknown.gif" />
</vb:if>
</a>
</vb:if></div>

--------------- Added 1272752300 at 1272752300 ---------------

i fix this problem but now i have another problem. How can i adjust contact css to my avatar :S ...

http://xs.to/image-5ACE_4BDCA81A.jpg

--------------- Added 1272756292 at 1272756292 ---------------

ok thank you i fix my problems
it is here look :)
http://xs.to/image-0135_4BDCB82A.jpg