design - Weird css issue - Can not load a style depending on the browser -
i have main.jsp page wich contains 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 --> it initializing components scripts , css. i'm calling csspicker.css contains below 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]--> but style not applying.
i have never played css before , i'm pretty sure way i'm trying call sheet incorrect. please give me advice on how call correctly sheet when using ie , when using browser.
all versions of ie
<!--[if ie]> <link rel="stylesheet" type="text/css" href="all-ie-only.css" /> <![endif]--> all browsers except ie
<!--[if !ie]><!--> <link rel="stylesheet" type="text/css" href="not-ie.css" /> <!--<![endif]--> all browsers.
<link rel="stylesheet" type="text/css" href="/targets/css/targets.css"> conditional stylesheets should understand better.
i doubt not referring css locations "/targets/jsp/targetsmsie.css" should "/targets/css/targetsmsie.css"
Comments
Post a Comment