|
Posted by dorayme on 10/28/06 07:31
In article
<1162017052.674382.218120@i42g2000cwa.googlegroups.com>,
"cwdjrxyz" <spamtrap2@cwdjr.info> wrote:
> dorayme wrote:
> > Anyone got any favourites re the best and simplest (or are these
> > too incompatible?) css strategies for rounded corners to boxes?
> > Lets say for plain colour backgrounds for both box and surrounds.
> >
> > The one at
> >
> > http://www.alistapart.com/articles/customcorners/
> >
> > as exemplified by
> >
> > http://www.alistapart.com/d/customcorners/step6.html
> >
> > breaks in Safari and Firefox from my tests.
>
> An example of one method I wrote is at
> http://www.cwdjr.net/geometric/cornersnew.html . It uses script to
> write the CSS, and arose from a question at the com.lang.javascript
> group. It works on my several browsers including most recent versions
> of IE6, Opera, Firefox, Netscape, Seamonkey, and Mozilla. I don't know
> about Safari, since I don't think I can load a Safari browser on my
> Windows XP. You do use a small colored circle gif for the corners. The
> size of the circle is adjusted in the code as needed, depending on the
> radius of the corner you wish. The radius size of the circle gif needs
> to be no more than for the maximum radius you will use for corners, and
> it could be quite a bit smaller if the image is sharp. The background
> of the gif should be transparent, with the width and height of the gif
> the same as the diameter of the circle. I have a few circles other
> than black, but none in passion pink metallic or such :-).
Thanks cwd, I will take a look tomorrow. The last few hours, i
have been messing about with the idea in
http://kalsey.com/2003/07/rounded_corners_in_css/
which I found via Google!
I have it working withe colours I want and after all that, I am
wondering if I really want rounded corners for the particular
design I am working on! But I will for sure want this from time
to time. I picked the one I did because I understood it! Which is
more than I can say for the gymnastics of some of the css ones I
have seen. But it is early days for me in this.
--
dorayme
[Back to original message]
|