Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
External CSS - Image Drop Shadows
Old 02-21-2007, 08:47 PM External CSS - Image Drop Shadows
Average Talker

Posts: 16
Trades: 0
Hey guys. I've been searching for an external CSS drop shadow code to impliment to my website. Images are a big part of my website and I think they look so boring without drop shadows. Also, my background is black so I'd need drop shadows that would show on black. Any help or links would be greatly appreciated, thanks.
golfiscool is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-21-2007, 11:35 PM Re: External CSS - Image Drop Shadows
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
Have a look at my photo galleries, and while you're there, do a "view source" on them. This probably isn't your ideal solution, but it will point you in the right direction.

And they bring up an important point. Right now, your background is black, but what happens if you decide to change that at some point in the distant future? If you poke around some of my galleries, you'll see that I'm still working on fixing that - old background colors built into the drop shadow images. If it's at all possible you might ever want to change your background color, you should implement your shadows in a way that will tolerate that.

If your images are mostly the same size, you can make a frame image that's mostly transparent, and then jump through hoops to make IE 6 understand. On the other hand, there are dozens of CSS drop shadow tutorials on the web. I don't have any URLs off hand, because I decided not to go that route; the few I looked at demanded as many as six divs per image.

Anyway, I hope this was helpful rather than confusing the situation more.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 02-22-2007, 01:48 PM Re: External CSS - Image Drop Shadows
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
Maybe this:
http://alistapart.com/articles/cssdropshadows

All you would have to do is change the shadow color to fade from white to black.
Tom_M is offline
Reply With Quote
View Public Profile
 
Old 02-28-2007, 12:54 PM Re: External CSS - Image Drop Shadows
Angelosanto's Avatar
Webmaster Talker

Posts: 548
Name: Danny Angelosanto
Trades: 0
If you put the images in a certain class of div tag, you can then modify tht div tag to turn it into a shadow:

1. use 'position:relative' and then 'top:5px;left:5px'
This will place it in a shadow position

2. give the div tag a background color (if you want an actual shadow then obviously a really dark grey that fades would be good)

3. if you have any problems with things being in the wrong order, then use 'z-index' to put it right.

Hope that was useful!
__________________
"The only reason some people get lost in thought is because it's unfamiliar territory."
_____________________________________
Angelosanto is offline
Reply With Quote
View Public Profile Visit Angelosanto's homepage!
 
Old 02-28-2007, 03:13 PM Re: External CSS - Image Drop Shadows
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
3. if you have any problems with things being in the wrong order, then use 'z-index' to put it right.
The only problem with that is z-index only works for absolute or relatively positioned elements.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-28-2007, 05:49 PM Re: External CSS - Image Drop Shadows
Angelosanto's Avatar
Webmaster Talker

Posts: 548
Name: Danny Angelosanto
Trades: 0
Quote:
Originally Posted by Angelosanto View Post
1. use 'position:relative' and then 'top:5px;left:5px'
This will place it in a shadow position
Isn't that what I said to use though?
__________________
"The only reason some people get lost in thought is because it's unfamiliar territory."
_____________________________________
Angelosanto is offline
Reply With Quote
View Public Profile Visit Angelosanto's homepage!
 
Old 02-28-2007, 06:55 PM Re: External CSS - Image Drop Shadows
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Oops.. sorry, -- yes you did. My bad.... looonnnngg day
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to External CSS - Image Drop Shadows
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30294 seconds with 12 queries