Click here to Skip to main content
15,888,251 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
im trying to use a virtual keyboard on my textbox. Keyboard is working fine for http request but if the request is of https then abnormally system is not considering the css file.

if the request is http request then following way of reference call is working fine.

HTML
<link href="Css/keyboard.css" rel="stylesheet" type="text/css" />


Incase of "https" i tried all the following ways in order to resolve the issue but i wasnt able to resolve it. May i know what will be the probe? thanks

What I have tried:

HTML
<link href="Css/keyboard.css" rel="stylesheet" type="text/css" />

<link href="~/Css/keyboard.css" rel="stylesheet" type="text/css" />

<link href="//online.example.com/Css/keyboard.css"  rel="stylesheet" type="text/css" />

<link href="<%=Request.ApplicationPath%>/Css/keyboard.css"  rel="stylesheet" type="text/css" /> 
Posted
Comments
mhemant 3-Apr-17 7:57am    
Can you try with relative url like
JanardhanSharma 3-Apr-17 8:39am    
I've tried but wasn't able to see the change. Same issue has occured.
Richard Deeming 4-Apr-17 10:42am    
Check the page's source to verify that the correct URL has been generated.

Check the network tab in your browser's developer tools to see whether the stylesheet is being requested, and if so, what error it being returned.

It sounds like you've got an HTTP reference in an HTTPS page, which the browser will block. But none of the options you've shown would normally cause that.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900