Thierry Koblentz wrote:
>> My client will upload images and I'd like to put rounded corners on it...is 
>> there a way to do so?
>> You could try something like this:
>> http://www.tjkdesign.com/articles/overlay/tv_overlay.asp
>>
>> styling the background image of an IMG element.
>>     
The above technique works if you use the background image as the source 
and the true/regular image as the styled background:

<img style="background:url(images/src_image.jpg);" 
src="images/bg_image.jpg">

However if you don't have the flexibility to be able to swap the src and 
background images, is there a way to overlay a background image above 
the src image?  Needs to be something like:

<img style="background:url(images/src_image.jpg);" 
src="images/bg_image.gif">

or

CSS style:

.overlay { background: url(images/bg_image.gif }

HTML:

<img src="images/bg_image.gif" class="overlay">

-- 
Bob Meetin
www.dottedi.biz

Standards - you gotta love em with so many to choose from!
Rocket Science - the Art of Managing Distractions


______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to