Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

clip:circle ????????

Status
Not open for further replies.

theEclipse

Programmer
Dec 27, 1999
1,190
US
I know you can clip a div to a certain position: clip:rect(t,r,b,l);

where t=distance from top.
r=distance from left, for the right side.
b=distance from top, for the bottom.
l=distance from left.

but is there a way to clip to a circle?

ex:

clip:circle(cx,cy,r);

where cx=center point (x value)
cy=center poing (y value)
r=radius

theEclipse
eclipse_web@hotmail.com
**\\||It was recently discovered that research causes cancer in rats||//**
 
Not according to CSS2.
b2 - benbiddington@surf4nix.com
 
darn. thanks anyway. theEclipse
eclipse_web@hotmail.com
**\\||It was recently discovered that research causes cancer in rats||//**
 
CSS3 Draft has nothing niether about clipping nor about circles ;). But it's an interesting document. It appears that CSS is going to be much more powerful and sophisticated. The only question I have: when is it going to be completed (first specs, and then its implementation in IE or other browsers)?
---
---
 
I agree, I think css3 has some interesting specs to it, although it looks much more complicated, as you would then be able to change many more of the colors, in many more of the different states, of many more of the different objects.

did you understand that, cause I am not sure I did. LOL theEclipse
eclipse_web@hotmail.com
**\\||It was recently discovered that research causes cancer in rats||//**
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top