Webforumz's RSS FeedRSS Webforumz RegistrationRegister Contact Webforumz StaffContact

[SOLVED] border-radius

This is a discussion on "[SOLVED] border-radius" within the Web Page Design section. This forum, and the thread "[SOLVED] border-radius are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Dec 13th, 2007, 12:10
Reputable Member
Join Date: Jul 2007
Location: UK, Essex
Age: 21
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
[SOLVED] border-radius

hey All,

I am trying to create divs that have round corners but by only using css, for FF i have found:

Quote:
-moz-border-radius: ;
I tried this for IE:

Quote:
border-radius: ;
But this doesn't seem to work; any help would be most appreciated, especially if for any other browsers as well.


Regards

Wayne
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old Dec 13th, 2007, 12:19
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: border-radius

Unfortunately you're going to have to wait until CSS3 is adopted by browsers and majority of users will see the results.

The only broswer that supports the border-radius property of css3 (so far) is Safari (khtml based browsers). As far as I've seen, and fairly certain this is still this case, there is no way to do this in IE without the use of images for your corners...

moz-border-radius works but doesn't help any other browser and means your css is littered with broswer-specific properties

Sorry to break the bad news
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Dec 13th, 2007, 12:21
Reputable Member
Join Date: Jul 2007
Location: UK, Essex
Age: 21
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Re: border-radius

Thanks for the info.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Dec 13th, 2007, 12:34
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,870
Thanks: 1
Thanked 23 Times in 23 Posts
Re: border-radius

I created round corners for the newsletter. Just use images: http://www.creativecoding.webforumz.com/.
__________________
Thanks
Marc
Staff Manager - Want to be a Moderator? PM me.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Dec 13th, 2007, 13:15
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,909
Blog Entries: 14
Thanks: 9
Thanked 40 Times in 38 Posts
Re: border-radius

you can have a look through these threads, as we have covered this before:
http://www.webforumz.com/css-forum/6...xes-in-css.htm
http://www.webforumz.com/css-forum/6...nd-corners.htm

Quote:
Originally Posted by welshstew
<cough>
you could always get someone to do it for you
</cough>
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
xtreme wales - extreme clothing | extreme sports shop | cheap sunglasses
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Dec 13th, 2007, 13:40
Reputable Member
Join Date: Jul 2007
Location: UK, Essex
Age: 21
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Re: border-radius

Yea I know that you can use images to produce the outcome but I wanted to do it with just css espec as it works with FF
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old Dec 13th, 2007, 13:44
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: border-radius

Quote:
Originally Posted by RZX Developer View Post
Yea I know that you can use images to produce the outcome but I wanted to do it with just css espec as it works with FF
...but it doesn't work in IE, which still has about 80% market share.

Besides, images give you more options.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old Dec 14th, 2007, 03:08
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: border-radius

CSS is not currently capable of doing it without the use of images. CSS3 will allow all that, though. Anyone know when it is released?
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old Dec 14th, 2007, 11:14
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: border-radius

Quote:
Originally Posted by swagner View Post
CSS is not currently capable of doing it without the use of images. CSS3 will allow all that, though. Anyone know when it is released?
"Released"? It's not a movie or a game.

CSS 3 is a working draft; CSS 2 is a recommendation; CSS 2.1 is a candidate recommendation.

You can validate against the CSS 3 spec already. I do, because I use " :last-child " for some minor formatting enhancements.

Who knows when it will become a recommendation? And after that, who knows when it will be well supported by browsers? Even CSS 2 support is buggy.

Although the most recent de jure standard is CSS 2, the de facto standard is CSS 2.1.

Feel free to use features from CSS 3, but be sensitive to its very patchy support among browsers. Don't rely on it.

Last edited by MikeHopley; Dec 14th, 2007 at 11:26.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old Dec 14th, 2007, 16:23
Jack Franklin's Avatar
Moderator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,429
Blog Entries: 8
Thanks: 18
Thanked 14 Times in 14 Posts
Re: border-radius

http://www.cssplay.co.uk/boxes/curves.html
__________________
Yours is the Earth and everything that's in it
And - which is more - you'll be a Man my son!
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #11  
Old Dec 14th, 2007, 21:45
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: border-radius

Quote:
Originally Posted by MikeHopley View Post
"Released"? It's not a movie or a game.
By "released" I meant "when will it become the standard (instead of CSS2)"...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #12  
Old Dec 14th, 2007, 23:07
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: border-radius

Quote:
Originally Posted by swagner View Post
By "released" I meant "when will it become the standard (instead of CSS2)"...
And what does it mean to "become the standard"?

CSS 1 is a standard. CSS 2 is the most recent standard (well, recommendation), but CSS 2.1 is what most people use.

In reality, what matters most is browser support. If browser support lags too severely, then CSS 3 will not be adopted until well after its "release". If browser support comes first, then CSS 3 will be adopted before its "release".

I'm already using CSS 3, albeit for some very minor formatting enhancement. My stylesheet does not validate as CSS 2.1; but I don't care.

Last edited by MikeHopley; Dec 14th, 2007 at 23:10.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #13  
Old Dec 15th, 2007, 01:14
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: border-radius

Bad English again! Can't word it right, but you got it...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #14  
Old Dec 15th, 2007, 11:07
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: border-radius

Perhaps the right question is: "when will browser support for CSS 3 become good enough?"

That's hard to say. Browsers such as Safari support quite a lot of CSS 3 (such as multiple backgrounds). You can see demos at CSS 3 info.

Unfortunately, IE6 is still the dominant browser. Until that changes, using CSS 3 will be limited to minor enhancements. If you do anything too dramatic with it, IE will suffer. We also have to hope that IE7 will be updated more efficiently than IE6 was.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #15  
Old Dec 15th, 2007, 17:44
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts