css 框架 grid的困惑 Using Nesting Grids
不懂他网格如何原理
\Using Nesting Grids
YUI Grids CSS provides a system for subdividing sections of your page with nestable grids. Use this technique to easily create complex layouts that go beyond the two column layouts offered by the template presets. The picture below shows, for example, how a two-column grid is "nested" within the main block:
The Basic Idea
The basic idea is that "grids" are holders of "units". The standard grid holder is a div with a class of "yui-g" (g is for grid). The contained units are divs with a "yui-u" class (u is for unit). Except in special cases we'll examine later, a grid holds two units and instructs each unit to take up half the available space. Here's what a basic nested two-unit grid looks like:
HTML code:
1 ...
2 <div id="yui-main">
3 <div class="yui-b">
4 <div class="yui-g">
5 <div class="yui-u first"></div>
6 <div class="yui-u"></div>
7 </div>
8 </div>
9 </div>
10 ...
view plain | print | ?
... <div id="yui-main"> <div class="yui-b"> <div class="yui
相关问答:
我用DIV+CSS做了一个可以移动的层。。。。怎么样将这个层的数据保存到数据库中。。。。在打开页面的时候在从数据库中加载出来显示!!!!!!!哪位哥们有例子的可不可以发给我
div 对应的位置用from给到ACTION 存 ......
body{
font-family:"宋体";
font-size:9pt;
SCROLLBAR-FACE-COLOR: #1E7DD8;
SCROLLBAR-HIGHLIGHT-COLOR: #1E7DD8;
SCROLLBAR-3DLIGHT-COLOR: #FFFFFF;
......
我公司目前承接一个项目,widget方面,时间紧张。需要一位具备这方面技术和能力的朋友来打造团队,共同完成项目。全职、兼职均可。待遇从优。
同时还需要若干这方面的人才,共同完成此项任务,兼职、全职均可 ......
现在正在做ASP.NET 动态生成静态页
现在问题是这样
我的模板页我放在了一个文件夹中 比如Template/Template.html
然后我通过程序自动生成HTML页面
生成的HTML 是放在不同的文件夹下 比如mainFol ......