THOBZ Posted July 20, 2012 Share Posted July 20, 2012 Hi guysi would like to know if it is possible to change the orientation of a button to landscape. its and html button with some javascript code to enable it to print. If changing the orientation is possible could you please tell me how to do thatThanks Link to comment Share on other sites More sharing options...
niche Posted July 20, 2012 Share Posted July 20, 2012 rotation http://www.w3schools.com/cssref/css3_pr_rotation.asp Link to comment Share on other sites More sharing options...
ShadowMage Posted July 20, 2012 Share Posted July 20, 2012 I'm not sure what you mean by changing its orientation to landscape (IMO all buttons are "landscape"), but you can modify its height and width properties to make it look how you want. Link to comment Share on other sites More sharing options...
THOBZ Posted July 20, 2012 Author Share Posted July 20, 2012 Ok thanks guys what i meant to say it to change the page orientation so that when you print the page is printed in landscape and not potrait, sorry for the typo error Link to comment Share on other sites More sharing options...
niche Posted July 20, 2012 Share Posted July 20, 2012 (edited) The only way I can think of would be to put everything in a big div with a javascript button that would re-create the the page landscape, portrait, or back. I've thought of this problem and decided that it would be too much work to flip a dynamically created page with lots of details. However, on a simpler, mostly static page, maybe not. Someone else might have a more optimistic approach. I'll be following. Edited July 20, 2012 by niche 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