Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
HI,
i'm using css3-mediaqueries.js to enable responsive design in my web site.

after configuring IIS, if i use localhost to browse the site everything is working fine but if i use my machine name to access the web site, design is getting collapsed.

this is how i use css3-mediaqueries.js

HTML
<body>
    <!-- css3-mediaqueries.js for IE less than 9 -->
    <!--[if lt IE 9]>
    <script src="http://sankar/css3-mediaqueries.js"></script>
    <![endif]-->


please help me to fix this.
Posted
Updated 30-Apr-14 21:25pm
v2
Comments
Do you see any error on Developer Tool's console window?
sankar2299 6-May-14 3:52am    
no, There is no error in console. css is not loaded completely.
Why it is not loading?
Sampath Lokuge 1-May-14 4:11am    
Check whether your css file is loaded properly by using chrome dev tool ?
sankar2299 6-May-14 3:57am    
it is working like a charm except IE(any version)

1 solution

Ensure the css is loading correctly.
The css styles need to be linked using the relative urls/
 
Share this answer
 
Comments
sankar2299 6-May-14 5:34am    
yes, i'm using relative urls only. problem looks like no style class inside @media not getting in the screen.

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