Hello,
I've read in the release notes of princeXML 11 that it now supports "CSS4 Media Queries", I am trying to use an orientation media query but it fails. I've tried to put it in the css file as well as creating to different stylesheets and defining the media query on the link to the stylesheet but it doesn't seem to work, it always takes the styles from the portrait one.
<style>
/* page size */
@page {
size: US-Letter landscape;
margin: 0;
padding: 0;
}
</style>
<link rel="stylesheet" media="all and (orientation:portrait)" href="portrait.css">
<link rel="stylesheet" media="all and (orientation:landscape)" href="landscape.css">
I've read in the release notes of princeXML 11 that it now supports "CSS4 Media Queries", I am trying to use an orientation media query but it fails. I've tried to put it in the css file as well as creating to different stylesheets and defining the media query on the link to the stylesheet but it doesn't seem to work, it always takes the styles from the portrait one.
<style>
/* page size */
@page {
size: US-Letter landscape;
margin: 0;
padding: 0;
}
</style>
<link rel="stylesheet" media="all and (orientation:portrait)" href="portrait.css">
<link rel="stylesheet" media="all and (orientation:landscape)" href="landscape.css">