-- 作者:16843210
-- 发布时间:3/17/2006 1:03:00 AM
-- [原创]ASP+css 测试
演示地址http://leng.diy.myrice.com/css.xml 我看到这个BBS要此代码的。。送给朋友 xml文件 <?xml version="1.0" encoding="gb2312"?> <?xml-stylesheet type="text/css" href="css.css" ?> <xml> <f> <a>16843210</a> <b>XML+CSS</b> <c>测试 <br/>测试 <br/>测试 <br/>测试 <br/>测试 <br/>测试 </c> <d>1:46 2006-2-2</d> <e>http://VipQ.126.Com</e> </f> <f> <a>ID号</a> <b>标题</b> <c>内容测试1 <br/>内容分行1 <br/>内容分行2 <br/>内容分行3 <br/>内容分行4 <br/>内容分行5 </c> <d>时间:0:50 2005-3-17</d> <e>官方:http://VipQ.126.Com</e> </f> <f> <a>ID号</a> <b>标题</b> <c>内容测试1 <br/>内容分行1 <br/>内容分行2 <br/>内容分行3 <br/>内容分行4 <br/>内容分行5 </c> <d>时间:0:50 2005-3-17</d> <e>官方:http://VipQ.126.Com</e> </f> <f> <a>ID号</a> <b>标题</b> <c>内容测试1 <br/>内容分行1 <br/>内容分行2 <br/>内容分行3 <br/>内容分行4 <br/>内容分行5 </c> <d>时间:0:50 2005-3-17</d> <e>官方:http://VipQ.126.Com</e> </f> </xml> CCS.CCS文件 <!-- /*xml的css定义:对应css中“body”,可定义内容为网页字体颜色、背景、浏览器边框等 */ xml{background-image: url(http://ol8.photo.qq.com/?pid=B58A0E56C89EBE79ED6C65C3BC0D474C);background-attachment: fixedtext-decoration: none; font-size: 9pt;text-decoration: none;scrollbar-face-color: #ab6202;scrollbar-highlight-color: #d3b286; scrollbar-shadow-color: #d3b286; scrollbar-3dlight-color: #cccccc; scrollbar-arrow-color: #330000; scrollbar-track-color: #d3b286; scrollbar-darkshadow-color: #d3b286;CURSOR: url('http://www.cnfgu.com/fgimages/mouse.cur')} a{margin-bottom: 10pt;margin-left: 1;FONT-FAMILY:georgia;font-size : 20pt;BACKGROUND-COLOR:123400;color:ffffff;Text-align:center;} b{margin-bottom: 10pt;margin-left: 1;font-family : "宋体";font-size : 22pt;BACKGROUND-COLOR:432100;color:ffffff;Text-align:center;} c{word-break:break-all;margin-top: 10pt;margin-left: 1pt;font-family : "宋体";font-size : 9pt;display: block;BACKGROUND-COLOR:000000;border: 1px solid #660099;color:ffffff;} d{margin-bottom: 10pt;margin-left: 60%;FONT-FAMILY:georgia;font-size : 9pt;BACKGROUND-COLOR:168000;color:ffffff;} e{margin-bottom: 10pt;margin-left: 8;FONT-FAMILY:georgia;font-size : 9pt;BACKGROUND-COLOR:555000;color:ffffff;} f{margin-bottom: 10pt;margin-left: 1;BACKGROUND-COLOR:790904;display: block;} br{margin-bottom: 1pt;margin-left: 2pt;display: block;border: 1px dotted #FF0000;Text-align:center;} -->
|