列的固定值 [英] fixed value for columns

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

问题描述

http://www.sonoptikon.de/cdorg/index。 php 我想要colums

宽度10%/ 20%/ 10%/ 60%或类似。


列好了除了最后一节。文字较少,所以

一切都小一些。


我尝试了一些最小宽度和固定宽度的东西,但我没有

了解效果。


源文本中可以看到样式。


有什么问题?


谢谢


Werner


-

--- -------------------------------------------------- ------

Werner合伙人*电话+49 2366 886606 *传真:886608

mailto:ka **** @ sonoptikon.de * http://www.sonoptikon.de

h?ren Sie Klassik: http://www.drmk.ch/

In http://www.sonoptikon.de/cdorg/index.php I want to have colums with
width 10%/20%/10%/60% or similar.

The columns are o.k. except the last section. There is less text and so
everything is little smaller.

I tried some things with min-width and fixed-width, but I did not
understood the effects.

The styles ar to be seen in the source text.

What is wrong?

Thanks

Werner

--
-----------------------------------------------------------
Werner Partner * Tel +49 2366 886606 * Fax: 886608
mailto:ka****@sonoptikon.de * http://www.sonoptikon.de
h?ren Sie Klassik: http://www.drmk.ch/

推荐答案

Werner Partner< ka **** @ sonoptikon.de>写道:
Werner Partner <ka****@sonoptikon.de> wrote:
http:/ /www.sonoptikon.de/cdorg/index.php 我想要有宽度为10%/ 20%/ 10%/ 60%或类似的colums。


为什么?在我看来,最佳演示是使前三个

尽可能宽,以使内容适合而不包装,并将其余部分分配给最后一列

。实现的最佳方法可能是删除所有宽度属性和属性 - 并执行某些操作

防止换行前三列(例如,使用< td nowrap> for

每列中最宽的单元格。)

列好了除了最后一节。文字较少,所以一切都小一点。
In http://www.sonoptikon.de/cdorg/index.php I want to have colums
with width 10%/20%/10%/60% or similar.
Why? It seems to me that optimal presentation is to make the first three
as wide as needed to make the content fit without wrapping, and allocate
the rest to the last column. The best way to achieve would probably be to
remove all width attributes and properties - and to do something to
prevent line wrapping the first three columns (e.g., use <td nowrap> for
the widest cell in each column).
The columns are o.k. except the last section. There is less text and
so everything is little smaller.




我不明白你的意思。

但我要做的就是这就像我上面描述的那样_and_

- 删除所有字体大小的设置(除了编辑说明之外

以下表)

- 删除左边距,因为你需要所有的水平空间你可以获得



最后一栏在某些情况下可能变得相当宽,比文本通常更宽,但是表格是特例。此外,

目前还没有什么方法可以设置em单位中列的最大宽度



-

Yucca, http ://www.cs.tut.fi/~jkorpela/

有关网页制作的网页: http://www.cs.tut.fi/~jkorpela/www.html



I don''t understand what you mean by that.

But what I would do is this is as I described above _and_
- remove all font-size settings (except perhaps for the editorial notes
below the table)
- remove the left margin, since you need all the horizontal space you can
get.

The last column might become fairly wide under some circumstances, wider
than text should normally be, but tables are a special case. Besides,
there''s no good way at present to set the maximum width of a column
in ''em'' units.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


Werner Partner< ka **** @ sonoptikon.de>写道:
Werner Partner <ka****@sonoptikon.de> wrote:
http:/ /www.sonoptikon.de/cdorg/index.php 我想要有宽度为10%/ 20%/ 10%/ 60%或类似的colums。


为什么?在我看来,最佳演示是使前三个

尽可能宽,以使内容适合而不包装,并将其余部分分配给最后一列

。实现的最佳方法可能是删除所有宽度属性和属性 - 并执行某些操作

防止换行前三列(例如,使用< td nowrap> for

每列中最宽的单元格。)

列好了除了最后一节。文字较少,所以一切都小一点。
In http://www.sonoptikon.de/cdorg/index.php I want to have colums
with width 10%/20%/10%/60% or similar.
Why? It seems to me that optimal presentation is to make the first three
as wide as needed to make the content fit without wrapping, and allocate
the rest to the last column. The best way to achieve would probably be to
remove all width attributes and properties - and to do something to
prevent line wrapping the first three columns (e.g., use <td nowrap> for
the widest cell in each column).
The columns are o.k. except the last section. There is less text and
so everything is little smaller.




我不明白你的意思。

但我要做的就是这就像我上面描述的那样_and_

- 删除所有字体大小的设置(除了编辑说明之外

以下表)

- 删除左边距,因为你需要所有的水平空间你可以获得



最后一栏在某些情况下可能变得相当宽,比文本通常更宽,但是表格是特例。此外,

目前还没有什么方法可以设置em单位中列的最大宽度



-

Yucca, http ://www.cs.tut.fi/~jkorpela/

有关网页制作的网页: http://www.cs.tut.fi/~jkorpela/www.html



I don''t understand what you mean by that.

But what I would do is this is as I described above _and_
- remove all font-size settings (except perhaps for the editorial notes
below the table)
- remove the left margin, since you need all the horizontal space you can
get.

The last column might become fairly wide under some circumstances, wider
than text should normally be, but tables are a special case. Besides,
there''s no good way at present to set the maximum width of a column
in ''em'' units.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


" Jukka K. Korpela" < JK ****** @ cs.tut.fi>写道:
"Jukka K. Korpela" <jk******@cs.tut.fi> wrote:
在我看来,最佳演示是使前三个尽可能宽,使内容适合而不包装,并分配休息到最后一栏。
It seems to me that optimal presentation is to make the first three
as wide as needed to make the content fit without wrapping, and
allocate the rest to the last column.




哎呀,对不起,我刚才意识到该页面有三个相似的表格。

以上的建议会使它们(可能)在列

宽度上有所不同,这可能不是美学上最好的方式。


设置前三列的''em''单位的列宽是

一种可能的方法,但由于多种原因而非常笨拙。所以我会建议将表格合并到一个表格中,制作小标题

特殊行,如< tr>< th colspan =" 4" align =" left">< h3>Versionenfür

Access 97< / h3>< / th>< / tr> ;.


-

Yucca, http:// www .cs.tut.fi / ~jkorpela /

关于网页创作的网页: http://www.cs.tut.fi/~jkorpela/www.html



Oops, sorry, I just realized that the page has three similar tables. The
above suggestion would make them (potentially) different in column
widths, which is probably not the best way esthetically.

Setting the column widths in ''em'' units for the first three columns is
one possible approach, but rather clumsy for several reasons. So I would
suggest combining the tables into a single table, making the subheadings
special rows like <tr><th colspan="4" align="left"><h3>Versionen für
Access 97</h3></th></tr>.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


这篇关于列的固定值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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