Forum Moderators: not2easy
I would like to have all the photos I use on my site to have rounded corners.
I'm too lazy to apply round corners on the images in photoshop every time I want to post a new one. So therefore, I'm wondering if there is some way to achieve this with css/xhtml. The images will be of various sizes and proportions so I can not use a div with a fixed size. Also, I do not want to use png images due inconsistencies in browsers.
So if anyone could assist in solving this I would be very very grateful. Any assistance is welcome, wheter it be links/directions to where I can find more info about solving the problem, to fully working code samples.
I will be using XHTML 1.0 strict on this page and would like the solution to validate as such.
But then it's as easy as setting the radius:
[w3.org...]
To get it today in FF and Safari use:
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
Theres also variants to do it on just selected corners.