台州网络公司/椒江网络公司 返回首页 加入收藏 联系我们
新闻观点 News
公司观点
公司动态
行业动态
常见问题

 新闻观点

如何进行网站布局
 

Frames Vs Tables
框架Vs表格

Some people like to use frames on their sites. I would recommend you avoid them if you can ... and you probably can.

有些人喜欢利用表格设计网站,但我建议你最好不要使用表格。我想你可以避免使用表格。

Frames can be useful on occasion but "the pain is greater than the gain". Too many people complain of problems with frames than you can afford to ignore. So if you insist on using them, you'll need to create an alternative no-frames set of pages for these users. Honestly ...

有时候,框架确实可以发挥作用,但它的缺点多于优点。你一定不能忽视框架的缺点,因为太多人已经在抱怨框架所带来的问题。如果坚持使用框架,你需要为网站用户创造另外一套无框架网页。但诚实地说,

... it's just not worth the trouble!

这种做法太麻烦!

As If that wasn't enough reason, many search engine spiders also encounter difficulties with frames.

并且很多搜索引擎在搜索框架时,会越到一些问题。

This means you'll either have to spend additional time learning how to overcome these shortcomings or be doomed to low search rankings. Convinced?

这就意味着,你需要花费时间学习如何克服框架的缺点,否则网站注定会在搜索引擎中有一个低排名。

I hope so - for your sake!

我希望你的网站不会出现这种情况。

In most of the situations in which you might feel you need to use frames you can usually use tables equally effectively. If not on their own, then in conjunction with SSI - Server Side Includes - which also allow you to write separate pages for inclusion in another 'main' page.

大多数情况下,表格可以代替框架。利用表格的同时,你还可以使用SSI(Server Side Includes),它可以帮助你编辑主要页面所包含的其它页面。

The left column navigation bar, for example, is one area that it may seem appealing to place in it's own frame. The content remains the same on every page and should you need to change it, you can effect a global change just by altering a single file.

比如说,使用框架布局左列导航条,可能看起来很有吸引力。所有网页布局一致,并且修改一个单独文件之后,就可以改变所有网页。

What many people don't realize that you can achieve almost the same result by using an SSI callout in a table cell within the page. This will reference another file on the server which will be written into this location when called. To browsers and search engine spiders alike the page appears as a normal web page and doesn't give rise to any of the problems associated with the use of frames.

很多人没有意识到,在表格单元中利用SSI编号,也可以达到这个效果。这就会涉及到服务器中的另外一个文件,这个文件在需要时会设置到这个位置。浏览器与搜索引擎,更喜欢看似普通、不会出现框架问题的页面。

公司概况  |  客服中心  |  常见问题  |  招兵买马  |  合作伙伴  |  网站备案  |   联系我们
地 址: 台州市椒江君悦大厦A幢1905室电 话:0576-88832582浙ICP备09034846号E-mail:chinawwz@163.com
Copyright © 2006 台州市易博软件服务有限公司 All right reserved  
×
易博客服
点击这里给我发消息