当我做网页布局时,我使用html <table>
。但是,我在互联网上阅读过,html表格只能用于数据,在做布局时应该使用<div>
或<span>
。我在网上搜索并找到约显示:表。我读了它并以我自己的理解(我不知道我是否理解它),它与html <table>
相同。我发现使用html <table>
更容易,因为它的方式更简单。我不必担心定位<div>
,因为大部分时间都到了我不想要的地方。css display:table vs html <table>,哪个更适合使用?
我的问题是:在布局中使用html <table>
有什么优缺点?
谢谢你......这真的帮了我很多关于CSS的理解。 – 2011-05-04 02:15:02