|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
Table布局灵活性不大,你只能遵循tabletrtd的格式。而div你可以divulli也可以olli还可以ulli……但标准语法最好有序的写。
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"/><title>网页殊效代码|http://homepage.yesky.com/|---用CSS完成的一个字符显现效果</title><style>body{font-size:12px;line-height:22px;}#infospan{position:absolute;width:523px;height:275px;top:115px;left:10px;background-image:url(http://www.jscode.cn/Uploadfile/200682485616973.GIF);visibility:hidden;}a:link,a:visited{cursor:default;}a:active,a:hover{cursor:auto;}#hi{visibility:hidden;height:1px;overflow:hidden;}#w01a:hoverspan,#w02a:activespan{background-position:0px0px;visibility:visible;}#w02a:hoverspan,#w03a:activespan{background-position:0px-275px;visibility:visible;}#w03a:hoverspan,#w04a:activespan{background-position:0px-550px;visibility:visible;}#w04a:hoverspan,#w05a:activespan{background-position:0px-825px;visibility:visible;}#w05a:hoverspan,#w06a:activespan{background-position:0px-1100px;visibility:visible;}#w06a:hoverspan,#w07a:activespan{background-position:0px-1375px;visibility:visible;}#w07a:hoverspan,#w08a:activespan{background-position:0px-1650px;visibility:visible;}#w08a:hoverspan,#w09a:activespan{background-position:0px-1925px;visibility:visible;}#w09a:hoverspan,#w10a:activespan{background-position:0px-2200px;visibility:visible;}#w10a:hoverspan,#w11a:activespan{background-position:0px-2475px;visibility:visible;}#w11a:hoverspan,#w12a:activespan{background-position:0px-2750px;visibility:visible;}#w12a:hoverspan,#w13a:activespan{background-position:0px-3025px;visibility:visible;}#infoa{width:44px;height:100px;display:block;background:#cc0000;float:left;}</style></head><body><divid="info"><divid="w01"><ahref="http://homepage.yesky.com/"target="_blank"><span></span></a></div><divid="w02"><ahref="http://homepage.yesky.com/"target="_blank"><span></span></a></div><divid="w03"><ahref="http://homepage.yesky.com/"target="_blank"><span></span></a></div><divid="w04"><ahref="http://homepage.yesky.com/"target="_blank"><span></span></a></div><divid="w05"><ahref="http://homepage.yesky.com/"target="_blank"><span></span></a></div><divid="w06"><ahref="http://homepage.yesky.com/"target="_blank"><span></span></a></div><divid="w07"><ahref="http://homepage.yesky.com/"target="_blank"><span></span></a></div><divid="w08"><ahref="http://homepage.yesky.com/"target="_blank"><span></span></a></div><divid="w09"><ahref="http://homepage.yesky.com/"target="_blank"><span></span></a></div><divid="w10"><ahref="http://homepage.yesky.com/"target="_blank"><span></span></a></div><divid="w11"><ahref="http://homepage.yesky.com/"target="_blank"><span></span></a></div><divid="w12"><ahref="http://homepage.yesky.com/"target="_blank"><span></span></a></div></div><p>鼠标移到白色上边动一动</p><divid="hi"><imgsrc="http://www.jscode.cn/Uploadfile/200682485616973.GIF"alt=""/></div></body></html>
</p>
所有的设计第一步就是构思,构思好了。 |
|