Quote:
Originally Posted by RbnJrg
I didn't do the try so I can give you a specific response but we have media queries in order to know those variables. For example, one could use:
@media screen and (orientation: portrait) {
/* Portrait styles */
}
@media screen and (orientation: landscape) {
/* Landscape styles */
}
Or something like this:
@media (max-height: 800px) and (orientation: landscape) {
/* code for 6 inches screens and Landscape mode */
}
|
Media queries are not supported in most ePUB readers, so that will not really help. Also with more and more HD readers coming out, this will give peculair results.