2 replies [Last post]
Gravesent
Gravesent's picture
User offline. Last seen 1 week 6 days ago. Offline
rank Enthusiast
Enthusiast
Timezone: GMT+3
Joined: 2007-03-23
Posts: 68
Points: 28

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 4 weeks 5 days ago. Offline
rank Guru
Guru
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4421
Points: 1840

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 33 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.