CodePen

HTML

            
              <div class="user_avatar">
  
  <img src="http://images1.wikia.nocookie.net/__cb20120511112337/batman/images/f/f0/Bane_TDKR3.jpg"/>
  
  
  
  
</div>
            
          
!
via HTML Inspector

CSS

            
              .user_avatar{width:75px; height:75px; position:relative; background-color:#ff0000;  margin:10px auto;
}

.user_avatar img{width:75px;}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................