On 10/6/10 3:51 PM, Felix Miata wrote:
The following @imported via userContent.css file content never hides the left
and top divs I want hidden:
@-moz-document domain(statefarm.com) {
@media print {
#subMenuDiv,
#topMenuDiv,
#bannerDiv {display: none !important;}
}
}
The CSS 2.1 grammar doesn't allow nesting @-rules. So this is
presumably giving you a parse error. You did look in your error
console, right?
How do I get the hiding to only work when printing?
Your best bet is probably:
@import url("rules-for-printing.css") print;
in userContent.css and then using @-moz-document rules in
rules-for-printing.css.
-Boris
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout