Talk:List of countries by past life expectancy

From WikiProjectMed
Jump to navigation Jump to search

List of countries before 1950

@Guarapiranga: I see no improvement in total width of the table by using the vertical headers:

Versus using horizontal headers and a separate row of sorting cells:

And the horizontal years are easier to read.

I like the "Health in ..." links. -- Timeshifter (talk) 05:16, 27 November 2019 (UTC)[reply]

@Guarapiranga: Your latest version is still wider than the version with a clear separate row of sorting cells. And it is hard to figure out where to click in order to sort a column. Because you hid the border between the header rows.
Also, your latest version loses row alignment when the text size is increased in the browser.
Your latest version as I write this:
And it is not necessary to put nowrap in each row. It is already a class in the table header.
-- Timeshifter (talk) 11:07, 28 November 2019 (UTC)[reply]
That's bc your last version didn't have flags, Timeshifter, not bc of a clear separate row. I basically just took your version and made the row narrower, and without the border, so it doesn't look so ugly.
your latest version loses row alignment when the text size is increased in the browser.
Who does that?? Normally people increase zoom, which increases everything proportionately, not just font size.
And it is not necessary to put nowrap in each row.
True. Changed. Guarapiranga (talk) 11:18, 28 November 2019 (UTC)[reply]
Guarapiranga. I'll take functionality over looks. And it doesn't seem ugly to me to have a separate row of sorting icons. Actually, you still have a separate row, it's just hidden. But now people are confused as to why sorting doesn't work when they click on the header text. And it uses a lot of code in the wikitext.
You might suggest on Phabricator that they put the sorting icon on the bottom instead of on the side. Then sorting would occur no matter where people clicked in the header. Since there would be no separate sorting row. The header cells would be narrower, and there would be no need for a separate row of sorting cells.
Many people zoom text only. I do. I use Firefox. It has a built-in +/- zoom buttons. The view menu also has a zoom submenu. There one can select "zoom text only". If you use zoom a lot, as I do, one soon notices how zooming the images too will mess up how text wraps around images. Especially the more one zooms in. So I keep that "zoom text only" option selected. I then can use the built-in +/- zoom buttons, and the zoom is text-only. Then I can lean back farther in my chairs and still read the text on my desktop PC screens.
Why are you using style="table-layout:fixed;"? I looked it up, and can not figure out what purpose it serves here. -- Timeshifter (talk) 22:20, 28 November 2019 (UTC)[reply]
It's to tell browsers to take max-width seriously. But you're right: it was unnecessary here. Guarapiranga (talk) 23:46, 28 November 2019 (UTC)[reply]