Wordpress模板基本文件

阅读全文(2032字)

Mac OS的一些:

华文细黑:STHeiti Light [STXihei]
阅读全文(628字)

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
阅读全文(459字)

CSS hack方法速查

8月 29th, 2007

解决浏览器兼容性!用处大大的啊!
屏蔽IE浏览器(也就是IE下不显示)
*:lang(zh) select {font:12px !important;} /*FF的专用*/select:empty {font:12px !important;} /*safari可见*/这里select是选择符,根据情况更换。第二句是MAC上safari浏览器独有的。
阅读全文(903字)

无JS一:1。去除对DOCTYPE声明的依赖,有无或不同声明皆有相同效果
2。代码简洁,直接在Iframe的onload标签中添加代码,无需对被调用页面添加代码
注:Iframe页面和被嵌入页面必须是相同域下面的页面,否则由于浏览器安全限制会出现javascript错误,提示没有权限!<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="Content-Language" content="zh-cn"><title>FLYSO Blog–完美Iframe高度自适应代码</title><style type="text/css"><!–body {    background:url(http://voice.qq.com/love/images/page_bg.gif);    font-family: "Verdana";    font-size: 12px;    margin: 0;}.fontred {color: #F00}–></style></head>
阅读全文(3824字)

<OBJECT id=dlgHelper CLASSID="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b" width="0px" height="0px"></OBJECT>
<script>var tempColor = "0099cc";function returnColor(){ var Hcolor = dlgHelper.ChooseColorDlg(tempColor).toString(16); with(event.srcElement){ value = ((Hcolor.length<6)?"000000".substring(0,6-Hcolor.length):"") + Hcolor; style.backgroundColor = ((Hcolor.length<6)?"000000".substring(0,6-Hcolor.length):"") + Hcolor; } tempColor = Hcolor}</script><input type="text" value="#0099CC" size="12" onclick="returnColor()" style="background-color: #0099CC">

网页标签命名列表

8月 16th, 2007

专栏:column元素:element页头:header登录条:loginbar标志:logo侧栏:sidebar广告:banner导航:nav子导航:subnav菜单:menu子菜单:submenu搜索:search滚动:scroll页面主体:main内容:content标签页:tab文章列表:list提示信息:msg小技巧:tips栏目标题:title加入:joinus指南:guide服务:service热点:hot新闻:news下载:download注册:register状态:status按钮:btn投票:vote合作伙伴:partner友情链接:friendlink页脚:footer版权:copyright

ie6下png图片透明一法

6月 15th, 2007

演示地址:http://www.twolook.com/demo/png/demo.html
源码:点击下载此文件

PS“隆胸”教程“`

6月 8th, 2007

想了半天也不确定这个放哪里好,不过好歹也是教程,还是放好好学习里吧““

在设计《网页设计师》页面的时候,有一个问题一直困扰着我,主菜单在IE和其他(Mozilla、Opera等)浏览器里显示的效果偏差2px。截图如下:
IE中的效果

阅读全文(752字)