It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center
                            
                        
                    
                
                                9年前关闭。
            
                    
我正在尝试使用JavaScript使我的网页在所有浏览器中具有相同的布局(高度,宽度等)。我怎样才能做到这一点?

通过我尝试使用百分比值的方式

最佳答案

请阅读2000年撰写的Web Design Dao。
道理是,网页设计在所有浏览器中都不应,也不必看起来相同。这不是印刷设计。我发现大多数设计人员都不了解这一点,而是旋转轮子试图控制一种本来不受控制的介质。设计站点以使其适合于不完美的构造,而不要尝试使不完美的介质完美。

http://www.alistapart.com/articles/dao/

关于javascript - 如何使我的网页在所有浏览器中都具有相同的布局? ,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/2615206/

10-11 08:05