易截截图软件、单文件、免安装、纯绿色、仅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代码规范吧~!

我都是用Class或者id,然后把样式写到单独的文件里面.
从来不在标签里写style="";全部写到单独的文件里.在Head里引入.

大家觉得这样有没有必要?你们如何做的呢?
连 <table border=1>中的b ......

DIV+CSS编写新浪首页需要多长时间?

不考虑XML和动态程序,也不考虑JS,不考虑使用PS,图片都给你提供着呢。
让你写纯静态页面的新浪首页,100%用DIV+CSS来写。
如果你写的话需要多长时间呢?
视个人能力而定,我的话需要一天。

一整下午吧
......

请问如下图下的CSS样式如何写

如图示,谢谢.

简单


HTML code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ht ......

CSS字符截取时如何使用百分比的宽度

POSITION: absolute;WIDTH:100%;overflow:hidden;white-space:nowrap;这种方法在页面有
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/ ......

关于动态生成静态页面中静态页面中css路径问题

现在正在做ASP.NET 动态生成静态页

现在问题是这样
我的模板页我放在了一个文件夹中 比如Template/Template.html

然后我通过程序自动生成HTML页面
生成的HTML 是放在不同的文件夹下 比如mainFol ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号