哪个最好在asp.net表或div方法中设计aspx页面? [英] which is best to design aspx page in asp.net table or div method?

查看:81
本文介绍了哪个最好在asp.net表或div方法中设计aspx页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对html和css有所了解。现在我想在asp.net中设计aspx页面。所以,



最好在asp.net表或div方法中设计aspx页面?有人说div好而且灵活。但是div方法不支持IE6(及以上版本),Opera,Safari,Netscape可能会以不同方式解释CSS,而table方法可以支持所有但是加载速度太慢。



所以,请告诉我哪一个我可以用来设计aspx页面。

i have the knowledge about html and css. now i want to design aspx page in asp.net. so,

which is best to design aspx page in asp.net table or div method? somebody said div is good and flexibility. but div method is not supporting for IE6 (and above), Opera, Safari, Netscape may interpret CSS differently whereas table method can support all but this is too slow to load.

so, pls suggest me which one i can use to design aspx page.

推荐答案

Divs 是首选结束表格



参考 -

1. DIV TABLE [ ^ ]

2. DIV vs TABLE标签:使用哪一个? [ ^ ]。
Divs are preferred over Tables.

Refer -
1. DIV TABLE[^]
2. DIV vs TABLE tag: Which one to use?[^].






首先要做的事情。您可以 - 而且应该 - 忽略IE 6 ...



根据定义,TABLE用于显示表格数据,DIV用于将页面划分为区域。 />
所以这应该回答你的问题。

根据我的经验,使用TABLE设计页面区域具有启动时间优势 - 设置和运行起来非常快。但!它基于DIV的设计灵活性要低得多。

我认为只使用DIV,它适用于所有最近和体面的浏览器...
Hi,

First things first. You can - and should - ignore IE 6...

By definition TABLE is used to display tabular data and DIV is used to divide your page to areas.
So that should answer your question.
In my experience designing page areas using TABLE has the start-up time advantage - that it pretty fast to set it up and go. But! it much less flexible that DIV based design.
To my opinion use only DIV, it will work for all recent and decent browser...


div总是更好然后表格

1.对于脚本编写div更灵活更少编码

2.table需要更多时间加载。

3.最近的网页设计师喜欢div(你有没有想过为什么只做rnd)。



对于css问题你必须为同一类中的所有浏览器编写两个css标签

我不认为这是一个问题

快点好起来:))
div always better then table
1.For scripting div is more flexible less coding
2.table take more time to load.
3.Recent web designer's prefer div(do you ever think why just make rnd).

for css problem you have to write both css tags for all browser in same class
I don't think its a problem
Get well Soon :)


这篇关于哪个最好在asp.net表或div方法中设计aspx页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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