CSS?

Joel

Seasoned Veteran
Joined
Dec 27, 2009
Messages
3,043
Reaction score
0
FP$
14,417
Hi, concerning my forum's CSS 🙂

Anyway, what's the CSS codes that can make images rounded?
 
if i am correct Jquery codes are used to make images rounded.
 
Jquery is a separate language, i don't know it too but i have seen the use of it in rounded corners otherwise images are used.
 
jQuery will make corners rounded, but requires a bit more in-depth work but if you simply want rounded corners via CSS then the following codes will work...

Code:
-webkit-border-radius: 5px; /* for borwsers such as safari (webkit browsers...) */
-moz-border-radius: 5px; /* for all firefox versions */
border-radius: 5px; /* other browsers... */

*Note: because internet explorer sucks, IE doesn't recognise any CSS border features for rounded corners. Also the code above is CSS3 so some browsers that display CSS properly, may not support CSS3. Firefox and Safari are by far the best browsers.
 
Limited Luck said:
jQuery will make corners rounded, but requires a bit more in-depth work but if you simply want rounded corners via CSS then the following codes will work...

Code:
-webkit-border-radius: 5px; /* for borwsers such as safari (webkit browsers...) */
-moz-border-radius: 5px; /* for all firefox versions */
border-radius: 5px; /* other browsers... */

*Note: because internet explorer sucks, IE doesn't recognise any CSS border features for rounded corners. Also the code above is CSS3 so some browsers that display CSS properly, may not support CSS3. Firefox and Safari are by far the best browsers.

Just to add Chrome into that list - Chrome supports most CSS3, as does Opera.

So the "Fx & Safari are the best browsers" can be changed to Chrome, Firefox, Opera & Safari are the best! 😉
 
I'm not the biggest fan of moz/webkit-border-radius, primarily because it's only experimental at this stage and isn't even valid CSS3, which is still in draft. Usually the easiest way is to have a border-left or a border-right as an image, which should work with all browsers.
 
the perfect support for CSS3 is currently provided by FF, Opera and safari only, Chrome like it's habit crashes often and IE9 is supposed to support CSS3
 
But as I said, just remember that CSS3 isn't a final specification, it's still in development.
 
CSS doesn't make corners rounded, thats CSS3.
 
I realize that, but border-radius is not defined in CSS 3 yet, thus making it not valid.

Case in point, this is my CSS file.
http://www.rockbandhelp.com/forum/cache ... global.css

http://jigsaw.w3.org/css-validator/vali ... =1&lang=en

I have a lot of stuff that isn't considered valid CSS 3, but the primary one is the moz/webkit-border-radius. But as I said, at this point, it doesn't matter, cause CSS 3 is in draft stages, and I'm sure a border-radius feature of some sort will make it in because of the support from the major browsers.
 
Back
Top Bottom