2016-10-05 07:59:04
联系QQ:53653374 没事别找我,有事更不要找我。

精彩内容,请勿点击:液晶广告机 seo
浏览模式: 普通 | 列表
分类: Html | 1 | 2 | 3 | 4 | >

asp识别域名跳转代码

[ 2022-04-24 23:27:44 | 作者: 杨晓超 ]
Dim cURL
cURL=Request.ServerVariables("SERVER_NAME")
if cURL<>"www.yangxiaochao.com" then
Response.Redirect("http://www.yangxiaochao.com/")
Response.End
end If

去掉li前边的小黑点

[ 2010-11-24 01:52:34 | 作者: 杨晓超 ]
css里 ul 定义 加一句 list-style:none 即可
1。把下面的代码添加在网页的HEAD部分

<script language="Javascript" src="js/up.js"></script>

2。在<body>中加入onLoad="log_start()"

3。在网页的顶部加上
<div align="center" id="miman">
<table width="760" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="广告的连接地址" target="_blank"><img src="广告图片的文件路径" width="801" height="373" border="0"></a></td>
</tr>
</table>
</div>

4\在根目录下建立一个名为JS的文件夹,把下面的代码另存为UP.JS
...

阅读全文...

css页面局中

[ 2010-04-19 18:16:36 | 作者: 杨晓超 ]
高手请闪开...........莫笑本人

{margin:0 auto}

一般需要在 body 写text-align:center
在css中加入下面这句就可以了:
引用
img {max-width: 500px; width:expression(this.width > 500 ? "500px" : this.width)}
这样一来图片最大的宽带就控制在500PX了.

下边这个貌似效果更好点.
引用
img{
border:0;
margin:0;
padding:0;
max-width:600px;
width:expression(this.width>600?"600px":this.width);
max-height:600px;
height:expression(this.height>600?"600px":this.height);
}