![](/img/trans.png)
[英]What is the browser auto-zoom based on and how can I offset using CSS or Javascript?
[英]zoom browser IE using javascript without CSS
先生,
您能幫我用javascript縮放IE瀏覽器而不使用CSS嗎? 因為使用CSS會導致我的菜單放錯位置
謝謝您提前的幫助
感謝和問候
拉格什MK
嘗試參考下面的示例。
<html> <head> <script> function zoom() { document.body.style.zoom = "300%" } </script> </head> <body onload="zoom()"> <p>Video provides a powerful way to help you prove your point. When you click Online Video, you can paste in the embed code for the video you want to add. You can also type a keyword to search online for the video that best fits your document.</p> </body> </html>
如果彈出“ 允許阻止的內容”,則在Internet Explorer中允許它。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.