The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Rounded Corners for PunBB CSS

2 posters

Go down

Rounded Corners for PunBB CSS Empty Rounded Corners for PunBB CSS

Post by TR January 11th 2010, 3:15 pm

Hey,
does anyone have a CSS Code that works to round corners? In an ideal world, it would be like this forum, where the headers of categories and rounded, and the below categories are connected to it. The portal widgets are rounded too.

The rounded corner code I have on my forum now doesn't seem to work for Safari users, which is why I'm asking.
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Rounded Corners for PunBB CSS Empty Re: Rounded Corners for PunBB CSS

Post by TR January 12th 2010, 4:33 pm

^
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Rounded Corners for PunBB CSS Empty Re: Rounded Corners for PunBB CSS

Post by ze_chaofan January 12th 2010, 8:05 pm

Hello...
I'm not used to punBB forums, but try to put this in your CSS :

.pun, #pun-navlinks ul, .main-box ul, .pun .main, .pun .main-category {
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
ze_chaofan
ze_chaofan
Forumember

Male Posts : 34
Reputation : 0
Language : English and French

http://full-tuto.forumotion.com/

Back to top Go down

Rounded Corners for PunBB CSS Empty Re: Rounded Corners for PunBB CSS

Post by TR January 12th 2010, 8:45 pm

Hi,
It worked for tables/widgets on my portal, but on the actual forum its still square. Do you know how to fix this?

http://frogzard.omgforum.net/forum.htm
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Rounded Corners for PunBB CSS Empty Re: Rounded Corners for PunBB CSS

Post by ze_chaofan January 12th 2010, 9:41 pm

Hum... Add this :
.main, .main-head, .page-title { -moz-border-radius-topleft: 10px; -webkit-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -webkit-border-radius-topright: 10px; }
ze_chaofan
ze_chaofan
Forumember

Male Posts : 34
Reputation : 0
Language : English and French

http://full-tuto.forumotion.com/

Back to top Go down

Rounded Corners for PunBB CSS Empty Re: Rounded Corners for PunBB CSS

Post by TR January 12th 2010, 9:46 pm

Hey,
should I add that to the previous code you gave me or put it in a different line? I added it to my previous code and it didn't seem to of worked.
Code:
.pun, #pun-navlinks ul, .main-box ul, .pun .main, .pun .main-category, main, .main-head, .page-title { -moz-border-radius-topleft: 10px; -webkit-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -webkit-border-radius-topright: 10px; } {
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
}
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Rounded Corners for PunBB CSS Empty Re: Rounded Corners for PunBB CSS

Post by ze_chaofan January 12th 2010, 10:02 pm

If you give them the same properties, you can, but not like this :
.pun, #pun-navlinks ul, .main-box ul, .pun .main, .pun .main-category, main, .main-head, .page-title { -moz-border-radius-topleft: 10px; -webkit-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; -webkit-border-radius-topright: 10px; } {
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
}

You must do like this :
.name1, .name2 {properties of .name1 and .name2}
.name3, .name4, .name5 {properties of .name3 and .name4 and .name5}

For exemple :
.pun, #pun-navlinks ul, .main-box ul, .pun .main, .pun
.main-category, main, .main-head, .page-title {
-moz-border-radius-topleft: 10px; -webkit-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px; -webkit-border-radius-topright:
10px; }
ze_chaofan
ze_chaofan
Forumember

Male Posts : 34
Reputation : 0
Language : English and French

http://full-tuto.forumotion.com/

Back to top Go down

Rounded Corners for PunBB CSS Empty Re: Rounded Corners for PunBB CSS

Post by TR January 12th 2010, 10:37 pm

Alright, I tried this code. Still nothing?
.pun, #pun-navlinks ul, .main-box ul, .pun .main, .pun .main-category {
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
.main, .main-head, .page-title { -moz-border-radius-topleft: 20px; -webkit-border-radius-topleft: 20px; -moz-border-radius-topright: 20px; -webkit-border-radius-topright: 20px; }
}
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Rounded Corners for PunBB CSS Empty Re: Rounded Corners for PunBB CSS

Post by ze_chaofan January 13th 2010, 9:26 am

Hello...
There's a little mistake here :
.pun, #pun-navlinks ul, .main-box ul, .pun .main, .pun .main-category {
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
.main,
.main-head, .page-title { -moz-border-radius-topleft: 20px;
-webkit-border-radius-topleft: 20px; -moz-border-radius-topright: 20px;
-webkit-border-radius-topright: 20px; }
}

The "}" must be here :
.pun, #pun-navlinks ul, .main-box ul, .pun .main, .pun .main-category {
-moz-border-radius: 20px;
-webkit-border-radius: 20px;}
.main, .main-head, .page-title { -moz-border-radius-topleft: 20px;
-webkit-border-radius-topleft: 20px; -moz-border-radius-topright: 20px;
-webkit-border-radius-topright: 20px; }
ze_chaofan
ze_chaofan
Forumember

Male Posts : 34
Reputation : 0
Language : English and French

http://full-tuto.forumotion.com/

Back to top Go down

Rounded Corners for PunBB CSS Empty Re: Rounded Corners for PunBB CSS

Post by TR January 13th 2010, 5:41 pm

Hm, still doesn't seem to be working.

Maybe there needs to be a seperate code for the forum tables?
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Rounded Corners for PunBB CSS Empty Re: Rounded Corners for PunBB CSS

Post by ze_chaofan January 14th 2010, 6:55 pm

This code does'nt work with Internet Explorer or Opera...

Theres a lot of area we can modify... Try this :
div, table {
-moz-border-radius:20px;
-webkit-border-radius:20px;}
ze_chaofan
ze_chaofan
Forumember

Male Posts : 34
Reputation : 0
Language : English and French

http://full-tuto.forumotion.com/

Back to top Go down

Rounded Corners for PunBB CSS Empty Re: Rounded Corners for PunBB CSS

Post by TR January 15th 2010, 2:15 pm

Interesting... The code seems to be rounding the forum tables but the corners are still staying round.

http://frogzard.omgforum.net/forum.htm
TR
TR
Forumember

Posts : 399
Reputation : 0
Language : English, Gamer

Back to top Go down

Rounded Corners for PunBB CSS Empty Re: Rounded Corners for PunBB CSS

Post by ze_chaofan January 15th 2010, 7:22 pm

Hmm yeah...
I don't know what are the other css classes with punBB...
ze_chaofan
ze_chaofan
Forumember

Male Posts : 34
Reputation : 0
Language : English and French

http://full-tuto.forumotion.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum