File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ie conditional comment not working for xhtml file

 
ashley Jug
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I trying to use an xhtml file to load my css but nothing is loaded.

This is my code:
<!--[if IE 8]> <link rel="stylesheet" type="text/css" href="${facesContext.externalContext.requestContextPath}/css/lkhtJsf.css" /> <![endif]-->

I am using ie8 browser and the page is displayed with no css.

Any suggestion please.

When i remove the condition it works fine.

Thanks
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your browser running in IE8 mode or is it rendering as IE7 or compat mode?

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic