2 replies [Last post]
Gravesent
Gravesent's picture
User offline. Last seen 51 weeks 2 days ago. Offline
rank Enthusiast
Enthusiast
Timezone: GMT+2
Joined: 2007-03-23
Posts: 67
Points: 26

Hello,

I'm looking for a simple and efficient way to make round cornered expandable divs with drop shadows.

I know this can be easily achieved with css3, I also know how to do this for fixed width divs, but I have no idea how to achieve this for divs that have to expand both in width and in height.

Any ideas? Thank!

Deuce
Deuce's picture
User offline. Last seen 3 days 16 hours ago. Offline
rank Guru
Guru
Timezone: GMT-6
Joined: 2005-11-20
Posts: 4416
Points: 1835

If you know it can easily be

If you know it can easily be achieved in CSS3, why don't you use CSS3?

all ยป http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

Debayan Gupta
Debayan Gupta's picture
User offline. Last seen 1 year 18 weeks ago. Offline
rank Regular
Regular
Timezone: GMT-4
Joined: 2010-08-10
Posts: 45
Points: 51

Please explain..

"but I have no idea how to achieve this for divs that have to expand both in width and in height"

Please post the code you're currently using. border-radius/box-shadow should work regardless of width/height.