生成框架页面的noframes版本 [英] Generating noframes version of framed page

查看:60
本文介绍了生成框架页面的noframes版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我正在编写一个XSL样式表,使用表自动将带有

帧的页面转换为相当于此页面的noframes。


我可以在表格布局中得到每个帧的定位,

,剩下的唯一问题是每个单元格的尺寸。


所以我的问题是:

有没有办法自动计算每个表的大小

单元格,代表一个框架,以便生成的页面看起来比如

框架页面,每个框架内容的大小相同?


我的意思是,我如何解析<和属性值

frameset标签将它们自动转换为正确的宽度和

表格单元格的高度?


提前致谢


Anna

Hello all.
I am writing an XSL stylesheet that automatically converts a page with
frames to a noframes equivalent of this page, using tables.

I can get the positioning of each frame write in the table layout,
and the only problem left is the dimensions of each cell.

So my question is:
Is there any way of automatically calculating the sizing of each table
cell, representing a frame, so that the resulting page will look like
the framed page, with the same size for each frame content?

I mean, how can I parse the rows and cols attribute values of the
frameset tags to convert them automatically into the correct width and
height of the table cells?

Thanks in advance

Anna

推荐答案

在comp.infosystems中。 www.authoring.html ,annie写道:
in comp.infosystems.www.authoring.html, annie wrote:
大家好。
我正在编写一个XSL样式表,自动将带有
帧的页面转换为相当于此页面的noframes,使用表格。


你应该考虑它是否有效。

我可以在表格布局中得到每个帧的定位,
和唯一的问题left是每个单元格的尺寸。

所以我的问题是:
是否有任何方法可以自动计算每个表格的大小,代表一个框架,以便结果页面看起来像是框架页面,每个框架内容的大小相同?

我的意思是,我如何解析
框架集的行和列的属性值标签将它们自动转换为正确的宽度和表格单元格的高度?
Hello all.
I am writing an XSL stylesheet that automatically converts a page with
frames to a noframes equivalent of this page, using tables.
You should consider if it makes sence.
I can get the positioning of each frame write in the table layout,
and the only problem left is the dimensions of each cell.

So my question is:
Is there any way of automatically calculating the sizing of each table
cell, representing a frame, so that the resulting page will look like
the framed page, with the same size for each frame content?

I mean, how can I parse the rows and cols attribute values of the
frameset tags to convert them automatically into the correct width and
height of the table cells?




这是因为表格和框架都是非常糟糕的工具布局,

和他们的问题在相反的地方...


你真的应该用CSS代替。


-

Lauri Raittila< http://www.iki.fi/lr> < http://www.iki.fi/zwak/fonts>



No. that is because tables and frames are both very bad tools for layout,
and their problems are in opposite places...

You really should use CSS instead.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>

在comp.infosystems中的


www.authoring.html ,annie写道:
大家好。
我正在编写一个自动转换的XSL样式表使用表格将
框架映射到相当于此页面的noframes。
Hello all.
I am writing an XSL stylesheet that automatically converts a page with
frames to a noframes equivalent of this page, using tables.




忘了:大约有一半的浏览器不做框架做桌子




-

Lauri Raittila< http://www.iki.fi/lr> ; < http://www.iki.fi/zwak/fonts>



Forgot: about half of browsers that don''t do frames don''t do tables
either.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>


在消息< MP ************** **********@news.individual.net> ,Lauri

Raittila< la *** @ raittila.cjb.net>在comp.infosystems中写道
In message <MP************************@news.individual.net> , Lauri
Raittila <la***@raittila.cjb.net> writes
www.authoring.html , annie写道:
in comp.infosystems.www.authoring.html, annie wrote:
大家好。
我正在编写一个XSL样式表,使用表自动将带有
帧的页面转换为相当于此页面的noframes。
Hello all.
I am writing an XSL stylesheet that automatically converts a page with
frames to a noframes equivalent of this page, using tables.



忘了:大约一半不做框架的浏览器也不做桌子



Forgot: about half of browsers that don''t do frames don''t do tables
either.



换句话说,a很小比例的一小部分....


无足轻重这个词立即浮现在脑海中...... ;-)


-

杰克


In other words, a very small proportion of a very small proportion ....

The word ''insignificant'' comes immediately to mind .... ;-)

--
Jake


这篇关于生成框架页面的noframes版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆