-
February 21st, 2014, 03:29 PM
#1
CDHtmlDialog not working with CSS Media Queries
Hello there,
I have a CDHtmlDialog app in which am trying to add a CSS media query in the HTML file as shown below, but it doesn't work.
@media (max-width:20em) {
table, thead, tbody, tfoot, th, td, tr { display:block; }
tr + tr { margin-top:1em; }
}
The same CSS works fine if i open in a browser like IE, FireFox, Chrome. But inside the CDHtmlDialog app this doesn't work.
I am using Visual Studio 2012 for development and have IE 11 installed in my machine.
Any ideas?
THanks in advance.
-
February 24th, 2014, 07:31 AM
#2
Re: CDHtmlDialog not working with CSS Media Queries
this could be caused by the IE control being set to "quirks" mode or if it's set to IE6 compatibility.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|