Specifiying Alternative Media through CSS
------------------------------------------------------
Is it possible to specify @media ? Basically we dont want Header Footers for Web Display sometimes .
Currently we use the Prince Flow ( CSS Running element ) to achieve that . Is that the real purpose of Running Elements ? IMHO another way of solving the same problem instead of changing the flow/position , we can keep a different css style (hidden) for headers and footers for different medias with print being one of them ?
div.header {display:hidden;}
@media print
{
div.header {display:block;
position:running(header)
}
@page {
@top-center {content:element(header);}
}
}
------------------------------------------------------
Is it possible to specify @media ? Basically we dont want Header Footers for Web Display sometimes .
Currently we use the Prince Flow ( CSS Running element ) to achieve that . Is that the real purpose of Running Elements ? IMHO another way of solving the same problem instead of changing the flow/position , we can keep a different css style (hidden) for headers and footers for different medias with print being one of them ?
div.header {display:hidden;}
@media print
{
div.header {display:block;
position:running(header)
}
@page {
@top-center {content:element(header);}
}
}