首页 | 本学科首页   官方微博 | 高级检索  
     

网页制作中层的技术及其应用
引用本文:刘新强. 网页制作中层的技术及其应用[J]. 现代电子技术, 2007, 30(8): 129-131
作者姓名:刘新强
作者单位:西安铁路职业技术学院,陕西,西安,710014
摘    要:网页制作的布局一直是很多人非常关心的一个问题,早期的设计者大多使用表格定位的方法对页面元素进行定位,尽管如此,表格定位也只能解决平面布局中的定位问题。随着对人们对平面布局精确度要求的提高和三维空间定位的需求增加,越来越复杂的表格及浏览器解释时间的增加成了许多设计者难以忍受的问题。为了解除这些困扰,W3C在新的CSS中包含了一个绝对定位的特性,他允许设计者将页面上的的某个元素定位到任何地方,除了平面上定位,还增加了三维空间的定位Z-INDEX。因为Z-INDEX定义了堆叠的顺序,类似于图形设计中使用的图层,所以拥有了Z-INDEX属性的块元素被形象地称为层。主要论述层的基本知识,介绍了层的用法,并在最后给出用层来解决一个考试系统的浮动层的实现方法。

关 键 词:网页布局    浮动
文章编号:1004-373X(2007)08-129-03
收稿时间:2006-08-28
修稿时间:2006-08-28

Layer Technology and Application in Homepage Manufacture
LIU Xinqiang. Layer Technology and Application in Homepage Manufacture[J]. Modern Electronic Technique, 2007, 30(8): 129-131
Authors:LIU Xinqiang
Abstract:The homepage layout was a question which many people cared about extremely,the early designer mostly used the form localization method to carry on the localization to the page element,for all this,the form localization also only could solve the planar configuration localization problem.Along with people to planar configuration precision request enhancement and three dimensional fix demand increase,many designer encountered some unendurable question about more and more complex form and browser explanation time increase.In order to relieve these puzzles,W3C has contained an absolute fix characteristic in new CSS,it permited the designer locate some element to any place on the page,not only in parallel localization,but also increased three-dimensional space localization Z-INDEX.Because Z-INDEX has defined the order which piles up one on top of another,was similar chart level which used in the graph design,Therefore had the Z-INDEX attribute block element to be called vividly the layer.The article main elaboration level elementary knowledge,introduced the level usage,and finally is given a fluctuation layer realization method to solve an online test system.
Keywords:Z-INDEX
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号