A little help with CSS

pyrobecks17

Member
May 15, 2001
48
0
0
Okay, so this may not be the right place but I have a quick question about CSS.

Is it possible to make a single word within a table on a CSS page be bold. I'm looking for some sort of '<b></b>' like in html that will make just one word bold.

Thanks for the help.
 

Akki

Member
Nov 27, 2002
139
0
0
That's HTML, not CSS, XNice.

There are tons of CSS references on the web, try this one. You should be able to find your answer in a few seconds of googling.

I think you are talking about "font-weight: bold".

Also, if you are using tables, you are most likely not using CSS correctly (unless you're using it for an actual structured dataset).
 

XNice

Golden Member
Jun 24, 2000
1,562
0
76
yea but he didnt specify using css to do so. He just said a css page which extremely vague. If he asked for a css variable that to use in a nested <span> or <div> then maybe yea. plus using strong is simple and much easier than using an actual css declaration.
 

skrilla

Senior member
Oct 22, 2004
833
0
71
<span style="font-weight: bold;">text</span>
<strong>text</strong>

or
<span class="whatever">text</span>
and then define the class in the head section or a stylesheet.


But as XNice said, <strong> probably works best for what you are trying to do.