By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,379 Members | 1,357 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,379 IT Pros & Developers. It's quick & easy.

fixed value for columns

P: n/a
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/
Jul 20 '05 #1
Share this Question
Share on Google+
10 Replies


P: n/a
Werner Partner <ka****@sonoptikon.de> wrote:
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.


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

Jul 20 '05 #2

P: n/a
Werner Partner <ka****@sonoptikon.de> wrote:
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.


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

Jul 20 '05 #3

P: n/a
"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.


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

Jul 20 '05 #4

P: n/a
"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.


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

Jul 20 '05 #5

P: n/a
Jukka K. Korpela schrieb:
Werner Partner <ka****@sonoptikon.de> wrote:

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).


I know how much I need in the first three columns, so it would be fine
if I could fix them. The fourth column may be wrapped.


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

I don't understand what you mean by that.


Just I notice that it's again a mozilla-feature.
I should always look at IE before I go to post.

In IE the columns are exactly 10%/20%/10%/60%

Mozilla makes different widths, and in the last section all columns are
smaller.

I think I should go on screwing a little

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/
Jul 20 '05 #6

P: n/a
Jukka K. Korpela schrieb:
Werner Partner <ka****@sonoptikon.de> wrote:

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).


I know how much I need in the first three columns, so it would be fine
if I could fix them. The fourth column may be wrapped.


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

I don't understand what you mean by that.


Just I notice that it's again a mozilla-feature.
I should always look at IE before I go to post.

In IE the columns are exactly 10%/20%/10%/60%

Mozilla makes different widths, and in the last section all columns are
smaller.

I think I should go on screwing a little

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/
Jul 20 '05 #7

P: n/a
Jukka K. Korpela schrieb:
"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.

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>.


I will try this!

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/
Jul 20 '05 #8

P: n/a
Jukka K. Korpela schrieb:
"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.

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>.


I will try this!

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/
Jul 20 '05 #9

P: n/a
Jukka K. Korpela schrieb:
"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.

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>.


I could not sleep, so I got up and tried little bit (that's about the
unhuman time).
Now it looks really fine:
http://www.sonoptikon.de/cdorg/index.php

I cared for the correct change of grey and coloured lines, and so it's
o.k. now!

Of course I could make a Finnish version now ;-)

I compared Mozilla and IE, Mozilla makes thin black grid lines, it looks
quite good. But IE makes very fine grey lines, it looks better (less noisy).

I made the lines with <table border ...
This is not yet really css like, but I could not find out how to say the
table that I want to have a thin grey grid. When I leave border I get a
border around the entire table but not a grid.

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/
Jul 20 '05 #10

P: n/a
Jukka K. Korpela schrieb:
"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.

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>.


I could not sleep, so I got up and tried little bit (that's about the
unhuman time).
Now it looks really fine:
http://www.sonoptikon.de/cdorg/index.php

I cared for the correct change of grey and coloured lines, and so it's
o.k. now!

Of course I could make a Finnish version now ;-)

I compared Mozilla and IE, Mozilla makes thin black grid lines, it looks
quite good. But IE makes very fine grey lines, it looks better (less noisy).

I made the lines with <table border ...
This is not yet really css like, but I could not find out how to say the
table that I want to have a thin grey grid. When I leave border I get a
border around the entire table but not a grid.

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/
Jul 20 '05 #11

This discussion thread is closed

Replies have been disabled for this discussion.