预览模式: 普通 | 列表

[隐藏日志]

这是隐藏日志,只有管理员或文章的作者可以查看。
分类:日志 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 552

隐藏横向拉条


html{overflow-x:hidden}
分类:CSS | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 110

li 图标使用.

.jsleft li{
background:url(/img/icon.gif) no-repeat 0px 5px;
padding-left: 20px; list-style: none; list-style-position: outside;
}
分类:CSS | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 132

英文单词自动换行

word-break:keep-all;
分类:CSS | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 102

横向滚动条隐藏的方法

默认情况下加以下代码就实现:

body { overflow-x : hidden ; }

查看更多...

分类:CSS | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 124

如何隐藏滚动条?

<body style="overflow:hidden">
隐藏纵向:
<body style="overflow-y:hidden">
隐藏横向:
<body style="overflow-x:hidden">

查看更多...

分类:CSS | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 149

CSS垂直菜单





HTML代码


[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

查看更多...

分类:CSS | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 215

右边好玩的菜单

分类:CSS | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 195

横向下拉菜单

可运行代码:<!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" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

查看更多...

分类:CSS | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 208

google广告的js调用

具体的google广告的js文件做法如下:
用dreamwaver写一个js文件,将google广告的代码粘贴进去:查找替换所有的 " 字符,将其全部换成 \"  ,然后查找所有的 /  字符将其换成  \/   。替换工作结束,然后要做的就是,在每一行的开始地方加上:document.writeln("    在结尾的地方加上  ");   这样google广告的js文件就做好了。


我的js代码如下(ad.js):
document.writeln("<script type=\"text\/javascript\"><!--");
document.writeln("google_ad_client = \"pub-5781434532031006\";");
document.writeln("google_ad_width = 468;");
document.writeln("google_ad_height = 15;");
document.writeln("google_ad_format = \"468x15_0ads_al_s\";");
document.writeln("google_ad_channel = \"\";");
document.writeln("google_color_border = \"FFFFFF\";");
document.writeln("google_color_bg = \"FFFFFF\";");
document.writeln("google_color_link = \"3FA600\";");
document.writeln("google_color_text = \"000000\";");
document.writeln("google_color_url = \"008000\";");
document.writeln("\/\/--><\/script>");
document.writeln("<script type=\"text\/javascript\"");
document.writeln("   src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">");
document.writeln("<\/script>");


分类:代码 | 固定链接 | 评论: 0 | 引用: 1 | 查看次数: 222