新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   XML论坛     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> Web Architecture,探讨下一代万维网的架构/体系结构。
    [返回] 中文XML论坛 - 专业的XML技术讨论区W3CHINA.ORG讨论区 - Web新技术讨论『 Web架构 』 → 新做的一个通过W3C的页面 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 9004 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: 新做的一个通过W3C的页面 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     ecctao 帅哥哟,离线,有人找我吗?双鱼座1983-3-7
      
      
      等级:大二期末(数据结构考了98分!)
      文章:78
      积分:352
      门派:XML.ORG.CN
      注册:2008/1/9

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给ecctao发送一个短消息 把ecctao加入好友 查看ecctao的个人资料 搜索ecctao在『 Web架构 』 的所有贴子 点击这里发送电邮给ecctao 访问ecctao的主页 引用回复这个贴子 回复这个贴子 查看ecctao的博客楼主
    发贴心情 新做的一个通过W3C的页面

    http://www.chipshow.net/test/index.html
    我用div+css做的一个新页面,已经通过W3C的认证,
    DIV+CSS还是很牛的,一下子就使页面的代码减少了80%以上!
    我以前的页面是   http://www.chipshow.net
    这个页面的大小是50K的样子,
    现在用DIV+CSS一改,代码的大小大概降到9.3K了,
    还有引用的代码也明显减少了!(所以说减少了80%的代码.)

    但是这个新页面还是存在一定的不美观的地方,比较难改,主要是我现在没有找到一个比较合手的布局工具,这个页面基本是用TXT写的,所以工程量有点大,CSS里面还有一定的杂音.
    以后可以慢慢改,毕竟架构已经搭建起来了!


    还有一点想请教高手的是,在搞W3C测试的时候还有2个警告,望高手能够指点下:


    Potential Issues
    The following missing or conflicting information caused the validator to perform guesswork prior to validation. If the guess or fallback is incorrect, it may make validation results entirely incoherent. It is highly recommended to check these potential issues, and, if necessary, fix them and re-validate the document.

    Byte-Order Mark found in UTF-8 File.

    The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to cause problems for some text editors and older browsers. You may want to consider avoiding its use until it is better supported.

    Conflict between Mime Type and Document Type

    The document is being served with the text/html Mime Type which is not a registered media type for the XHTML 1.1 Document Type. The recommended media type for this document is: application/xhtml+xml

    Using a wrong media type for a certain document type may confuse the validator and other user agents with respect to the nature of the document, and you may get some erroneous validation errors. How to fix this problem? One of the following techniques should help:

    If you are serving a static file on a Web server, changing its extension should help. Use e.g .xhtml for XHTML or .mathml for MathML.
    You may need to reconfigure your Web server. This Setting up MIME Types tutorial has instructions for Apache, Tomcat and IIS.
    If the document is generated dynamically, the scripting language should allow you to set up the mime type: this article on MIME Types and Content Negotiation has examples in PHP, Perl, and ASP.


       收藏   分享  
    顶(0)
      




    ----------------------------------------------
    www.chipshow.com

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2008/3/6 17:56:00
     
     ecctao 帅哥哟,离线,有人找我吗?双鱼座1983-3-7
      
      
      等级:大二期末(数据结构考了98分!)
      文章:78
      积分:352
      门派:XML.ORG.CN
      注册:2008/1/9

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给ecctao发送一个短消息 把ecctao加入好友 查看ecctao的个人资料 搜索ecctao在『 Web架构 』 的所有贴子 点击这里发送电邮给ecctao 访问ecctao的主页 引用回复这个贴子 回复这个贴子 查看ecctao的博客2
    发贴心情 
    晕死了!
    我的站http://www.chipshow.com的PR只有1,
    但是http://www.chipshow.com/test/index.html这个页面的PR居然有3!
    更奇怪的是,我的这个站没有任何的连接到这个页面!
    也就是说这个这个页面是个死的页面!
    到底我我的眼睛坏了,还是google的眼睛坏了啊??

    ----------------------------------------------
    www.chipshow.com

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2008/6/17 14:56:00
     
     ecctao 帅哥哟,离线,有人找我吗?双鱼座1983-3-7
      
      
      等级:大二期末(数据结构考了98分!)
      文章:78
      积分:352
      门派:XML.ORG.CN
      注册:2008/1/9

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给ecctao发送一个短消息 把ecctao加入好友 查看ecctao的个人资料 搜索ecctao在『 Web架构 』 的所有贴子 点击这里发送电邮给ecctao 访问ecctao的主页 引用回复这个贴子 回复这个贴子 查看ecctao的博客3
    发贴心情 
    难道是所谓的W3C有这么大的威力!

    ----------------------------------------------
    www.chipshow.com

    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2008/6/17 14:59:00
     
     GoogleAdSense双鱼座1983-3-7
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 Web架构 』 的所有贴子 点击这里发送电邮给Google AdSense 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/5/6 23:45:17

    本主题贴数3,分页: [1]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    7,937.500ms