/ Published in: CSS
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
HTML:
<div class="resize2"><img src="image.jpg" alt="" /></div>
CSS:
.resize2 {
border: 3px double #333;
float: left;
height: 12em;
margin: .2em 1em 1em 0;
overflow: hidden;
width: 12em;
}
.resize2 img {
margin: -220px 0 0 -210px;
padding: 6em 0 0 6em;
}
URL: http://www.smileycat.com/miaow/archives/000648.php
Comments
 Subscribe to comments
                    Subscribe to comments
                
                