Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
1. None of the Above colors are making my corner rounded in mozila.
-moz-border-radius: 10px 10px 10px 10px;

OR

-moz-border-top-left-radius:10px; /* top left corner */
-moz-border-top-right-radius:10px; /* top right corner */
-moz-border-bottom-left-radius-:10px; /* bottom left corner */
-moz-border-bottom-right-radius:10px; /* bottom right corner */


help me with some other code which can give same result.
Posted
Updated 27-Mar-13 6:51am
v2
Comments
Monster Maker 27-Mar-13 12:36pm    
For round corners, you can try border-radius property..!

CSS
.btn{
  background-color: #F6F6F6;
  border: 1px solid #AAAAAA;
  font-size: 18px;
  padding: 4px 10px 5px 10px;
  margin: 0px 5px 0px 0px;
  border-radius: 2px;
}


see example on my site http://catalogofsoftware.com/[^]

This is not working in IE 8, but working in Chrome, Opera, Mozilla FireFox.
 
Share this answer
 
Unfortunately, you have to have a cross-browser CSS (so, Solution 1 is not a quite a valid solution, you should not have accepted it formally, it won't work for different browsers; I'm not sure the claim in the last sentence is correct, but does work on latest Gecko (Mozilla), but it would not work on earlier versions).

The solution is well-known. I would advice to use one of the rounded-corner generators to obtain required CSS: http://cssround.com/[^].

You can refer to the layout engine comparison to see what features are supported by which:
http://en.wikipedia.org/wiki/Comparison_of_layout_engines_%28CSS%29[^],
http://en.wikipedia.org/wiki/Comparison_of_layout_engines_%28HTML5%29[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900