摘要
CSS+DIV是当今最流行的网页布局技术之一,而网页的浮动与定位更是这一技术中的重中之重.利用浮动属性的向左、向右浮动和清除属性,使用定位属性中的绝对定位,针对不同的参照物等进行定位就会产生各种预想不到的网页布局效果.只有真正掌握这些属性的原理与方法,才能在实际应用中更加得心应手,实现各种设计与布局效果.
CSS+DIV is one of the most popular web-page layout technology,and the floating and positioning of web-page is the priority among the priorities of this technology.By the use of the floating attribute floating left and right,cancelling attribute and the absolute positioning attribute,the web-page layout effect will become various when positioning on different references.And only by complete mastering the principles and methods of these attributes,could we achieve the various designs and layout effects in our application.
出处
《广东教育学院学报》
2010年第3期80-87,共8页
Journal of Guangdong Education Institute
关键词
CSS盒子
块级元素
DIV标记
标准流
浮动
定位
参照物
CSS box
block-level elements
DIV tag
standard Flow
floating
positioning
frame of reference