@media print doesn’t override main style
In my page I have a left sidebar and a container, container has a margin-left because the sidebar is absolute positioned.
Now for printing I hide the sidebar and restore the margin-left of the container, but the margin is not restored.
These are the styles for my container and sidebar:
using Chrome 40.
Oddly enough, the issue can be resolved in Chrome by removing the transition within the
Without removing the transition, you can reproduce the issue here. Perhaps this is a rendering bug?