Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Rounded corners.

Reply
Thread Tools

Rounded corners.

 
 
dorayme
Guest
Posts: n/a
 
      10-28-2006
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.

--
dorayme
 
Reply With Quote
 
 
 
 
cwdjrxyz
Guest
Posts: n/a
 
      10-28-2006

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 .

 
Reply With Quote
 
 
 
 
dorayme
Guest
Posts: n/a
 
      10-28-2006
In article
< .com>,
"cwdjrxyz" <> 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
 
Reply With Quote
 
Sally Thompson
Guest
Posts: n/a
 
      10-28-2006
On Sat, 28 Oct 2006 06:39:11 +0100, dorayme wrote
(in article <doraymeRidThis->):

> 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.


I have these two bookmarked, but have never used them in anger, as it were:

<http://www.neuroticweb.com/recursos/css-rounded-box/>

<http://www.spiffycorners.com/>



--
Sally in Shropshire, UK
bed and breakfast near Ludlow: http://www.stonybrook-ludlow.co.uk
Burne-Jones/William Morris window in Shropshire church:
http://www.whitton-stmarys.org.uk

 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      10-28-2006
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.
>

Donno works for me with Seamonkey 1.0.5 and Firefox 2.0, how does it break?

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
patrick j
Guest
Posts: n/a
 
      10-28-2006
On Sat, 28 Oct 2006 13:46:19 +0100, Jonathan N. Little wrote
(in article <9e05a$45435104$40cba7ad$>):

>> http://www.alistapart.com/d/customcorners/step6.html
>>
>> breaks in Safari and Firefox from my tests.
>>

> Donno works for me with Seamonkey 1.0.5 and Firefox 2.0, how does it break?


For me with Safari and FireFox 1.5 if I widen the window a lot then the
header and footer sections literally break visually at the right. The
ends come off, honest As long as the window is not too wide then it
looks really good.

I have a 20" screen with 96 dpi.

--
Patrick
Brighton, UK

<http://www.patrickjames.me.uk>

 
Reply With Quote
 
Kevin Scholl
Guest
Posts: n/a
 
      10-28-2006
If you don't mind a little Javascript involved, you can use the JQuery
library and a small plugin to achieve different corners without images:

http://www.malsup.com/jquery/corner/

Some examples that I've been playing with:

http://beta.ksscholl.com/nbuy/template.html
http://beta.ksscholl.com/jquery/corners.html

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.
>



--

*** Remove the DELETE from my address to reply ***

================================================== ====
Kevin Scholl http://www.ksscholl.com/

------------------------------------------------------
Information Architecture, Web Design and Development
------------------------------------------------------
We are the music makers, and we are the dreamers of
the dreams...
================================================== ====
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      10-28-2006
patrick j wrote:
> On Sat, 28 Oct 2006 13:46:19 +0100, Jonathan N. Little wrote
> (in article <9e05a$45435104$40cba7ad$>):
>
>>> http://www.alistapart.com/d/customcorners/step6.html
>>>
>>> breaks in Safari and Firefox from my tests.
>>>

>> Donno works for me with Seamonkey 1.0.5 and Firefox 2.0, how does it break?

>
> For me with Safari and FireFox 1.5 if I widen the window a lot then the
> header and footer sections literally break visually at the right. The
> ends come off, honest As long as the window is not too wide then it
> looks really good.
>
> I have a 20" screen with 96 dpi.
>


Actually same here 1280 x 1024. But it could be easily solved by
increasing the dims of the image:

http://www.alistapart.com/d/customco...rs_topleft.gif

Currently at 800px × 600px

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      10-28-2006
In article <9e05a$45435104$40cba7ad$>,
"Jonathan N. Little" <> 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.
> >

> Donno works for me with Seamonkey 1.0.5 and Firefox 2.0, how does it break?


<http://members.optushome.com.au/droo...StartsAt1020px
AndThenGetsBiggerAndBigger.png>

When window is wider than 1020, the crack starts and is what the
Tamils want to do from Sri Lanka...

--
dorayme
 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      10-28-2006
In article
< et>,
patrick j <> wrote:

> I have a 20" screen with 96 dpi.


I beat you, Patrick! One of my screens is 20" but 100 dpi.

--
dorayme
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rounded corners on panel/div etc kurt sune ASP .Net 1 10-12-2005 08:52 AM
Rounded Borders Mythran ASP .Net 4 06-19-2005 12:46 PM
Rounded Buttons XP Style Just D. ASP .Net 1 04-28-2005 11:12 PM
Rounded corners in menu Table and Bottons Francisco J. Jurado ASP .Net 3 05-31-2004 09:36 PM
rounded corners in data grid Konrad ASP .Net 2 08-30-2003 02:45 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57