[QUOTE]
From: "James Smith" <[EMAIL PROTECTED]>
Date: Wed, 29 Jun 2005 11:45:58 +0100
Subject: drop shadows

Hi all,

I have a site www.flashforprogrammers.com, each page ‘floats’ on a background with a dropshadow. I’m no HTML fiend, a friend told me how to add the drop shadow. It’s done thus:

<div 
style="width:700px;height:1250px;filter:shadow(color:black,direction:135);">
<div style="width:682px;background:white;border:1px solid black;padding:20px;">
…content
</div>
</div>
[/QUOTE]


My notes on that would be:

1) As mentioned already, this will work *only* in IE browsers.
2) ...So I would suggest a very popular technique, widely used, using a small GIF image and a bit of CSS. It works in nearly every browser nowadays, and is easy to implement. Details you may find here:
a) http://www.1976design.com/blog/archive/2003/11/14/49/
b) http://www.alistapart.com/articles/cssdropshadows/
c) http://wubbleyew.com/tests/dropshadows.htm

Cheers, Michel
Webdesigner Freelancer
(sometimes not so free;-)

===========================================================

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to