Log in

View Full Version : Miscellaneous Hacks - Rounded corners all browsers


CK
05-09-2011, 10:00 PM
This will get your rounded corners on your site.

Stick this code in your additional.css template and upload the attached file to your forum root ie the same folder that your forum is located in.

Now a word of warning, this will get you your basic rounded corners, it won't look like the demo style. To get the best effect use it with a style that has rounded corners in it, the idea behind this mod is to have the rounded corners display in IE.

#bsb {
behavior:url(border-radius.htc);
border-radius: 20px;
-moz-border-radius-top{vb:stylevar left}:20px;
-moz-border-radius-top{vb:stylevar right}:20px;
-webkit-border-top-{vb:stylevar left}-radius:20px;
-webkit-border-top-{vb:stylevar right}-radius:20px;
-khtml-border-top-{vb:stylevar left}-radius:20px;
-khtml-border-top-{vb:stylevar right}-radius:20px;
}

Live Demo - http://the-sps.org
Live Demo - Default Style http://www.the-sps.org/forum.php?styleid=61

goxy63
05-10-2011, 12:36 PM
Demo?
Attached file is not here?

CK
05-10-2011, 01:03 PM
Sorry, added the file and you can view the demo link.

Let me know if you have any problems, I'm only posting this because it works on my site and others seem to be having problems with it.

TransAmDan
05-10-2011, 01:10 PM
I have just uploaded it, not got the rounded edges.
The file is there, and the CSS is modified. I have no forum accelerators that may be caching the CSS.

CK
05-10-2011, 01:11 PM
What's your site.

WEBDosser
05-10-2011, 01:21 PM
tagged..

TransAmDan
05-10-2011, 01:50 PM
What's your site.

http://forum2.solent-renegades.co.uk/forum.php

CK
05-10-2011, 02:59 PM
You have rounded corners showing in IE!!!

:)

Stefan118
05-10-2011, 08:55 PM
Doesn't work for me in my style...

Edit:
No need for help anymore...
After seeing the demo sites, those rounded corners are not what i expected, do i have now pressed Uninstalled.

CK
05-13-2011, 09:38 PM
Doesn't work for me in my style...

Edit:
No need for help anymore...
After seeing the demo sites, those rounded corners are not what i expected, do i have now pressed Uninstalled.

The rounded corners will work providing you have a style that uses rounded corners. The main purpose of this mod is to allow your style to show those lovely rounded corners in IE.

raznaran
07-03-2011, 01:53 PM
But it works with the default style, right? Looks nice.