View Full Version : Problems in IE 7
bernardmkn361339
08-30-2009, 11:42 PM
Menu works fine on every browse including IE 6.0 & 8.0 but not on IE 7.0 .
Itt basically displays as plain text without the images and no css style . http://www.washingtonsportsmaketing.com
Jason Byrnes
08-31-2009, 11:36 AM
The print style block contains an opening comment, but no closing comment. Change:
<style type="text/css" media="print">
<!--
/* It is common to set printer friendly styles such as a white background with black text. */
body {
background-color: #fff;
background-image: none;
border-color: #000; /* Sets the border color properties for an element using shorthand notation */
color: #000;
}
</style>
to:
<style type="text/css" media="print">
<!--
/* It is common to set printer friendly styles such as a white background with black text. */
body {
background-color: #fff;
background-image: none;
border-color: #000; /* Sets the border color properties for an element using shorthand notation */
color: #000;
}
-->
</style>
bernardmkn361339
08-31-2009, 01:43 PM
thanks but that's not it...
on IE 7 it shows that there's an error on line 48 where this is
<script type="text/javascript">if(window.attachEvent) { window.attachEvent("onload", function() { cssmw.intializeMenu('cssmw',{select_current: 0, orientation: 1}); }); } else if(window.addEventListener) { window.addEventListener("load", function() { cssmw.intializeMenu('cssmw',{select_current: 0, orientation: 1}); }, true); }</script>
Jason Byrnes
08-31-2009, 02:04 PM
Yes, I saw that error as well, it was fixed by adding the closing comment to the the print styles section as suggested in my previous post.
When I visit your site at the address you providede, I see that you have not implmented my suggestion. try changing the print style block:
<style type="text/css" media="print">
<!--
/* It is common to set printer friendly styles such as a white background with black text. */
body {
background-color: #fff;
background-image: none;
border-color: #000; /* Sets the border color properties for an element using shorthand notation */
color: #000;
}
</style>
to:
<style type="text/css" media="print">
<!--
/* It is common to set printer friendly styles such as a white background with black text. */
body {
background-color: #fff;
background-image: none;
border-color: #000; /* Sets the border color properties for an element using shorthand notation */
color: #000;
}
-->
</style>
bernardmkn361339
08-31-2009, 03:42 PM
yea u were right. I mistyped the closing comment..thanks
Jason Byrnes
09-01-2009, 02:22 PM
you're welcome.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.