<head>
<meta name="keywords" c />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="Bookmark" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<link rel="stylesheet" type="text/css" href="css/all.css" />
<script src="files/jquery.js" type="text/javascript"></script>
<script src="files/Public.js" type="text/javascript"></script>
<script src="files/mall.js" type="text/javascript"></script>
<script type="text/javascript">
</head>
--------------------------------------------------------------------------------
我使用 find 小工具进行正则匹配找到上面2个css文件名- @echo off
- f index.html -r:"***:\w+\.css" -o:"k"
复制代码 我本来的想法是用 for 什么的把上面输出的结果,(但不知道怎么样操作上一条命令输出的结果。)
index.css
all.css
重新组合做成
<link rel="stylesheet" type="text/css" href="cmspath/index.css" />
<link rel="stylesheet" type="text/css" href="cmspath/all.css" />
然后添加到</head>的前面,即
---------------------------------------------------------------------------------
<head>
<meta name="keywords" c />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="Bookmark" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<link rel="stylesheet" type="text/css" href="css/all.css" />
<script src="files/jquery.js" type="text/javascript"></script>
<script src="files/Public.js" type="text/javascript"></script>
<script src="files/mall.js" type="text/javascript"></script>
<script type="text/javascript">
<link rel="stylesheet" type="text/css" href="cmspath/index.css" />
<link rel="stylesheet" type="text/css" href="cmspath/all.css" />
</head>
---------------------------------------------------------------------------
[ 本帖最后由 linjuming 于 2009-8-18 16:47 编辑 ] |