◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。
怎样辨别代码是CSS还是HTML
禁用html就要禁用的是字符' < 和' > 两个标签因此只要代码中有这两个字是html关键字!
举例说明html代码:如下!
<! --隐藏大学生互动空间/你好/LOGO/导航栏/广告布告推荐
/底部链接/侧边拦/底部导航栏- ->
< style type=text/css ><! --#tagline,#utility,#logo,.block,#permalink,
#sidebar,#footer{display:none;}--></style><!--绕字花边--> 美化失效
< DIV style="LEFT:0px; POSITION: absolute; TOP: -318px" align=left >定 位失效
< img src=" http://fm181.img.xiaonei.com/tribe/200
71003/13/19/A876280332262EWE.jpg" align=left >导至图片失效
</ DIV >
< a target="_blank"
href=" http://xncss.com/xz/main/ArticleShow.asp?ArtID=835 "
>导至连接失效
现在CSS美化代码又是咋样的!
请注意看代码,找不到一个'<'与'>'字符!如果你看到别人的代码中有这字符,说明他代码是没有用的代码!
#utility,#userStatus,#userVisitor,#userFriend,#userShare,#userFriendUniv,
#footer,#permalink,#reportlink,#header,#userFriendSpecial,#sidebar{display:none}
html{SCROLLBAR-FACE-COLOR:white; SCROLLBAR-HIGHLIGHT-COLOR: # xiaonei #00cc00; SCROLLBAR-SHADOW-COLOR: #00cc00; SCROLLBAR-3DLIGHT-COLOR: #00cc00; SCROLLBAR-ARROW-COLOR:white; SCROLLBAR-TRACK-COLOR:white; SCROLLBAR-DARKSHADOW-COLOR: #00cc00;}
body {
background-image: url('http://fm171.img.xiaonei.com/tribe/20070904/10/16/A217549621231RHI.jpg'); background-repeat: repeat-y; background-position: center top ;cursor: url('http://img.xiaonei.com/photos/20061127/1950/orig92829.ani')
}
a:link {
FONT-SIZE: 9pt;
COLOR: #0099CC;
TEXT-DECORATION: none;
}
a:visited {
font-family: Arial,Helvetica,sans-serif;
FONT-SIZE: 9pt;
COLOR: #0099CC;
TEXT-DECORATION: none;
}
a:hover {
font-family: Arial,Helvetica,sans-serif;
COLOR: #42A5CE;
TEXT-DECORATION: underline;
border-bottom-style: dashed;background-image: none;text-decoration: none;border-bottom-width: 1px;background: transparent;
}; body{text-decoration:none;COLOR:#FF6347;FONT-SIZE:12px;}
#userStatus li{ border-bottom: 0px }
#userProfile h4{color:#ff0000;}.pipe { padding:0 3px; color:#00CC99; font-family:Tahoma, Helvetica, sans-serif;}
.di script ion {font-size: 12px; color:#9900FF;}
.status { color:#020FF;}
.date, .time, .count {color:#00CC99; font-family:Tahoma, Helvetica, sans-serif;font-size: 12px; }.box h3{background:url() repeat;color:#0099FF;height:18px;padding:3px 12px 3px 12px;border-top:1px none #3b5998;}* html .subbutton{ color: #000080; border: 1px ridge #000080; padding: 0; background-color: transparent;}
收藏到网摘: