I'm sure there's a very simple explanation for this, but why doesn't Internet Explorer apply the attributes defined in .standardTable1 td (FireFox shows the border correctly)?
HTML File:
CSS File:
Thanks,
Mark
____________________________________________________________
Need help finding an answer?
Try the Search Facility or read FAQ222-2244 on how to get better results.
HTML File:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml"[/URL] xml:lang="en" >
<head>
<title>Page Title</title>
<!-- Main Stylesheet -->
<style type="text/css" title="currentStyle" media="screen">
@import "css/qt_main.css";
</style>
</head>
<body id="query_tool_main">
<form id="frmSections" action="types.php" method="post">
<div id="container">
<div id="Step1" class="groupBox1">
<fieldset>
<legend>Step 3 - Select Sections</legend>
<table class="standardTable1">
<tr class="boldText">
<td></td>
<td>Road Ref</td>
<td>Start X</td>
<td>Start Y</td>
<td>End X</td>
<td>End Y</td>
<td>Description</td>
<td>Length</td>
<td>Speed Limit</td>
</tr>
<tr>
<td><input type="Checkbox" name="RoadSection" value="AL1248"></td>
<td>AL1248</td>
<td>336640</td>
<td>371796</td>
<td>334184</td>
<td>371597</td>
<td>A540 to A550</td>
<td>2.47</td><td>112</td>
</tr>
</table>
</fieldset>
</div>
</div>
</form>
</body>
</html>
CSS File:
Code:
body
{
background: #C0C0C0 url("../images/white_bg.gif");
background-repeat: repeat-y;
background-position: center;
}
#container
{
width: 760px;
margin: 0 auto;
background-color: #FFFFFF;
height:100%;
}
#header
{
text-align: center;
}
.groupBox1
{
width: 90%;
margin: 0 auto;
margin-bottom: 20px;
}
.left-element
{
float: left;
margin-left: 37px;
}
.right-element
{
float: right;
margin-right: 37px;
}
.vertical-element
{
vertical-align: top;
padding: 5px;
}
.standardTable1
{
width: 100%;
border-collapse: collapse;
text-align: center;
font-size: small;
}
.standardTable1 td
{
border: 1px solid grey;
}
.boldText
{
font-weight:bold;
}
Thanks,
Mark
____________________________________________________________
Need help finding an answer?
Try the Search Facility or read FAQ222-2244 on how to get better results.