表格或CSS或两者都没有?

编程入门 行业动态 更新时间:2024-10-25 08:26:12
本文介绍了表格或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或两者都没有?

本文发布于:2023-10-21 17:22:44,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1514863.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:表格   CSS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!