Rounded Corners for PunBB CSS
2 posters
Page 1 of 1
Rounded Corners for PunBB CSS
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.
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- Forumember
- Posts : 399
Reputation : 0
Language : English, Gamer
Re: Rounded Corners for PunBB CSS
Hello...
I'm not used to punBB forums, but try to put this in your CSS :
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;
}
Re: Rounded Corners for PunBB CSS
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
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- Forumember
- Posts : 399
Reputation : 0
Language : English, Gamer
Re: Rounded Corners for PunBB CSS
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; }
Re: Rounded Corners for PunBB CSS
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.
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- Forumember
- Posts : 399
Reputation : 0
Language : English, Gamer
Re: Rounded Corners for PunBB CSS
If you give them the same properties, you can, but not like this :
You must do like this :
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;} {-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; }
Re: Rounded Corners for PunBB CSS
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- Forumember
- Posts : 399
Reputation : 0
Language : English, Gamer
Re: Rounded Corners for PunBB CSS
Hello...
There's a little mistake here :
The "}" must be here :
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; }
Re: Rounded Corners for PunBB CSS
Hm, still doesn't seem to be working.
Maybe there needs to be a seperate code for the forum tables?
Maybe there needs to be a seperate code for the forum tables?
TR- Forumember
- Posts : 399
Reputation : 0
Language : English, Gamer
Re: Rounded Corners for PunBB CSS
This code does'nt work with Internet Explorer or Opera...
Theres a lot of area we can modify... Try this :
Theres a lot of area we can modify... Try this :
div, table {
-moz-border-radius:20px;
-webkit-border-radius:20px;}
Re: Rounded Corners for PunBB CSS
Interesting... The code seems to be rounding the forum tables but the corners are still staying round.
http://frogzard.omgforum.net/forum.htm
http://frogzard.omgforum.net/forum.htm
TR- Forumember
- Posts : 399
Reputation : 0
Language : English, Gamer
Re: Rounded Corners for PunBB CSS
Hmm yeah...
I don't know what are the other css classes with punBB...
I don't know what are the other css classes with punBB...
Similar topics
» Rounded corners
» Rounded Corners
» Rounded corners for categories
» How would I get rounded corners
» Rounded Corners
» Rounded Corners
» Rounded corners for categories
» How would I get rounded corners
» Rounded Corners
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum