Take Up With Web Technology–坏坏的网志

  • IE8 CSS HACK

    香水坏坏 发表于2010-3-8 [CSS/UI]

    前缀:"_" IE6可以识别 IE7、IE8、FireFox不能.

    前缀:"*" IE6、IE7可以识别 IE8、FireFox不能.

    后缀:\9  例:"margin:0px auto\9;" 所有IE可识别,FF不识别

    更多CSS HACK技巧

    Hits: 33  Feedback: 0  标签:CSSHACK CSS兼容 IE8  Trackback  Permalink: http://www.aspstat.com/226
  • 如何正确的在XHTML插入FLASH

    香水坏坏 发表于2009-5-18 [CSS/UI]

    原文:

    http://latrine.dgx.cz/how-to-correctly-insert-a-flash-into-xhtml

     

    XML/HTML代码
    1. <!--[if !IE]> -->  
    2. <object type="application/x-shockwave-flash"  
    3.   data="movie.swf" width="300" height="135">  
    4. <!-- <![endif]-->  
    5.   
    6. <!--[if IE]>  
    7. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  
    8.   codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"  
    9.   width="300" height="135">  
    10.   <param name="movie" value="movie.swf" />  
    11. <!--><!--dgx-->  
    12.   <param name="loop" value="true" />  
    13.   <param name="menu" value="false" />  
    14.   
    15.   <p>This is <b>alternative</b> content.</p>  
    16. </object>  
    17. <!-- <![endif]-->  
    Hits: 816  Feedback: 0  Trackback  Permalink: http://www.aspstat.com/218
  • CSS权重

    香水坏坏 发表于2008-12-30 [CSS/UI]

    Some folks getting on board with CSS tend to get stuck on CSS specificity. The descriptions of which rules override other rules tend to make more sense to programmers than designers, since programmers are used to the concepts of inheritance and overriding properties.

    (More...)
    Hits: 662  Feedback: 1  Trackback  Permalink: http://www.aspstat.com/198
  • Unobtrusive的Web开发

    香水坏坏 发表于2008-8-7 [CSS/UI]

    原文地址:Unobtrusive Ajax

    对Web前端进行分层

    • Web前端的分层:
      • 核心思想:结构(HTML)、表现(CSS)和行为 (JavaScript)
      • 物理上:.html、.css和.js文件
      • 概念上:各层之间,相互独立,互不影响
    • 借用MVC的思想:
      • Model - HTML
      • View - CSS
      • Controller - JavaScript
    (More...)
    Hits: 1054  Feedback: 1  Trackback  Permalink: http://www.aspstat.com/157
  • CSS 图片垂直居中显示

    香水坏坏 发表于2008-6-25 [CSS/UI]

    .box {
     /*非IE的主流浏览器识别的垂直居中的方法*/
     display: table-cell;
     vertical-align:middle;

     /*设置水平居中*/
     text-align:center;

     /* 针对IE的Hack */
     *display: block;
     *font-size: 175px; /*约为高度的0.873,200*0.873 约为175*/
     *font-family:Arial; /*防止非utf-8引起的hack失效问题,如gbk编码*/

     width:200px;
     height:200px;
     border: 1px solid #eee;
    }
    .box img {
     /*设置图片垂直居中*/
     vertical-align:middle;
    }

    <div class="box">
    <img src="image.jpg" />
    </div>

    Hits: 1284  Feedback: 0  Trackback  Permalink: http://www.aspstat.com/143
  • CSS不可缺少的技巧

    香水坏坏 发表于2008-4-3 [CSS/UI]
    QUOTE:
    CSS is important. And it is being used more and more often. Cascading Style Sheets offer many advantages you don’t have in table-layouts - and first of all a strict separation between layout, or design of the page, and the information, presented on the page. Thus the design of pages can be easily changed, just replacing a css-file with another one. Isn’t it great? Well, actualy, it is.


    CSS是重要的,它正在越来越广泛的被运用。层叠样式表拥有很多表格布局所没有的优势,首先从布局或者页面的设计与出现在页面中的信息中作严格的分离,从而让页面的设计能够很容易被改变,仅用一个CSS文件更换另一个。难道它不够强大吗?恩,是的,其实它很强大。

    (More...)
    Hits: 1069  Feedback: 0  Trackback  Permalink: http://www.aspstat.com/135
  • CSS打造网页Tabs

    香水坏坏 发表于2008-4-3 [CSS/UI]

    简约的绿色风格
    http://unraveled.com/projects/css_tabs/css_tabs.html

    简约的灰色风格http://www.simplebits.com/bits/css_tabs.html

    带有方圆等形状指示
    http://www.simplebits.com/bits/minitab_shapes.html

    带有二级子菜单
    http://www.kalsey.com/tools/csstabs/

    Hits: 1326  Feedback: 0  Trackback  Permalink: http://www.aspstat.com/134
  • CSS兼容IE6,IE7,FF的技巧

    香水坏坏 发表于2007-8-15 [CSS/UI]

    一、CSS HACK
    以下两种方法几乎能解决现今所有HACK.

    1, !important

    随着IE7对!important的支持, !important 方法现在只针对IE6的HACK.(注意写法.记得该声明位置需要提前.)
    <style>
    #wrapper
    {
    width: 100px!important; /* IE7+FF */
    width: 80px; /* IE6 */
    }
    </style>


    (More...)

    Hits: 3420  Feedback: 1  标签:CSS兼容 FF Firefox IE6 IE7  Trackback  Permalink: http://www.aspstat.com/56
  • CSS实现透明

    香水坏坏 发表于2007-8-8 [CSS]

    CSS透明度的实现:

    IE6+下:通过滤镜 filter:alpha(opacity=40);

    FF1.5+,Opera9+下 opacity:0.4;

    取值:{0.0,1.0}|inherit

    1表示不透明

     Moz + FF 下:-moz-opacity:0.5;

    (More...)
    Hits: 3473  Feedback: 3  Trackback  Permalink: http://www.aspstat.com/46
FIRST1LAST

[Track]

  • family...work...production
  • heatmap...idea...recept
  • b2b...javascript...accumulate
  • ...sns...manage
  • Aspose...Analyse...elevation
  • CSCTC...hello world

项目[Project]

  • Silverlight体验
  • AspStat.IO.GifImage Gif动画压缩类
  • jBox 网页模态窗体
  • pageValidator 网页表单验证

分类[Category]

  • ASP.NET[71]rss
  • Database[2]rss
  • Javascript[45]rss
  • CSS/UI[9]rss
  • WEB20[9]rss
  • Others[21]rss
  • 火星Project[8]rss
  • silverlight[17]rss
  • specification[14]rss
  • Server Tech[2]rss
  • 项目其他[5]rss
  • 用户体验[0]rss

存档[Storage]

  • 2010年3月[2]
  • 2009年11月[1]
  • 2009年8月[1]
  • 2009年6月[3]
  • 2009年5月[4]
  • 2009年4月[2]
  • 2009年3月[1]
  • 2009年2月[7]
  • 2009年1月[7]
  • 2008年12月[1]
  • 2008年11月[4]
  • 2008年10月[3]
  • 2008年9月[5]
  • 2008年8月[30]
  • 2008年7月[8]
  • 2008年6月[6]
  • 2008年5月[3]
  • 2008年4月[2]
  • 2008年3月[6]
  • 2008年2月[6]
  • 2008年1月[4]
  • 2007年12月[1]
  • 2007年11月[5]
  • 2007年10月[13]
  • 2007年9月[16]
  • 2007年8月[38]
  • 2007年7月[23]
  • 2007年5月[1]

热门日志

  • CSS实现透明
  • CSS兼容IE6,IE7,FF的技巧
  • CSS打造网页Tabs
  • CSS 图片垂直居中显示
  • CSS不可缺少的技巧
  • Unobtrusive的Web开发
  • 如何正确的在XHTML插入FLASH
  • CSS权重

最近网志

  • IE8 CSS HACK
  • 如何正确的在XHTML插入FLASH
  • CSS权重
  • Unobtrusive的Web开发
  • CSS 图片垂直居中显示
  • CSS不可缺少的技巧
  • CSS打造网页Tabs
  • CSS兼容IE6,IE7,FF的技巧

最新评论

  • 怎么看? 给个地址吧。。。或发布个源码吧。。。
  • ssssssssssssssss
  • Pingback from http://www.aspstat.com/226 IE8 CSS HACK
  • Trackback from 香水坏坏
  • 弹出div是原版的copy,对于原来div中有事件,from等取得有问题
  • Trackback from 香水坏坏
  • I find a bug with iframe minimize on 1.0.0.0 I change line 82 with this and all runs good, great plugin ty. if( !box.minimizable ){if (box.controls.find('img[title=Minimize]').length>0)box.controls.find('img[title=Minimize]').remove()};
  • 哪个人这么缺德,把他阉了...弹他的小JJ

链接[Links]

  • iCream
  • ⊙阳光囧男℡
  • 李军
  • Nick
  • .NET Framework Advanced Developm
  • ctrip ued team
  • [林子]Linzzi's blog
  • SkyDesign
  • Martin H.Normark
  • Martin Flowler
  • asp.net
  • jQuery插件大全
  • 学习MVC的好地方
  • CSS Document
  • edwards@js
  • crockford@js

在线[Last 10 Online Users]

  • 38.107.191.104
  • 38.107.191.103
  • 38.107.191.102
  • 203.208.60.233
  • 67.195.111.188
  • 61.135.249.205

订阅[Subscribe]

Subscribe

©2007 aspstat.com is licensed under a Creative Commons License.Powered By HH.Weblog 0.9