易截截图软件、单文件、免安装、纯绿色、仅160KB

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


相关问答:

如何用css实现如图表的表格效果

表格没间距,显示的就如同图表一般
??table不就得了??

http://blog.csdn.net/xianfajushi/archive/2009/07/22/4371397.aspx


http://rczjp.cn/HTML/090226/20095626105606.html
图表?是不是上面这种,需 ......

谁给以下CSS写上注译就给分

body{
    font-family:"宋体";
    font-size:9pt;
SCROLLBAR-FACE-COLOR: #1E7DD8;
SCROLLBAR-HIGHLIGHT-COLOR: #1E7DD8;
SCROLLBAR-3DLIGHT-COLOR: #FFFFFF; ......

实现这样一个功能,用的是css div

我想做的是这样一个效果,你左边做的是导航菜单,假如有若干个超级链接,点击某个后这个链接的内容要到右边显示。当然这个功能可以使用Html中的 frame框架实现,但是现在有很多的浏览器不支持这种frame,能不能用css ......

一个css平铺问题

CSS code:

body{
width:100%;
font-size:12px;
font-family:tahoma,arial,'宋体';
color:#666666;
float:none;
background: url(/images/bg.gif) left top repeat-y;
text-align:center;
margin:0 auto; ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号