推荐阅读

手写字体,Photoshop图层样式制作彩色手写字设计教程
本教程主要使用photoshop制作彩色手写字教程,主要以素材和图层样式来完成,希望大家可以喜欢。 最终效果 1、用画笔工具在画板中书写字形,调整至自己满意为止。 2、利用直接选择工具,调整路径的锚点和路径。

Photoshop滤镜制作碎花照片边框效果
本教程介绍简单的边框效果的制作,主要是使用快速蒙版和滤镜效果制作边框的花纹,边框的颜色可以按照实际相片的颜色来定。制作的方法有很多,大家可以多尝试一下!最终效果 一、找一张素材图片,新建一个图层填充颜色:#FD7C00,然后用矩形选框工具绘制一个比画布稍小的选区按Ctrl + Shift + D羽化数值为10,确定后按Ctrl + Shift + I反相,按Q键进入快速蒙版编辑状态。 二、执行菜单:滤镜 > 像素化 > 彩色半调,参数设置如图3,确定后再执行菜单:滤镜 > 其它 > 自定,参数设置如图4,确定后执行菜单:滤镜 > 锐化 > 锐化,然后按Ctrl + F加强5次。

PS合成排球破洞中流出的阳光海滩图片效果
效果图构思非常简单,主体为一个比较大的沙滩球,不过有一个大缺口,缺口中透露出一个精彩的海洋世界;同时球的边缘有沙滩、椰树、人物、海鸟等。感兴趣的朋友一起来学习吧。最终效果1、新建画布。打开PS软件,按Ctrl + N 新建,尺寸为1280 * 900像素,分辨率为72像素/英寸,如下图。2、选择渐变工具,颜色设置如下图,然后由画布中心向边角拉出径向渐变作为背景。3、打开沙滩球素材,用魔棒或钢笔工具抠出来。

Photoshop滤镜打造一个蓝色光圈
新建一个文件(宽度和高度只要一样就可以了): 新建立一个图层,填充为黑色: “滤镜-渲染-镜头光晕”,注意:一定要将光晕中心放在中间的位置: 复制这个图层,将图层混合模式设置为叠加: 按CTRL+U,调节色相/饱和度: 蓝色魔圈效果就完成了:
最新发布

面向对象的XHTML与CSS编程
要是XHTML与CSS能面向对象。。太阳应该从北边升起了。但是,凡事都应该带着OO的思想来看问题,也勉强可以凑数拉。其实,早在零几年就有人提出了OO-style,不过已找不到。那要怎样OO呢?现在大家都知道CSS是可以介样写滴: 我们可以把它大约看一个原型,或者说成类,-__-b 好像本来就是类的样子,然后要在HTML里“实例化”一个对象,例如: 该元素会使用上CSS相应的定义,但仅仅对应的class还是不够的,因为我们页面可能会多处应用到这个class,为了处理好“私有”的关系,把刚才的代码改成:

使用CSS截取文字
一般情况下还是使用程序截取,这样输出内容少,减少宽带.但用CSS做些保护也不错. <!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/html; charset=gb2312" /><title>无标题文档</title><style type="text/css"><!--.content {width:100px;border:red 1px solid;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;/*以省略号替代截除部分*/}--></style></head><body><div class="content">此处显示 class "content" 的内容</div></body></html>

用css来实现自动截取文字(兼容IE,firefox,Opera)
用css来实现自动截取文字,不需要后台程序和JS的使用好处是:兼容IE,firefox,Opera;有利于内容完整性;有利于SEO;无需后台程序处理;可以在前台随时调节要截取的长度。不好的地方:不能自动判断截取长度,当字符很短的时候在Firefox中也会生成后面的省略符号。另外在设置截取宽度的时候,要注意,尽量让文字截取完整<!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/html; charset=utf-8" /> <title>css文字截取</title> <style type="text/css"> body{font-size:13px;color:#8c966b;} div{clear:both;width:340px;border:1px solid #333;margin:3px;padding:3px;} div a{color:#8c966b;text-decoration:none;} div a:hover{text-decoration:underline;} div a{display:block;width:310px;white-space:nowrap;overflow:hidden;float:left; -o-text-overflow: ellipsis; /* for Opera */ text-overflow:ellipsis; /* for IE */ } div:after{content:"...";padding-left:3px;font-size:12px;}/* for Firefox */ </style> </head> <body> <div><a href="">用css来实现自动截取文字,不需要后台程序和JS的使用</a></div> <div><a href="">好处是:有利于内容完整性,有利于SEO,无需后台程序处理,可以在前台随时调节要截取的长度。</a></div> <div><a href="">不好的地方:不能自动判断截取长度,当字符很短的时候在Firefox中也会生成后面的省略符号。</a></div> <div><a href="">另外在设置截取宽度的时候,要注意,尽量让文字截取完整</a></div> <div><a href="http://www.syku.net">Web标准化 www.syku.net</a></div> </body> </html> [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

三列等高CSS布局的一个实例
三列等高CSS布局的一个实例, 修改国外的一个demo, 兼容到了IE5.5+ 和标准的浏览器Opera Firefox Safari。 不过hack太多,不是很喜欢这样做。全部代码如下: <?xml version="1.0" encoding="gb2312"?> <!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" /> <meta http-equiv="Content-Language" content="zh-CN" /> <meta content="all" name="robots" /> <title>3 column lauput</title> <style type="text/css" media="screen"> <!-- /*<![CDATA[*/ /*----------------------------------------------------------- @from:http://www.alistapart.com/articles/holygrail @modify:greengnn 08-01-02 ------------------------------------------------------------*/ * { margin:0; padding:0; } body { min-width: 550px; font:normal normal normal 75%/1.25em Verdana, Arial, Helvetica, sans-serif; color:#333333; text-align:left; } /*layout*/ #container { padding-left: 200px; padding-right: 150px; background:#000; zoom:1; } #container:after { content:"."; display: block; height: 0; clear: both; visibility: hidden; } #container { display: inline-block; } /**/ #container { display: block; } /**/ #center, #left, #right { position: relative; float: left; } *+html #center { } #center { width: 100%; } #left { width: 200px; right: 200px; margin-left: -100%; } #right { width: 150px; margin-right: -150px; } #footer { clear: both; } /*Equal-height */ #container { overflow: hidden; } #footer { overflow:hidden; position: relative; } /*IE7 hack*/ *+html #center { position:static; } *+html #left { position:static; } *+html #right { position:static; } *+html #container { position:relative; overflow:hidden; } *+html #left { position:relative; } /*End IE7 hack*/ /*Start Hack for Opera8*/ /**/ #container #center, #container #left, #container #right { padding-bottom: 32767px !important; margin-bottom: -32767px !important; } @media all and (min-width: 0px) { #container #center, #container #left, #container #right { padding-bottom: 0 !important; margin-bottom: 0 !important; } #center:before, #left:before, #right:before { content: "[DO NOT LEAVE IT IS NOT REAL]"; display: block; background: inherit; padding-top: 32767px !important; margin-bottom: -32767px !important; height: 0; } } /**/ /*End Hack for Opera8*/ /*just to see*/ #header, #footer { font-size:40px; line-height:40px; text-align:center; font-weight:bold; color:#cccccc; background:#666666; } #center { background:#eeeeee; } #left { background:#FF9933; } #right { background:#0099CC; } /*]]>*/ --> </style> </head> <body> <div id="header">header(test in IE5.5+ opera9.0 Firefox 2.0)</div> <div id="container"> <div id="center"> <h2>Abstract</h2> <p>The web is constantly evolving. New and innovative websites are being created every day, pushing the boundaries of HTML in every direction. HTML 4 has been around for nearly a decade now, and publishers seeking new techniques to provide enhanced functionality are being held back by the constraints of the language and browsers.</p> <p>To give authors more flexibility and interoperability, and enable more interactive and exciting websites and applications, HTML 5 introduces and enhances a wide range of features including form controls, APIs, multimedia, structure, and semantics.</p> <p>Work on HTML 5, which commenced in 2004, is currently being carried out in a joint effort between the <a href="http://www.w3.org/html/"><abbr title="W3C HTML Working Group">W3C HTML WG</abbr></a> and the <a href="http://www.whatwg.org/"><abbr title="Web Hypertext Application Technology Working Group">WHATWG</abbr></a>. Many key players are participating in the W3C effort including representatives from the four major browser vendors: Apple, Mozilla, Opera, and Microsoft; and a range of other organisations and individuals with many diverse interests and expertise.</p> <p>Note that <a href="http://www.w3.org/html/wg/html5/">the specification</a> is still a <em>work in progress</em> and quite a long way from completion. As such, it is possible that any feature discussed in this article may change in the future. This article is intended to provide a brief introduction to some of the major features as they are in the current draft.</p> </div> <div id="left"> <h2>Abstract</h2> <p>The web is constantly evolving. New and innovative websites are being created every day, pushing the boundaries of HTML in every direction. HTML 4 has been around for nearly a decade now, and publishers seeking new techniques to provide enhanced functionality are being held back by the constraints of the language and browsers.</p> <p>To give authors more flexibility and interoperability, and enable more interactive and exciting websites and applications, HTML 5 introduces and enhances a wide range of features including form controls, APIs, multimedia, structure, and semantics.</p> <p>Work on HTML 5, which commenced in 2004, is currently being carried out in a joint effort between the <a href="http://www.w3.org/html/"><abbr title="W3C HTML Working Group">W3C HTML WG</abbr></a> and the <a href="http://www.whatwg.org/"><abbr title="Web Hypertext Application Technology Working Group">WHATWG</abbr></a>. Many key players are participating in the W3C effort including representatives from the four major browser vendors: Apple, Mozilla, Opera, and Microsoft; and a range of other organisations and individuals with many diverse interests and expertise.</p> <p>Note that <a href="http://www.w3.org/html/wg/html5/">the specification</a> is still a <em>work in progress</em> and quite a long way from completion. As such, it is possible that any feature discussed in this article may change in the future. This article is intended to provide a brief introduction to some of the major features as they are in the current draft.</p> </div> <div id="right"> <h2>Abstract</h2> <p>The web is constantly evolving. New and innovative websites are being created every day, pushing the boundaries of HTML in every direction. HTML 4 has been around for nearly a decade now, and publishers seeking new techniques to provide enhanced functionality are being held back by the constraints of the language and browsers.</p> <p>To give authors more flexibility and interoperability, and enable more interactive and exciting websites and applications, HTML 5 introduces and enhances a wide range of features including form controls, APIs, multimedia, structure, and semantics.</p> <p>Work on HTML 5, which commenced in 2004, is currently being carried out in a joint effort between the <a href="http://www.w3.org/html/"><abbr title="W3C HTML Working Group">W3C HTML WG</abbr></a> and the <a href="http://www.whatwg.org/"><abbr title="Web Hypertext Application Technology Working Group">WHATWG</abbr></a>. Many key players are participating in the W3C effort including representatives from the four major browser vendors: Apple, Mozilla, Opera, and Microsoft; and a range of other organisations and individuals with many diverse interests and expertise.</p> <p>Note that <a href="http://www.w3.org/html/wg/html5/">the specification</a> is still a <em>work in progress</em> and quite a long way from completion. As such, it is possible that any feature discussed in this article may change in the future. This article is intended to provide a brief introduction to some of the major features as they are in the current draft.</p> </div> </div> <div id="footer">footer</div> </body> </html> [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

IE8的一些CSS hack
xhtml代码: 主要是测试“文字”这个颜色在不同浏览器下使用hack的一些结果报告。 早上测试的东西少了几个,这里补上,还有更多的东西等怿飞的测试报告。下午有时间再看看其他一些属性,不过现在这些只是IE8测试版的问题,正式版应该会改进的。

使用CSS的dl、dd、dt制作标准表单
虽然追求div重构并不意味要抛弃table,但更多时候不妨用用css里的dl、dd、dt元素来制作表单。 内容部分: CSS部分: 演示:http://www.syku.net/demo/demo10/

FrontPage2003 教程 新功能(发布网站部分)
远程网站视图 Microsoft Office FrontPage 2003 中的远程网站视图可以帮助您将整个网站和单独的文件和文件夹发布到任何位置:扩展的 Web 服务器、支持文件传输协议 (FTP) 或基于 Web 的分布式创作和版本控制 (WebDAV) 的 Web 服务器、或文件系统中的某个位置。 远程网站视图同时显示本地网站和远程网站中的文件。图标和说明性文本会指示文件和文件夹的状态,同步功能有助于确保不会意外地覆盖任何文件或文件夹。 连接到远程网站 通过新的远程网站对话框可以指定连接设置,并有助于您管理连接类型和协议 ― 包括安全套接字层 (SSL) 或被动 FTP。 优化HTML 在本地网站上或将网页发布到远程网站时,可以在文件和文件夹中生成干净的 HTML 代码。这意味着通过删除多余的格式和标记,可以减少网页的大小。Web 设计人员可以使用空白使 HTML 的外观更具吸引力,但这些空白并不是网页正确工作所必需的。您可以删除空标记、空白、多余标记、不用的和空的样式定义以及指定的某些标记。