Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
How do I have curved/arched corners
Old 06-17-2010, 03:34 AM How do I have curved/arched corners
Extreme Talker

Posts: 168
Name: James
Location: Australia
Trades: 0
I wish to ask how do I get curved or arched corners on my boxes by using CSS.

The complete list of CSS keywords, OR, a direct link to an existing online reference please.
TRANZIT JIM is offline
Reply With Quote
View Public Profile Visit TRANZIT JIM's homepage!
 
 
Register now for full access!
Old 06-17-2010, 03:42 AM Re: How do I have curved/arched corners
Phunk Rabbit's Avatar
Ultra Talker

Posts: 255
Name: John Nerush
Location: Milton Keynes, UK
Trades: 0
If you intend to support older browsers you will need to use images.

If you are just supporting modern browsers you could use CSS3.

Either way look here: http://www.devwebpro.com/25-rounded-...ques-with-css/
__________________

Please login or register to view this content. Registration is FREE

Learn professional skills from professional people, from $6.50 a month.
Phunk Rabbit is offline
Reply With Quote
View Public Profile Visit Phunk Rabbit's homepage!
 
Old 06-17-2010, 06:36 AM Re: How do I have curved/arched corners
Extreme Talker

Posts: 168
Name: James
Location: Australia
Trades: 0
Yes, I am after a CSS keyword/property of which would create the curved corner.

I have just found via google, the keyword of 'border-radius', but it does not seem to work in Firefox.
TRANZIT JIM is offline
Reply With Quote
View Public Profile Visit TRANZIT JIM's homepage!
 
Old 06-17-2010, 06:45 AM Re: How do I have curved/arched corners
Phunk Rabbit's Avatar
Ultra Talker

Posts: 255
Name: John Nerush
Location: Milton Keynes, UK
Trades: 0
Quote:
Originally Posted by TRANZIT JIM View Post
Yes, I am after a CSS keyword/property of which would create the curved corner.

I have just found via google, the keyword of 'border-radius', but it does not seem to work in Firefox.

Mhmm, in firefox you need to use "-moz-border-radius", using them together will target both types of brouser however you will still encounter some brousers that cant understand either of them since it is a CSS3 property.

You can see what brousers support different technuiqes here: http://caniuse.com/
__________________

Please login or register to view this content. Registration is FREE

Learn professional skills from professional people, from $6.50 a month.
Phunk Rabbit is offline
Reply With Quote
View Public Profile Visit Phunk Rabbit's homepage!
 
Old 06-17-2010, 06:55 AM Re: How do I have curved/arched corners
Extreme Talker

Posts: 168
Name: James
Location: Australia
Trades: 0
I have just found a new link here http://www.the-art-of-web.com/css/border-radius/

The -moz one does not accept px, but does accept em.

I have done it thus for a button

border-radius:2em 1em;
-moz-border-radius:2em 1em;
-webkit-border-radius:2em 1em

That does seem to work in firefox.
TRANZIT JIM is offline
Reply With Quote
View Public Profile Visit TRANZIT JIM's homepage!
 
Old 06-17-2010, 06:57 AM Re: How do I have curved/arched corners
Extreme Talker

Posts: 168
Name: James
Location: Australia
Trades: 0
The curved borders are only for looks. Non supporting browsers shall just show a square box, and that would be fine for me.
TRANZIT JIM is offline
Reply With Quote
View Public Profile Visit TRANZIT JIM's homepage!
 
Old 06-17-2010, 07:01 AM Re: How do I have curved/arched corners
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.css3.info/preview/rounded-border/
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-17-2010, 07:01 AM Re: How do I have curved/arched corners
Phunk Rabbit's Avatar
Ultra Talker

Posts: 255
Name: John Nerush
Location: Milton Keynes, UK
Trades: 0
Quote:
Originally Posted by TRANZIT JIM View Post
The curved borders are only for looks. Non supporting browsers shall just show a square box, and that would be fine for me.

Sounds good

Glad you found your solution. Hope I helped in some way.
__________________

Please login or register to view this content. Registration is FREE

Learn professional skills from professional people, from $6.50 a month.
Phunk Rabbit is offline
Reply With Quote
View Public Profile Visit Phunk Rabbit's homepage!
 
Reply     « Reply to How do I have curved/arched corners
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.27677 seconds with 12 queries