srfi-common icon indicating copy to clipboard operation
srfi-common copied to clipboard

Add borders to tables for clarity

Open aartaka opened this issue 1 year ago • 2 comments

This is because default HTML tables are hard to read due to unclear/absent cell borders. See https://srfi.schemers.org/srfi-48/srfi-48.html#format ~h and the surrounding cells for an example of such a confusion.

An alternative would be to increase spacing between cells, but this is both eating up screen real estate (especially for me with my x2 scaling), and perpetuating the border clarity problem.

aartaka avatar Sep 29 '24 16:09 aartaka

I see your point, but I don't want to make such a far-reaching change to the look of tables in all SRFIs. However, I have changed srfi.css to add this:

td, th {
  vertical-align: top;
}

This makes tables like the one you referenced in SRFI 48 much easier to read. I'm surprised that it isn't the default for all tables in HTML.

arthurgleckler avatar Sep 29 '24 20:09 arthurgleckler

However, I have changed srfi.css to add this:

vertical-align: top; }```

This makes tables like the one you referenced in SRFI 48 much easier to read. I'm surprised that it isn't the default for all tables in HTML.

Yes, that's perfect, thank you!

aartaka avatar Sep 29 '24 20:09 aartaka