使用JavaScript布置页面而不是CSS [英] Using javascript to layout a page as opposed to CSS

查看:41
本文介绍了使用JavaScript布置页面而不是CSS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用jquery布局插件(有多个)来布局页面是否有问题,而不是使用CSS和自己解决浏览器兼容性问题?

Is there any problem with using jquery layout plugin (there are several) to layout a page as opposed to using CSS and fixing browser compatibility issues myself?

推荐答案

当布局由于某种原因而无法运行(并且将会发生)时,您是否能够理解JQuery插件背后的代码以对其进行修复?

When your layout doesn't behave for whatever reason (and that will happen), will you be able to understand the code behind the JQuery plugin to fix it?

投资自己并正确学习CSS,这并不难,用不了多久,它将为您提供未来的装备,而不仅仅是依靠插件.现在我不是说永远不要使用插件,但是在我看来,这是不合适的使用方式

Invest in yourself and learn CSS properly, it's not hard, it doesn't take long and it will equip you for the future, don't just rely on plugins. Now I'm not saying never use a plug-in, but this to me seems inappropriate use

这篇关于使用JavaScript布置页面而不是CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆