pstein Posted May 14, 2019 Share Posted May 14, 2019 (edited) I have troubles when printing a web page in Firefox (into pdf file). The web page does not detect resp. insert page breaks. I found out that everything works fine when I disable (=uncheck) the checkboxes before the CSS key values display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; flex-direction: column; I have no access to the original web page code or server. So I have to change them after loading by a javascript script How can I disable them resp. whats the default (=non flex value)? display: none !important; flex-direction: none !important; does not help How else can I achieve it? What about disabling flex compoletely including the CSS values -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; Edited May 14, 2019 by pstein Link to comment Share on other sites More sharing options...
Ingolme Posted May 15, 2019 Share Posted May 15, 2019 The default is most likely "block" but I can't see your HTML so I can't be sure. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now