Welcome Guest [Log In] [Register]
This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy.


Visit the NEW ZetaBoards Support forum!

Username:   Password:
Locked Topic
[Solved]h2 text
Topic Started: Mar 26 2008, 04:42 PM (532 Views)
Viral
Member Avatar
i'm stanley nao
[ *  *  *  *  * ]
How do I change the contents of the h2 text? I've tried it in the bit where you specify the background image, near the top of the CSS, and also the part where you control the h2's borders. None of those worked. I'm trying to center the text by the way.
Offline Profile Goto Top
 
rockon1824
Member Avatar
Member
[ *  * ]
Find this part:

Quote:
 
.category h2,.topic h2,#portal h2 {
padding:5px;
text-align:left;
}


Change "left" to "center"
Offline Profile Goto Top
 
Viral
Member Avatar
i'm stanley nao
[ *  *  *  *  * ]
Thanks, now, how do I change the border color of the whole category area?
Offline Profile Goto Top
 
Nicola
Darth Vader's Sewing Instructor
[ *  *  *  *  *  *  * ]
Category area? Like the general cell borders?
css
 
th,td {
border:1px solid #ddd;
}


Or the blue/orange borders around the H2's?
css
 

.cat_head td {
border-color:#5a70b3;
padding:0;
}

#stats .cat_head td {
border-color:#e77700;
}


If not, please be more specific ;)
Offline Profile Goto Top
 
Viral
Member Avatar
i'm stanley nao
[ *  *  *  *  * ]
Thanks that worked. Can you please help with the following problem:

http://s1.zetaboards.com/ViralGreen/index/

td.c_foot looks really weird in Safari and IE. Works perfectly in Opera and FF.
Offline Profile Goto Top
 
Dromin
Member Avatar
Color Member
[ *  * ]
I'm not sure, but I think this happened because you set both the height and the padding for that cell. Try setting setting padding-top and padding-bottom to 0.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Theme & CSS Help · Next Topic »
Locked Topic