有米啦

前端 分享 交流
xhtml

栏目:UX , css+xhtml , web前端share      333 views

Brosho Plugin – Example http://bit.ly/cB4Bcc
一个js搞的类似firebug的调试工具,可以捕捉dom元素和选择器,可以update css样式。
不过使用的时候要嵌入两个js
我试了一下ie下有bug,chrome 和 firefox 以及safari都没问题。
阅读全文——共158字

标签: , , , , ,
阅读全文      评论关闭

栏目:css+xhtml , web前端share      368 views

今天在工作遇到,页面在火狐下没有任何问题,但是在ie下报304错误,提示网页不能访问
开始的时候以为我的php程序有问题,后来排除
然后我我分段排除我js是否有问题,发现js屏蔽某段时真的不报304错误了
但是报错别的js bug,由于我的js和css是模块化动态加载的。我甚至开始怀疑我的js框架base文件写的有问题
阅读全文——共441字

标签: , , , , , , ,
阅读全文      评论关闭

栏目:小憩随笔      397 views

JavaScript写法
  Javascript我们通常会写为
  错误 <script type=”text/javascript”>// <![CDATA[
  W3C标准必须为程式指定类型type=text/javascript,所以要写为
阅读全文——共1048字

标签: , , , , , ,
阅读全文      评论关闭

栏目:css+xhtml , web前端share      256 views

中文:http://blog.youmila.com/?p=468
英文:http://www.sitepoint.com/blogs/2009/08/18/microsoft-support-ie6-2014/
尽管有很多文章活动呼吁ie6死亡(或者说挂掉)但是微软确认会支持ie6一直到2014年4月8日 微软在IEBlog 中陈述了“升级时用户的责任,微软将会一直支持这个已经8岁的浏览器ie6” 下面是原文:
The engineering point of view on IE6 starts as an operating systems supplier. Dropping support for IE6 is not an option because we committed to supporting the IE included with Windows for the lifespan of the product. We keep our commitments. Many people expect what they originally got with their operating system to keep working whatever release cadence particular subsystems have. As engineers, we want people to upgrade to the latest version. We make it as easy as possible for them to upgrade. Ultimately, the choice to upgrade belongs to the person responsible for the PC.
阅读全文——共1083字

标签: , , , , , ,
阅读全文      评论关闭

栏目:小憩随笔      198 views

为了方便读者阅读,本文中的标签使用了大写(根据 XHTML 的规则,元素名必须小写,比如 <html> 而不应是 <HTML>)

小写的单词表明一组或一系列 HTML 标签
每一项条目(标签)后都跟随一组标签列表,如果没有这个列表,那么表明该条目(标签)内部不允许包含任何标签。这意味着该条目内部只能包含纯文本 内容(#PCDATA,见下文)。如果注明 (empty),这意味着该条目内部不允许包含任何形式的内容。对于 flow,inline,block,OBJECT 和 BODY,其内部允许包含的内容在文中会单独给出。
阅读全文——共751字

标签: , ,
阅读全文      评论关闭

栏目:小憩随笔      142 views

在使用 CSS 实现表现的时候,会经常接触到 display:inline-block 这一属性,无论是初接触 Web 标准还是接触标准已久的朋友,大都会对这一属性感觉很迷惑和模糊。
display:inline-block
将对象呈递为内联对象,但是对象的内容作为块对象呈递。旁边的内联对象会被呈递在同一行内,允许空格。
但对于这个属性不是所有浏览器都识别。
阅读全文——共1270字

标签: , , , , , ,
阅读全文      评论关闭