Within my main.jsp
page, I have the following code:
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<script src="/targets/js/jquery.uploadify.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/targets/jsp/uploadify.css">
<link rel="stylesheet" type="text/css" href="/targets/css/cssPicker.css">
<!-- ko template: { name: showView } --><!-- /ko -->
This code initializes some components as scripts and css. I'm referencing cssPicker.css
, which contains the following code:
<!--[if IE]><!-->
<link rel="stylesheet" type="text/css" href="/targets/jsp/targetsMSIE.css">
<!--[endif]-->
<!--[if !IE]><!-->
<link rel="stylesheet" type="text/css" href="/targets/css/targets.css">
<!--<![endif]-->
However, the styles are not being applied.
I am new to working with CSS and suspect that I may be incorrectly calling the stylesheet. Could you please advise me on the correct way to reference the stylesheet for users on Internet Explorer versus other browsers?