Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character-based alignment in a table column using text-align #4372

Open
sonicdoe opened this issue Jul 10, 2018 · 2 comments
Open

Character-based alignment in a table column using text-align #4372

sonicdoe opened this issue Jul 10, 2018 · 2 comments

Comments

@sonicdoe
Copy link
Contributor

@sonicdoe sonicdoe commented Jul 10, 2018

See Character-based Alignment in a Table Column in the CSS Text Module Level 4 specification.

For example, td { text-align: "." center } might render the following table:

+---------------------+
| Long distance calls |
+---------------------+
|         $1.30       |
|         $2.50       |
|        $10.80       |
|       $111.01       |
|        $85.         |
|        N/A          |
|          $.05       |
|          $.06       |
+---------------------+
@gwern
Copy link

@gwern gwern commented Mar 31, 2019

If it helps, Mozilla's current docs say that tables are not supported by any Chrome/Firefox/Safari, and everything else is a '?'.

@sonicdoe
Copy link
Contributor Author

@sonicdoe sonicdoe commented Apr 2, 2019

I’ve added that row myself in revision 1394813. I’ve just checked the latest versions of Chrome, Firefox, and Safari, though, and nothing has changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants