-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Guys,
Under the source dir that contains my page and html, I have two dirs, css and images. Inside css, I have two files, main.css and ie.css. These css files reference images, such as: main.css: a.download-but{ float:right; width:111px; height:26px; margin:0; background:url(../images/download-audio.png) no-repeat 0 0; text-indent:-9999px; } ie.css: * html a.download-but{ background:url(none.gif); filter:progid:dximagetransform.microsoft.alphaimageloader(src='images/download-audio.png', sizingmethod='crop'); cursor:pointer; } I have two links in the header. mainCSS and ieCSS. I have the following code in the page: WebClientInfo info = (WebClientInfo)((WebSession)Session.get()).getClientInfo(); add(new StyleSheetReference("mainCSS", getClass(), "css/main.css")); StyleSheetReference ssref = new StyleSheetReference("ieCSS", getClass(), "css/ie.css"); add(ssref); if (!info.getProperties().getNavigatorAppName().equalsIgnoreCase("Microsoft Internet Explorer")) { ssref.setVisible(false); } My problem is that under IE, the images are not loaded. I've tried changing the image url it ../images/download-audio.png, but that didn't work. Any suggestions? - -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHqf5MAdpynRSGw3URAu+RAJ987XEjNuRFCpVHg8OWya99IsLlOQCfXQkI leINHwBSkP9cKtF2VFWiOMQ= =xUt9 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]