[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 05-19-2007, 03:41 PM   #1 (permalink)
Senior Member
 
Join Date: Dec 2004
Location: Burlington, Vermont
Posts: 1,043
1,086.90 NP$ (Donate)

dan_Vt is a jewel in the roughdan_Vt is a jewel in the roughdan_Vt is a jewel in the rough


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.

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?
__________________
Vermont SEO
Automotive SEO

For Sale: Co-Sign.com | Skiny.net | CSIFAQ.com | FuelBank.net | Jibbar.com |
dan_Vt is offline  
Old 05-19-2007, 04:55 PM   #2 (permalink)
NamePros Regular
 
DylanButler's Avatar
 
Join Date: Jan 2006
Location: San Diego, CA
Posts: 704
0.00 NP$ (Donate)

DylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to behold


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/
__________________
:great: -Dylan Butler

EXAMP - San Diego Web Design
DylanButler is offline  
Old 05-22-2007, 06:40 AM   #3 (permalink)
Senior Member
 
Join Date: Dec 2004
Location: Burlington, Vermont
Posts: 1,043
1,086.90 NP$ (Donate)

dan_Vt is a jewel in the roughdan_Vt is a jewel in the roughdan_Vt is a jewel in the rough


Thanks for the link.

rep added.
__________________
Vermont SEO
Automotive SEO

For Sale: Co-Sign.com | Skiny.net | CSIFAQ.com | FuelBank.net | Jibbar.com |
dan_Vt is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 03:46 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85