css实现强制不换行/自动换行/强制换行

强制不换行 div{ white-space:nowrap; } 自动换行 div{ word-wrap: break-word; word-break: normal; } 强制英文单词断行 div{ word-break:break-all; }

More

Clean and pure CSS FORM design

From:Clean and pure CSS FORM design HTML Code: <div id="stylized" class="myform"><form id="form" name="form" method="post" action="index.html"><h1>Sign-up form</h1><p>This is the basic look of my form without table</p> <label>Name<span...

More

免费的CSS模板

常用的免费的CSS模板样式: Menu und content dynamic Menu fixed, content dynamic Menu und content dynamic 3 columns all dynamic 4 columns all dynamic Menu floating Menu fix, Inhalt u. Head dynamic 3 columns fix centered dynamic mit Head und Footer fixed BOX centered dynamic BOX centered fixed Box total...

More

CSS清理和压缩工具

原文:23 Resources for Clean and Compressed CSS There are a number of free online tools that can help you to create and maintain effective [tag]CSS[/tag] coding. These tools include validators, optimizers, compressors and more. Try out a few of these tools and see how they can help you to keep more efficient style sheets. CSS TIDY CSS Tidy is an open source CSS parser...

More

用css实现表格隔行颜色不一样的效果

这里用到了javascript,简单的实现表格隔行颜色的不同,方法还有很多,不过用javascript能够很好的跨浏览器兼容,具体代码如下: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <META NAME="Generator"...

More

理解position:relative 与 position:absolute

注:本文转载自http://vanivan.com/atom.asp?cateID=1 position...

More