Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Left-align numbers for price-list not working?

$
0
0

Replies: 0

I am attempting to create a pricelist. See https://dewittebrug.nl/test/
The prices in het lef-thand column should be left-aligned.
However, they are not. For some reason the smaller numbers are not left aligned.
Adding a space in front of the smaller numbers does not help.

This is the CSS code I used:

tablepress-id-2 .column-1 {
	width: 280px, text-align: left;
}

.tablepress-id-2 .column-2 {
	width: 1px, text-align: right;
}

.tablepress-id-2 .column-3 {
	width: 5px, text-align: right;
}

Viewing all articles
Browse latest Browse all 59525

Trending Articles