I want to make my image a cover background, but it doesn't work for me. Here's my code:
<b>
<div id="feedicon" style="display:none; z-index:0;position:fixed;width:32px;height:32px;top:250px;left:0px;">
<a href="http://www.willmaster.com/index.xml" target="_blank">
<img src="http://www.willmaster.com/images/feed-icon32x32.png" border="0" width="32" height="32" alt="RSS" title="RSS">
</a>
</div>
</b>
Try this:
using the
background-sizeyou can change the image size in a page to cover the entire page. This is a good tutorial to learn how to use that attribute wisely if you wish for a cover background image.EDIT - It's important to remember that
background-sizeis a css3 trait - so use it with caution, as it might not work well with old browsers.