Forum Moderators: not2easy

Message Too Old, No Replies

Images not appearing in IE 5 on Mac

         

beecham

2:19 pm on Aug 6, 2003 (gmt 0)

10+ Year Member



Hi, Im having a complete nightmare with the following page, the images all load as you can view the source and see the references. Paste it into a WYSIWYG and you get the page too... But IE 5.02 or 5.1 both only display the top image.
The paths are correct and it works on the other browsers I have tested it on NS4.7 PC/MAC Opera Etc... Panel.jpg just will not appear.
Any ideas?
Thanks in advance

<!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>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<style type="text/css">
<!--
.container{
text-align: center;
}
/*Top Row fix for IE on max*/
.top-row {
margin-left:auto;
margin-right:auto;
width: 760px;

}
.threegreats{
float: left;
padding-top: 40px;
padding-left: 5px;
}

.topnavimage{
float: right;
padding-top: 15px;
padding-right:15 px;
width: 135px;
padding-bottom: 10px;
}

--> </style>

</head>

<body>
<div class="container">
<div class="top-row">
<div class="topnavimage"><img src="static/images/home_logo.gif" alt="" width="133" height="47" /></div>
<div class="threegreats"><img src="static/images/three_greats.gif" alt="" width="329" height="23" /></div>
<div id="central-content"><img src="static/images/panel.jpg" width="760" height="240" /></div>
</div>
</div>
</body>
</html>

BlobFisk

2:50 pm on Aug 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi beecham,

Do you have any CSS for the div called central-content?

Also, dashes ("-") are not allowed in ID or class names, try removing the dash and see if that fixes the problem.

It is always worth feeding your CSS and HTML into the W3C validator to see if either of them throw up any errors.

HTH