本文介绍了表格或CSS或两者都没有?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我发现这篇文章非常棒,我只想与大家分享。 希望你能像我一样发现它的信息。 http:/ /www.mcu.uk/articles/tables.html
I found this really great article I just wanted to share with everyone. Hope you find it as informative as I did. www.mcu.uk/articles/tables.html
推荐答案这是一个更好的。
底线使用表来显示数据使用CSS进行格式化/布局。虽然,使用CSS显示数据也是一个非常可行的选择。 Bottom line use tables for displaying data use CSS for formatting/layout. Although, using CSS for displaying data is a very viable option too.
对我来说,层的概念更加灵活和强大,对于浏览器来说更轻松。以图形方式显示文档的功能不可思议地更加先进。 CSS2就够了,但是javascript + CSS2就是......等待CSS3 ...... CSS kernell属性: display( block / inline / none甚至是table,但没有通用,我们会用表回来工作) 溢出(隐藏/滚动/可见) 位置绝对:第一个方式,块不遵循其容器的流动,并独立于其兄弟。对我来说这种方式没有js是不完整的。 位置相对:第二种方式,它垂直流动。 浮动/清除:它也水平流动并允许提醒效果表格但更好。 位置静态:默认,它不会移动。 位置固定:我听说它最终会与ie7一起工作,不会滚动。 使用png和不透明度/过滤器:alpha(opacity = XX),可行性增加。还有svg(对我而言还不是很快)。还有什么能让人想要吗? 请原谅我的英文;) For me the concept of layers is much more flexible and powerfull and for the browser is even lighter. The capabilities for structure graphically a document are unbelivebly much more advanced. CSS2 can be enough but javascript + CSS2 is... and wait also for CSS3... CSS kernell attributes : display (block/inline/none and even table, but no universal and we would be working back with tables) overflow (hidden/scroll/visible) position absolute : the first way, the block doesnt follow the flow of its container and is independent of its brothers. For me this way without js isnt full. position relative : the second way, it flows vertically. Float / clear : it flows also horizontally and allows an effect that remind tables but better. position static : default, it doesnt move. position fixed : I heard it will finally work with ie7, doesnt scroll. With png and opacity / filter: alpha(opacity=XX) the posibilities grow. There is also svg (not really yet for me but soon). What else can anybody want ? Excuse my english ;)
更多推荐
表格或CSS或两者都没有?
发布评论