How can I display just a portion of an image in HTML/CSS? -


let's want way display the center 50x50px of image that's 250x250px in html. how can that. also, there way css:url() references?

i'm aware of clip in css, seems work when used absolute positioning.

one way set image want display background in container (td, div, span etc) , adjust background-position sprite want.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -