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
Drop-Shadow "discoloration"
Old 10-19-2008, 06:21 PM Drop-Shadow "discoloration"
Junior Talker

Posts: 2
Trades: 0
Hi folks,

I'm wondering if any of you can properly diagnose this issue; I've spent a fair amount of time on it now, and while I've nailed down some specific characteristics of what is going on, I'm no closer to identifying a solution to the problem.

Here are the symptoms. There are two transparent PNGs with drop shadow in the page layout (to simplify). One of them comes down from the top (see the dark bar at the top with the grey border) and is supposed to create a drop shadow on the layers below it, and one comes out from the central section (fixed width column) of the page to create a drop-shadow on the layers below. The divs are stacked (i.e. z-index) with the top (dark bar w/thick grey border) being highest in the stack, the central content (the yellow on the right is the left side of an image embedded in the center of the page):



At the top of the page is a greenish-grey background image. The problem is that the drop-shadow from the top bar produces a whitish, blotchy line on the greenish-grey background and the central content as well (see image above).

However, interestingly, when I comment out the background image code (the greenish-grey), the shadow starts looking right, *even for the center column*--it is as though the background of the div *below* the center column is disrupting the drop-shadow for the center column when it is in place!



I cannot for the life of me figure out why this is. For the record, the drop-shadow coming from the main central content column (yellow again) down to the layers below that uses the *exact same technique* and it works fine, no matter what is behind it (i.e., still works fine with the greenish-grey background image in the div behind it).

So, it seems like there is something weird going on with the drop-shadow itself, as though it doesn't have the right coloration? I'm just not sure. Anyone experienced this before? Is this an issue with the PNGs I'm using for drop-shadow, or something with my CSS (not that there is much to it; just divs laid on top of each other). I have the psd files that the designer gave me, and I've been cutting the images myself using drop shadow that he made, but while I can do that sort of thing I'm pretty bad otherwise with photoshop (that is, I'm not sure how to analyze the drop-shadows to see if there is anything different between them).

Thanks for any help you can provide!

Best,
Dave
dubitable is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-19-2008, 07:37 PM Re: Drop-Shadow "discoloration"
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Optical illusion maybe?

or it could several other things we have ABSOLUTELY NO CHANCE of diagnosing from a description and some minuscule compressed screenshots
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-19-2008, 07:45 PM Re: Drop-Shadow "discoloration"
Junior Talker

Posts: 2
Trades: 0
Hi chrishirst,

Is there more specific information I can provide that may clarify things? Sorry if I don't understand proper posting form!

Again, any help would be appreciated.

Best,
Dave
dubitable is offline
Reply With Quote
View Public Profile
 
Old 10-19-2008, 07:51 PM Re: Drop-Shadow "discoloration"
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
A link to where we can actually see the problem, so we can grab the source and "play" with the code and images.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Drop-Shadow "discoloration"
 

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.87795 seconds with 12 queries