龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > web编程 > div+css/html >

十步教会你css怎样布局 (英文)-(0)

时间:2012-12-29 08:41来源:未知 作者:admin 点击:
分享到:

不给大家翻译了!懂英文的应该能看懂!

This tutorial examines the different layout properties available in CSS: position:static, position:relative, position:absolute, and float.

1. position:static

The default positioning for all elements is position:static, which means the element is not positioned and occurs where it normally would in the document.

Normally you wouldn't specify this unless you needed to override a positioning that had been previously set.

#div-1 {
 position:static;
}




精彩图集

赞助商链接