• 表单让CSS来制作并体验亲和力

    对于表单,很常用。但是在web standard建站的时候,他的排版往往让人遗忘,到了真正用到的时候就发现让人头疼,当然我也遇到过。我现在要介绍一个用fieldset/label标签制作漂亮而且具体亲和力的表单的方法。 基本的xhtml: h3已注册用户登录/h3 form action="" method="...

    2008-02-23 08:33:34

  • 学习CSS实例之水平线变成虚线

    如何用CSS把水平线变成虚线? 答案一: hr size="1" noshade="noshade" style="border:1px #cccccc dotted"/ 答案二: div id="aaa" style="border-top:1px dashed #cccccc;height: 1px;overflow:hidden;"a href="http://www.webjx.com/"网页教学网/a/div...

    2008-02-23 08:33:30

  • web标准优秀源码下载

    由 greengnn 整理 为了更好的推广web标准,这里给出一些优秀的源码下载,仅供学习者研究,抵制抄袭 { Internet Services } 描述: 颜色/桔黄色、灰色。xhtml符合web标准,兼容浏览器。 Another template from the "Internet" series made with no tables and no hacks....

    2008-02-23 08:33:33

  • CSS实现避免页面布局被大尺寸图片和长字符串破坏

    用TABLE和DIV做页面布局设计的时候,遇到大尺寸的图片和长英文字符串,布局中定义的尺寸都会被破坏,导致页面布局变形. 有没有办法可以解决呢? 用CSS的属性OVERFLOW:hidden可以来控制,这样超出部分会自动隐藏,这样做不好的地方是就是这部分的信息显示不完全,比如图片只显...

    2008-02-23 08:33:28

  • CSS制作的符合WEB标准的下拉导航菜单

    html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN"headmeta http-equiv="Content-Type" content="text/html; charset=gb2312" /titlecss菜单演示/titlestyle type="text/css"!--*{margin:0;padding:0;border:0;}body { font-family: arial, 宋体, serif; font-s...

    2008-02-23 08:33:32

  • 添加到收藏夹的Javascript脚本-适合IE和Firefox

    script type="text/javascript"function addBookmark(title,url) {if (window.sidebar) { window.sidebar.addPanel(title, url,""); } else if( document.all ) {window.external.AddFavorite( url, title);} else if( window.opera window.print ) {return true;}}/sc...

    2008-02-23 08:33:28

  • DIV CSS布局实例:各种2栏3栏布局实例(附下载)

    Two Column Flexible Browsers: ' ' ' ' (5 ) Description: Probably the easiest page to make. Contains two layout divs, the main content div is just floated to the left. Very simple! Actions: View | Image Preview | Download [ 5k] [ZIP] Two Column Flexi...

    2008-02-23 08:33:26

  • 经典 用CSS实现form表单布局

    style type="text/css"label{float: left;width: 80px;}form{margin:0px}input{width: 180px;border:1px solid #808080}textarea{width: 250px;height: 150px;}#sbutton{margin-left: 80px;margin-top: 5px;width:80px;}br{clear: left;}/styleform action="" method="...

    2008-02-23 08:33:24

  • CSS代码实现避免table表格被撑开变形

    如何避免表格因为图片尺寸或者过长的英文字符而变形撑开,在CSS加入以下代码就可以防止,同时英文单词也会按单词断行,不是按字母这个。我想说的是这个在CSS2.0是不支持的,但是能解决一些实际问题。页面设计不是为了标准检验而设计,还是以用户使用为主,在目前有些WE...

    2008-02-23 08:33:23

  • CSS用DIV做不规则形状的环绕文字

    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"HTMLheadtitle不规则图片环绕文字/titlestylehtml, body { margin: 0px; padding: 40px 0 0 100px; background:#000;color:#fff;font-size:...

    2008-02-23 08:33:22

2