Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3029

CDHtmlDialog not working with CSS Media Queries

$
0
0
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.

Viewing all articles
Browse latest Browse all 3029

Latest Images

Trending Articles



Latest Images