473,326 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

fixed value for columns

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
10 1898
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
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
"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
"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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: TPSreport | last post by:
ASP.NET 2003. Two DataGrids, six columns each, one grid atop the other. I need to have the columns line up, i.e., DataGrid1 Col(1) lined up w/ DataGrid2 Col(1) - each the same width on the...
179
by: SoloCDM | last post by:
How do I keep my entire web page at a fixed width? ********************************************************************* Signed, SoloCDM
1
by: Lalit Bhatia | last post by:
how can we fix first column in DataGrid? Regards, Lalit Bhatia
0
by: Lalit Bhatia | last post by:
thanks for the answer but I need it for windows forms. I have a desktop application where I need to implement this. -- Regards, Lalit Bhatia "Mona" <mona@discussions.microsoft.com> wrote in...
4
by: Tim Donaldson | last post by:
I have a table generated by a query, and I'd like to add two new field columns to the end or to generate a query which has the same effect. One field is to be called "company" and has the word...
8
by: Brent Lievers | last post by:
Greetings, I have a question about parsing a fixed-width integer from a string. Lines of data are being read from a file having a very strict column-delimited format. In my example below,...
2
by: Bill Nguyen | last post by:
I need to parse a text file with fixed columns into a table. I have the file spec (column positions) but don't know how to use it. Thanks Bill
40
by: Mark | last post by:
Hello i like to make the following lay out: - 3 columns - center column = fixed width - left and right columns are not fixed and must take all the available space there is left. - left...
7
by: Tomasz | last post by:
Hello Developers, DetailsView control, typically, has two columns: names and values. How do I define either fixed or minimum width of those columns? I have tried modifying EditRowStyle and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.