在HTML / CSS中是否有任何XAML Grid元素等价物? [英] Is there any XAML Grid element equivalent in HTML/CSS?
问题描述
我有一个关于WPF,XAML等的深刻经验。但是,我需要在HTML / CSS / JS中创建一些东西。
I have a deep experience about WPF, XAML, etc. However, I'd need to create something in HTML/CSS/JS.
在WPF中,也在Silverlight中,有一个非常通用的元素是网格。
In WPF, but also in Silverlight, there is a very versatile element which is the "Grid". It's essentially a list hosting any kind of visual object, which will be arranged accordingly to the row/column collection definitions.
这里是一个(简单的IMHO)示例,用于非排他性的-xaml上瘾:
Here is a (simple IMHO) example for the non-xaml addicted:
http://wpftutorial.net/ GridLayout.html
我相信这是管理视觉布局最重要的控制。
I believe it's the most important control for managing the layout of the visual.
现在,我想知道是否有任何等价的组件的web世界,可能简单和干净:不是吨这样一个简单的问题的代码。换句话说,我不想依赖框架,如ASP.Net,ExtJS或其他。只是一个指南,有一个最小的HTML / CSS / JS部分。
Now, I'm wondering whether is there any equivalent "component" for the web world, possibly simple and clean: not tons of code for such a simple problem. In other words, I don't want to rely on frameworks such as ASP.Net, ExtJS or else. Just a guideline, with a minimal HTML/CSS/JS section.
这是很好的依赖于最新的浏览器。
It's fine relying on the most recent browsers.
非常感谢。
推荐答案
好吧,我自己发现了一个,虽然它还在开发中:似乎只有IE10实现它。
Well, I found one by myself, although it's still under development: at the moment seems that only IE10 implements it.
http://ie.microsoft.com/testdrive/Graphics/hands-on-css3/hands-on_grid.htm
我真的希望这个功能不会被简单地删除。
I really hope this feature won't be trashed in a short.
这篇关于在HTML / CSS中是否有任何XAML Grid元素等价物?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!