Results 1 to 1 of 1

Thread: Shadow under/around layer (Drop down/ Overlapping Content)

  1. #1
    Join Date
    Aug 2006
    Posts
    44
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Shadow under/around layer (Drop down/ Overlapping Content)

    Hello

    1) Script Title:
    Drop down/ Overlapping Content

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...lapcontent.htm

    3) Describe problem:

    I want to use this script and I would like to display a white "subcontent" layer (without border) but with a shadow effect around it!

    I've tried different ways to add it (running with IE only, it's ok too), but I don't obtain a good result!

    I've tried with adding...

    A/ CSS Gradient Shadow
    http://www.dynamicdrive.com/style/cs...adient-shadow/

    <DIV id="subcontent1" style="position:absolute; visibility:hidden; border:0px; background-color:white; width:218px; padding:0px;" class="shadow" style="display:block" rel="red">
    ../..
    No shadow under/around the "subcontent" layer... but a shadow layer appears at top left of the page.


    B/ CSS Image Drop Shadows
    http://www.dynamicdrive.com/style/cs...-drop-shadows/

    <DIV id="subcontent1" style="position:absolute; visibility:hidden; border:0px; background-color:white; width:218px; padding:0px;">
    <div class="shiftcontainer">
    <div class="shadowcontainer">
    <div class="innerdiv">

    ../...
    A shadow appears a bottom, inside the "subcontent" layer (and not beside/around it).

    C/ filter:shadow
    http://www.mandarindesign.com/shadow.html

    <DIV id="subcontent1" style="position:absolute; visibility:hidden; border:0px; background-color:white; width:218px; padding:0px; filter:shadow(color:gray,strength:20, direction:135);">

    No shadow under/around the "subcontent" layer (with IE too).

    Someone could help me?
    Thanks a lot
    Chris
    Last edited by chrbar; 01-08-2008 at 10:46 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •