- 浏览: 195290 次
- 性别:
- 来自: 北京
最新评论
-
hncdcsm1:
非常给力,找了很久了,谢谢分享
99款高质量免费(X)HTML/CSS模板(转自blog.bingo929.com不错) -
yuying:
谢谢诶!
非常不错的CSS表单显示效果
文章列表
前缀:
-moz(例如 -moz-border-radius)用于Firefox-webkit(例如:-webkit-border-radius)用于Safari和Chrome。
CSS3圆角(所有的)
使用CSS3,我们可以用几行代码来创建圆角。
这是一个5px普通边框和15px边框半径的设置:
#roundCorderC{ font-family: Arial; border: 5px solid #dedede; -moz-border-radius: 15px; -webkit-border-radius: 15px; padding: 15px 25px; height: in ...
- 2009-02-27 11:37
- 浏览 1465
- 评论(0)
在线生成favicon.ico: http://www.chami.com/html-kit/services/favicon/
http://www.bitbug.net/
发现还有更意思的东西地址: http://www.chami.com/html-kit/services/ 有6个在线工具FavIcon from Pics //这个就是在线生成favicon.ico图标了,提交任何一个图片,它会给你生成一个ICO文件,并打包下载Favicon Validator //favicon验证Buddy Icon from Pics //把图片转换成ICO格式,还可制作PNG格式的背景图 ...
- 2009-02-12 14:09
- 浏览 1380
- 评论(0)
注意了!经常会用到margin:0 auto,当将距离上下的margin值设为其它如margin:10px auto,若干个定义了此属性的DIV上下排列时,却常常不见了那些定义了的"10px",原因在于在DIV里又存在别的DIV或P或其它定义了“float:left ”,这样就会引起在IE7及FF中DIV的错位显示。
还有其它有关margin使用的注意事项,陆续添加中......
- 2009-01-09 14:51
- 浏览 808
- 评论(0)
if(window.screen.width==1280){
document.write("<link href='css/default1280.css' rel='stylesheet' type='text/css'>");
}
if(window.screen.width==800){
document.write("<link href='css/default800.css' rel='stylesheet' type='text/css'>");
}
普通1024分辨率下按默认调用普通的default. ...
- 2009-01-09 14:38
- 浏览 1279
- 评论(0)
关于选项卡的代码太多太多,但是很多都过于复杂,最近在老公的帮助下整出了一个较为精简的,发布上来与大家分享。
window.onload=function(){
var dl1=document.getElementById("fra_head_ft_1");
var dl2=document.getElementById("fra_head_ft_2");
dl1.onclick=function(){
var dc1=document.getElementById("fra_ft_1");
var dc2=docum ...
- 2009-01-09 11:41
- 浏览 1591
- 评论(0)
为了做好对联广告,从网上下过一些相关代码,都不是那么太好用,在老公的帮助下精简了JS代码,特整理出来以备将来拿来就用。(我觉得这个的好处就是可以自动适应宽屏和普屏分辨率,用不着为广告的定位费半天劲了。)
function hide(){
document.getElementById('adLeft').style.visibility='hidden';
document.getElementById('adRight').style.visibility='hidden';
}
lastScrollY=0;
function heartBeat(){
var diffY ...
- 2009-01-09 11:31
- 浏览 1222
- 评论(0)
在制作滚动消息时总是遇到这样那样的问题,今天整理归纳一下,以备将来直接使用。
<DIV class="box">
<marquee scrollamount='1' scrolldelay='10' direction='up' width='180' height='173' onmouseover="this.stop()" onmouseout="this.start()" loop="-1">
<UL class=lastedList>
...
- 2009-01-09 11:13
- 浏览 823
- 评论(0)
如何在一个已经插入SWF或IMG的DIV上再层叠一个DIV?由于对CSS定位一直学艺不精,因而被这个问题困扰了很久,今天终于悟出了解决方法,小小的为自己HIGHT一个。
比如
<DIV id=topright>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','254','he ...
- 2009-01-07 13:20
- 浏览 1789
- 评论(0)
前言
在用CSS控制排版过程中,定位一直被人认为是一个难点,这主要是表现为很多网友在没有深入理解清楚定位的原理时,排出来的杂乱网页常让他们不知所措,而另一边一些高手则常常借助定位的强大功能做出些很酷的效 ...
- 2009-01-06 17:23
- 浏览 1582
- 评论(0)
http://sixrevisions.com/css/20_websites_learn_master_css/
CSS can be both a tricky and easy to learn. The syntax itself is easy, but some concepts can be difficult to understand.
This article features 20 excellent websites to help you "grok" CSS. There’s a wide range of websites included ...
- 2008-12-17 12:16
- 浏览 864
- 评论(0)
网页设计标准尺寸:1、800*600下,网页宽度保持在778以内,就不会出现水平滚动条,高度则视版面和内容决定。2、1024*768下,网页宽度保持在1002以内,如果满框显示的话,高度是612-615之间.就不会出现水平滚动条和垂直滚动条。3、 ...
- 2008-12-16 11:29
- 浏览 1050
- 评论(0)
摘自http://www.adobe-dreamweaver.cn/News/216.html
经常在网上冲浪的朋友是否曾注重到有些网站的鼠标不是规则的斜向上箭头的外形,而是"十"字形,或者是向左的箭头,或者是个问号等等。当你想在网页的不同位置让鼠标显示不 ...
- 2008-12-16 10:51
- 浏览 994
- 评论(0)
很奇怪,在模板文件中
<!-- 用于显示搜索结果列表的页面模板 -->
<#include "/shares/globalVar.ftl" >
<#import "/${suit.packageName}/utils/navigator.ftl" as navigator >
<#import "/${suit.packageName}/utils/pageindex.ftl" as pageMacro >
<#import "/${suit.packageName}/u ...
- 2008-12-15 15:43
- 浏览 815
- 评论(0)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>非常不错的Css表单显示效果</title>
<style type="text/css">
body{
font-family: verdana,font-size: 12px;color: #FFFFFF;background-color:#ffffff}
.en1 {
font-si ...
- 2008-11-03 16:10
- 浏览 1989
- 评论(1)
经常遇到这种情况,如以下这段代码
<!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>
<meta http-equiv="Content-Type" content="text ...
- 2008-10-26 11:12
- 浏览 875
- 评论(0)