分类: 网站技术

47 篇文章

给图片增加阴影效果
这个效果是用边框的方式处理的,效果还不错!推荐给大家! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "<a href="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" target="_blank">http://www.w3.or…
怎麽防止图片把表格撑大?
下面的就是方法! onload="if(this.offsetWidth>300)this.width=300;" style="word-break:break-all" <table width=400 style='table-layout:fixed'> <tr><td><img src="&…
纯CSS简洁TAB
<title>简洁Tab</title> <style type="text/css"> <!-- body,div,ul,li{ margin:0 auto; padding:0; } body{ font:12px "宋体"; text-align:center; } a:link{ color:#00…
橫排列表(li)的左右对齐
之前解決的一個小問題,讓橫排的列表可以左右對齊。相關代碼如下: ==================HTML========================== <div class="overdiv"> <ul> <li>1</li> <li>2</li> <li>…
完美的水平垂直居中
兼容ie6,ie7,ff,opera,safari的水平垂直居中! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" targe…
CSS实现图片倒影
IE特有滤镜:<div style=" width: 154px; height: 202px; " id="layer1"> <img src="<a href="http://gdsgj.edu.topzj.com/data/edu/26/59/01/customavatars/11/89/11894.png" targ…
ASP 编程中 20 个非常有用的例子
1.如何用Asp判断你的网站的虚拟物理路径 答:使用Mappath方法 < p align="center" >< font size="4" face="Arial" >< b > The Physical path to this virtual website is: < /b >< /font > < font color="#FF0000…