首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

HTML中的几种定位模式

2013-08-04 
HTML中的几种定位方式ValueDescriptionstaticElements renders in order, as they appear in the document

HTML中的几种定位方式
ValueDescriptionstaticElements renders in order, as they appear in the document flow. This is default.absoluteThe element is positioned?relative to its first positioned (not static) ancestor elementfixedThe element is positioned relative to the browser windowrelativeThe element is positioned relative to its normal position, so "left:20" adds 20 pixels to the element's LEFT positioninheritThe value of the position property is inherited from the parent element

?

http://www.barelyfitz.com/screencast/html-training/css/positioning/

http://davidwalsh.name/css-fixed-position

http://www.w3schools.com/cssref/pr_class_position.asp

http://www.hunuo.com/zhuanti/sheji/275.html

热点排行