|
|
 |
Re: FN-FORUM: Can css add a circular border around an image?
date posted 22nd January 2007 18:11
You could achieve this effect by creating a div the same size as the
image, setting the image as the background, then putting a transparent
PNG with the circle cut out in the div.
On 22 Jan 2007 18:22:50 -0000, Duncan Glendinning
[EMAIL REMOVED] wrote:
>
> Afternoon all,
>
> I know css can create rounded corners, but can it turn a square image
> into a circle by cuting and rounding it off?
>
> Any links to "how-to's" would be greatly appreciated!
>
> Duncan
>
>
>
> --
> _____________________________
> Duncan Glendinning
> M: 07944797010
> W: www.spider-consultancy.co.uk
> Web Design - DO IT NOW
> _____________________________
>
> This message (and any files transmitted with it) is intended only for
> the named recipient(s) and may contain confidential information which
> may not be copied, distributed or disclosed to any third party. If you
> have received this message in error, please inform the sender
> immediately and delete from your mailbox. Any views expressed in this
> message are not necessarily those of Duncan Glendinning, and no
> liability is accepted for loss or damage arising from their use.
> Emails may be open to monitoring and are stored for future reference.
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|