On 12/09/2013 03:02 PM, Matthias Wegner wrote:
> Hi Devs,
>
> i want to print pages and can't use 100% Scale because they are to wide. I
> found with Firefox Inspector that the reason is
>
> #contentcolumn .main {
> margin: 0px !important;
> }
>
> Do you know how i can only disable this for print?
>
> I tried
>
> #contentcolumn .main {
> margin: auto;
> }
>
> but this not seems to work. When i disable this css-line in firefox
> inspector it seems ok.
The !important marker at the end of the rule takes precedence over other
non-important rules. If you want to override it, you must also use
!important, as in:
#contentcolumn .main {
margin: auto !important;
}
--
Sergiu Dumitriu
http://purl.org/net/sergiu
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs