|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Bold Table Text (CSS)
Hi,
I have the following code, can creates a simple 1 column by 2 row table. How do I display "Persons First Name" in bold, without displaying "Persons Last Name" in bold? e.g. Persons First Name Persons Last Name Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
<table width="246" border="1" class="coll">
<tr>
<th width="135">Name</th>
<th width="95"> </th>
</tr>
<tr>
<td id="bold">Persons First Name<br>
Persons Last Name </td>
<td> </td>
</tr>
</table>
</body>
</html>
|
|
#2
|
||||
|
||||
|
Wrap "Persons First Name" in a span tag
#bold span{ font-weight:900; }
__________________
Conan, what is best in life? Conan: To crush your enemies, see them driven before you, and to hear the lamentation of the women! |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Bold Table Text (CSS) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|