桌子或分区? [英] Tables or Divs?

查看:90
本文介绍了桌子或分区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个包含12个小缩略图的网格。我知道如何使用表创建网格,但我不知道如何使用divs?在这种情况下使用表更有意义,还是使用div更有意义? div是当前标准,还是在这种情况下仍然使用的表?

提前感谢...

I am creating a grid with 12 small thumbnails.   I know how to create the grid with a table, but I am not sure how to do it with divs?  Does it make more sense to use tables in this case, or does it make more sense to use divs?    Are divs the current standard, or are tables still used in cases like this?

Thanks in advance...

推荐答案

div是要走的路。查找像float这样的CSS属性。

查看这个浮动教程:
http:// css.maxdesign.com.au/floatutorial/

特别是这一个:
http://css.maxdesign.com.au/floatutorial/tutorial0407.htm
divs are the way to go.   Look up CSS properties like float.

Check out this float tutorial:
http://css.maxdesign.com.au/floatutorial/

Specifically this one:
http://css.maxdesign.com.au/floatutorial/tutorial0407.htm


这篇关于桌子或分区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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