views:

1745

answers:

1

The problem is quite simple, but i spend too much time search for answer. So if someone can throw a little lihgt on the problem. The CSS -moz-border-radius works with div, but i try to make it work on img. -webkit-border-radius works flawless on img in Chromium. Also i have tried to wrap image in div who is having rounded corners and use overflow: hidden; on that div. But it works in Chromium, but no hope in Firefox. Firefox and Chromium are updated. Any thoughts.

+2  A: 

you could put the image as a background of a div then have that div have rounded corners

John Boker
Semantics...........
Time Machine
Great hack. Thank you so much, i have completely forgot on background image. This will also solve problem with khtml based browsers.@ Koning Baard XIVI don't understand, what does it means Semantics?
gabriel9
I think they mean show actual code to do that
CrazyJugglerDrummer
The only problem with this is when you try to make slideshow...
gabriel9