You are currently viewing the BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
I have downloaded and unzipped the ie7_0_9 file and the ie7_0_9-source files to my local c disk. I uploaded the ie7_0_9 file in it's entirety to my web site location. I have included the correct link statement in my home page code ie: <script src="ie7/ie7-standard-p.js" type="text/javascript"></script> I have even inserted an alert statement at the beginning of the code in the ie7-standard-p.js file to verify I am getting to the right file. I receive the alert message okay but receive no benefit from the Dean Edwards code when running with IE6 or less. What am I doing wrong?
Hi Richard,
Thanks for your quick response. Some further information that might be of benefit to you: I have tested my code successfully on IE7 and Mozilla Firefox v 2.0.0.3 but am unsuccessful when using IE6 on a Windows 95 platform. The url is http://gostzmail.home.att.net . I have only changed the home page of my site to accommodate IE6 or less. The rest of the pages will need to be modified once I have the right code in place. Thank you very much for your help.
IE6 doesn't run on Windows 95... if you're on Windows 95, the last version of IE released to run on that platform was IE 5.5.
Which is fine though, Dean Edwards's script should work on IE 5.5. Though there may be other things to consider if that is the platform, there is no "standards" mode, for example, only IE quirks.
The problem is a typo in the source:
<html:script src="ie7/ie7-standard-p.js" type="text/javascript"></html:script>
It should be:
<script src="ie7/ie7-standard-p.js" type="text/javascript"></script>
Hello again Richard,
Thanks again for getting back to me so soon. I have modified the code according to your recommendation and have put back an alert in the ie7-standard-p.js file to let you know I am getting there but still no go. And, you are right, it is IE5.5 on my old Windows 95 machine. Sorry to be such a bother.