PDA

View Full Version : Problem loading webage in IE


nadamt
07-25-2005, 02:49 AM
Why does my page (located here (http://nickadt.5u.com/indexbc.htm)) load in Firefox but not IE?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<style type="text/css">
#gation {position:absolute; right:47px; bottom:12px; opacity: 1;}
#tmargin {overflow: auto; width: 100%; height: 100%; background-color: rgb(14,140,140); -moz-border-radius: 0px 20px 0px 0px;}
a:link {color: rgb(250,250,250); text-decoration: none;}
a:visited {color: rgb(250,250,250); text-decoration: underline;}
a:hover {color: rgb(250,250,250); text-decoration: underline;}
a:active{ color: rgb(250,250,250); text-decoration: none;}
html, body {height: 100%;}
body {color: rgb(255,255,255); font-family: tempus sans itc, trebuchet ms; font-size: 21px; font-weight:600; letter-spacing: 0.8px; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; word-spacing: 2px; font-variant: small-caps; background: rgb(255,255,2555)}
iframe {border: 0px 0px 0px 0px; width: 100%; height: 100%; border: 0px 0px 0px 0px;}
</style>
<title>A-Ville</title>
</head>
<body>


<!-- NAVIGATIONAL LINKS -->
<div id="gation">
<a href="iframea.htm" target="exp">A-ville</a> |
<a href="iframeb.htm" target="exp">B-Ville</a> |
<a href="iframec.htm" target="exp">C-Ville</a> |
<a href="iframed.htm" target="exp">D-Ville</a>
</div>

<!-- TABLE 1, CELL A -->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td>
<!-- TABLE 2, CELL A: LEFT BLUE MARGIN -->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td bgcolor="#323250" width="47"></td>
<!-- TABLE 2, CELL B: IFRAME -->
<td width="930">
<iframe src="iframea.htm" border="0" frameborder="0" framespacing="0" marginheight="0" marginwidth="0" name="exp" width="100%" height="100%" scrolling="no"></iframe>
</td>
<!-- TABLE 2, CELL C: RIGHT TEAL MARGIN-->
<td bgcolor="#FFFFFF" width="47"><div id="tmargin"></div></td>
</tr>
</table>
</td></tr>
<!-- TABLE 1, CELL B-A: WINDFOOT: FOOTER LEFT-->
<tr><td height="36">
<table height="100%" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#323250" width="977" height="36"></td>
<!-- TABLE 1, CELL B-B: WINDFOOT: FOOTER RIGHT -->
<td bgcolor="#0C8C8C" width="47" height="36"></td>
</tr></table>
</td></tr></table>

</body>
</html>Any help would be great, thanks.

harbingerOTV
07-25-2005, 05:13 AM
if you remove your Doctype it works.

I don't know what doc type you need though.

_Aerospace_Eng_
07-25-2005, 05:28 AM
Maybe the impartial doctype that is known notoriously for making tables work properly in IE.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
But to be honest your site seems simple enough to make it a tableless layout.

nadamt
07-25-2005, 05:54 AM
Geez. The ironic thing is that I felt compelled to do the dtd thing after reading a few w3c articles. Up until that point, I thought they were worthless; now, I don't know where I stand.

Thanks.