doug2r
10-27-2006, 08:59 PM
I'm a newbie.
Below is the CSS definition and HTML for a simple 1 column, 1 row table. Notice the word "Testing" in the <th> tag.
What unexpectantly happens is the "Testing" is centered in the table and is in bold. How do I make the "Testing" be at the top of the table and the text be normal instead of bold?
#table2
{
background-color: white;
color: black;
width: 600px;
height: 600px;
position:absolute; left: 160px; top: 92px;
text-align: left;
vertical-align: top;
font-weight: normal;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="./Styles/Styles.css" rel="stylesheet" type="text/css">
<title>Untitled Document</title>
</head>
<body>
<table id=table2 width="600" border="0">
<tr>
<th scope="col">Testing</th>
</tr>
</table>
</body>
</html>
Thanks.
Doug
Below is the CSS definition and HTML for a simple 1 column, 1 row table. Notice the word "Testing" in the <th> tag.
What unexpectantly happens is the "Testing" is centered in the table and is in bold. How do I make the "Testing" be at the top of the table and the text be normal instead of bold?
#table2
{
background-color: white;
color: black;
width: 600px;
height: 600px;
position:absolute; left: 160px; top: 92px;
text-align: left;
vertical-align: top;
font-weight: normal;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="./Styles/Styles.css" rel="stylesheet" type="text/css">
<title>Untitled Document</title>
</head>
<body>
<table id=table2 width="600" border="0">
<tr>
<th scope="col">Testing</th>
</tr>
</table>
</body>
</html>
Thanks.
Doug