Forum Moderators: not2easy
Is there a way to do that?
Make the dive 100x4 and put the image as a background on that div.
Or set overflow:hidden on the div and you can put the image right in the div instead of as a background.
#photoclip { position:absolute; height: 100px; width: 50px; clip: rect(0px, 100px, 40px, 0px); overflow: hidden; background: url(yourimagelocation); }
And place the division tag where you want the photo to go:
<div id="photoclip"></div>
Use "top" and "left" to position the photo onto the page. You may have to use trial and error to get it just right.
sorry:
s/b
#photoclip { position:absolute; width: 100px; height: 50px; clip: rect(0px, 100px, 40px, 0px); overflow: hidden; background: url(yourimagelocation); }