4images Forum & Community
4images Modifications / Modifikationen => Templates & Styles (Requests & Discussions) => Topic started by: toroslar on March 13, 2005, 10:43:52 AM
-
How to I show images with shadow ?
thanks
-
- put this code into the style.css file -
.pic {filter: progid:DXImageTransform.Microsoft.Shadow(color=#404040,direction=135, strength=4)
progid:DXImageTransform.Microsoft.Alpha(opacity=100);
border: 0;}
- to adjust the color & darkness & direction of the shadow, change these settings : (color=#404040,direction=135, strength=4) & (opacity=100)
- then for the images you add this code -
class="pic"
- like here : <img src="{template_image_url}/category.gif" border="0" class="pic">
- or for a shadow on a table you add it like this:
<table width="90%" border="1" align="center" cellpadding="0" cellspacing="0" class="pic">
---- hope this helps you ------
-
That code will not work in any browser but Internet Explorer
http://www.4homepages.de/forum/index.php?topic=5106.msg29300;topicseen#msg29208