CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
and here is css:
border: 1px solid #000000;
margin: 2px 10px 0px 0px;
div is ok but “.user_avatar.img” not working, and img not resize to 75px, what’s the problem?
i also change the css to:
but neither working!
This reply has been reported for inappropriate content.
I think you should try
the ‘.’ symbol is for class names. Anoher thing – are you trying to position the img absolutely in relation to the div? Then you’ll have to give a position:relative to the container div too.
Here’s a pen
yes, my problem was ‘.’ symbol.
Thanks for your help, it works, here:
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed