Click here to Skip to main content
15,883,840 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
hello
how to rotate a div in webbrowser control?
i have used this code in html page but to no avail:
CSS
filter:  progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083);  /* IE6,IE7 */
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)"; /* IE8 */

this css code works fine in ie11 and firefox and chrome
CSS
-moz-transform: rotate(-40.0deg);  /* FF3.5+ */
-ms-transform: rotate(-40.0deg);  /* IE9+ */
-o-transform: rotate(-40.0deg);  /* Opera 10.5 */
-webkit-transform: rotate(-40.0deg);  /* Safari 3.1+, Chrome */
transform: rotate(-40.0deg);  /* Standard */


i'm looking for a solution to the webbrowser control can anyone help me in that?

thanx
Posted
Comments
ZurdoDev 28-Jul-14 22:18pm    
I don't use the WebBrowser control so I don't know enough about it but if your code works in IE11 but not in webbrowser control that tells me that the webbrowser control is rendering as a different version of IE. See http://stackoverflow.com/questions/7369886/controlling-ie-rendering-engine-for-system-windows-forms-webbrowser for possible suggestions.
Rabee Rabee 29-Jul-14 6:47am    
thank you
do you have other control? give me it please
ZurdoDev 29-Jul-14 7:04am    
I don't have any.
Rabee Rabee 29-Jul-14 7:33am    
thanks
Rabee Rabee 29-Jul-14 9:15am    
i have discovered that the webbrowser control used ie7 from this site: http://www.whatbrowser.org/, i found the solution here: http://stackoverflow.com/questions/4612255/regarding-ie9-webbrowser-control
thanks to all

visit here to understand....

webbrowser-in-scatterview-rotates-independently[^]
 
Share this answer
 
Comments
Maciej Los 29-Jul-14 2:16am    
Interesting... A5!
[no name] 30-Jul-14 0:53am    
thank you....
i have discovered that the webbrowser control used ie7 from this site: http://www.whatbrowser.org/[^], i found the solution here to use ie9 or 10 or 11 in webbrowser control: http://stackoverflow.com/questions/4612255/regarding-ie9-webbrowser-control[^]
thanks to all
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900