PDA

View Full Version : How to do a CSS Class that contain an instruction for bolding stuff ?


Bracer
02-20-2008, 06:26 PM
CSS Code:
=================================================
<style type="text/css">
<!--
body {background-color: #000000;}
body,td,th {
color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
}
.titlebar{background-color:#6C6E7B;}
-->
</style>
=================================================

I want the "titlebar" class to set a text to bold...but I do not know what is the keyword.

something like this ? I don't know...
.titlebar{background-color:#6C6E7B; textbold:true}

basically I want everything that have the titlebar class assign behave as though there is a <B> tag.

Bracer
02-20-2008, 06:41 PM
I've solved the problem!
The answer is:

.titlebar{background-color:#6C6E7B; font-weight:bold}


font-weight:bold


ha ha ha