When pulling avatar images for my vBulletin forum, the code used is as follows:
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" class="forumavatar1" />
It's important to note the class "forumavatar1" being applied.
The CSS styles for this class are:
.forumavatar1 {
padding: 2px;
border: 1px solid black;
background: white;
}
However, there seems to be an issue where the black border is not displaying. In Google Chrome and Firebug, it appears that the border style is being overridden and crossed out.
To see an example of this issue on a page, you can visit: