Re: (CSS) Aligning signed numbers in cells
Gnarlodious <gnarlodiousNULL@VOID.invalid.yahoo.com> wrote:
> Is there a way to center numbers in a column (CSS) of cells
> disregarding the negative sign?
> You can see what I mean here in the "Cartesian" column:
With quite some pain, yes. The use of dark text on black background makes
the page _very_ hard to read, even if I set font size to "Largest".
> I'd like to center the blue numbers according to the digit and not the
To _what_ digit? It seems that you would actually want to align the column
according to the decimal separator (decimal point or decimal comma). That
would be _theoretically_ possible both in CSS and in HTML, but it's really
not worth trying, since current browsers don't even try to support that.
Special alignment of table cells or other elements is sometimes possible
using kludges, like using leading or trailing no-break spaces in element
content so that left or right alignment produces the desired effect for
visual content. But this would in practice require using monospace font
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
|All times are GMT. The time now is 04:27 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.