<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>可关闭的提示框</title>
<style>
#tips
{
position:relative
margin:0 auto
border:1px solid
#FA9150
padding:5px 10px 5px
10px
width:96%
background-color:#FEF1E9
line-height:160%
font-size:12px
}
#close
{
position:absolute
top:7px
right:8px
}
</style>
<script>
function
Close() {
document.getElementById("tips").style.display =
"none"
}
window.onload = function()
{
document.getElementById("tips").onclick =
Close
}
</script>
</head>
<body>
<p
id="tips">
是因为安装了SublimeCodeIntel插件解决办法:
首选项 -->
Package Settings -->
SublimeCodeIntel -->
点击:Setting - Defalut
找到:“codeintel_enabled_languages”选项, 把里面的 "HTML" 删除即可 重启编辑器