Hello,
It seems that Prince doesn’t understand media queries with boolean expressions inside whith @media. Do you have a workaround that works with @media ?
Regards,
Nicolas
It seems that Prince doesn’t understand media queries with boolean expressions inside whith @media. Do you have a workaround that works with @media ?
Regards,
Nicolas
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Media test</title>
<style>
@media print, not amzn-mobi, not amzn-kf8
{
/* doesn’t work */
.c1 { color: red; }
}
</style>
<style media="print, not amzn-mobi, not amzn-kf8">
/* works */
.c2 { color: blue; }
</style>
</head>
<body>
<a href="http://www.w3.org/TR/2002/CR-css3-mediaqueries-20020708/">Media queries</a>
<p class="c1">Media test</p>
<p class="c2">Media test</p>
</body>
</html>