[_] CSS using a wrapper with with a drop shadow
Raymond Brooks
ray at conscious.co.uk
Tue Sep 5 15:44:47 BST 2006
Oliver Humpage wrote:
> on 5/9/06 15:32, Jean-Paul Gorman at underscore at firecast.co.uk wrote:
>
>
>> Essentially What I'd like to do is use images to create the drop shadow
>> border around the DIV wrapper however I'm not sure on how to best do
>> this as the Div needs to rezise as its content changes.
>>
>
> You could have a 1px-high background image which is *just the sides* of the
> drop-shadow, which repeats vertically. Then tack another div on at the
> bottom of the main content div to hold the bottom shadow. Admittedly this
> introduces another div, but seems the most obvious way in the circumstances.
>
> Oliver.
>
>
>
We use this method.
> on 5/9/06 15:32, Jean-Paul Gorman at underscore at firecast.co.uk wrote:
>
>
>> Essentially What I'd like to do is use images to create the drop shadow
>> border around the DIV wrapper however I'm not sure on how to best do
>> this as the Div needs to rezise as its content changes.
>>
>
> You could have a 1px-high background image which is *just the sides* of the
> drop-shadow, which repeats vertically. Then tack another div on at the
> bottom of the main content div to hold the bottom shadow. Admittedly this
> introduces another div, but seems the most obvious way in the circumstances.
>
> Oliver.
>
>
>
We use this method.