| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Dec 2004 Location: Burlington, Vermont
Posts: 1,048
![]() ![]() ![]() | Help with a shadow against a background. This may not be possible, but let's say I have an area with an image background that gives it a shadow. The background of the site, however, is a solid color. So the shadow appears fine. ????: NamePros.com http://www.namepros.com/programming/329738-help-with-a-shadow-against-background.html Now let's say I want to change the background of the site to a gradient, or even something more jazzy like a pattern, but the shadow image I've defined now looks strange against it. For example, if the gradient goes from dark (top) to light (bottom) the shadow may appear fine at the bottom, but odd at the top because it's now lighter than the dark section of the gradient. Is there a way to create a shadow that would appear nice against any background? How do people create areas whose height changes, yet the shadow always look nice? Or is that in my html/css dreams? |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Jan 2006 Location: San Diego, CA
Posts: 735
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Kinda dreamin'. You can do it with PNG background images but IE doesn't support them. There's a filter hack that you may or may not be able to apply in your case to make it happen in IE: http://www.themaninblue.com/writing/...ve/2004/06/18/ |
| |