CSS Trick: Drop Shadows
Comments
> So are you going to use that here to replace the faked hard-shadows?
No, probably not. The code and :CSS: are pretty straightforward for images done this way, but for other arbitrary page elements (say, the headers) you have to add two levels of <div>s, which isn’t something I like.
If I were to do it anywhere on this site, it would probably be with the thumbnails (and maybe full images) in the Gallery section. Probably won’t bother, though.
thanks ive been looking for info on how to do this.
The only issue I’ve had with this method is that it’s tough to center an Image. When they released that article, I knew I’d want to use it for my photolog. I eventually had to change a few things on how I laid out my photolog in order to make it work well.
I saw that article, and I particularly like how there are multiple solutions for positioning, and creating the shadow image to use.
So are you going to use that here to replace the faked hard-shadows?
By Derek Jones on March 3, 2004 at 04:03pm link