You might want to look at a mask.

http://webkit.org/blog/181/css-masks/

Cheers.

Rob

On Tue, Jun 23, 2009 at 12:45 PM, Max Melcher
<[email protected]>wrote:

> Hello,
>
> maybe i dont get it but why dont you use both?
>
> <div class="round">
> <img>
> </div>
>
> in theory it should do the trick!
>
>
> 2009/6/18 Jan Goergen <[email protected]>
>
>
>> Hey Girls and Guys,
>>
>> i feel almost stupid to ask but i do it any way :)
>>
>> I know you can have curved corners in safari and firefox with the use of
>>
>> *********************************
>>  img {
>>        -moz-border-radius: 10px;
>>        -webkit-border-radius: 10px;
>>        border-radius: 10px;
>> }
>> *********************************
>> but i can't get it to work on my iphone.
>> it is not a problem to get a div curved but  a img??
>> i want to have a banner system on my microsite and the imgs should
>> have curved corners so i can't make them in Photoshop and put them
>> online.
>> members can upload their own ones...
>> so i would need a generic way of getting curved corners.
>>
>> hope you guys can help me..
>>
>> sorry if this all just sound stupid.
>> i promise, i used google...
>>
>> cheers
>>
>> jan
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to