Number alignment help

K

kayodeok

I'm trying to write a simple html page with numbers on it... I
would like the numbers to line up vertically...

TOTAL SIZE RECEIVED: 4,741,728 bytes
VALID: 4,659,315 bytes
INVALID: 82,413 bytes


I've got it laid out in a 2 column table, left column has the
words (right justified), the right column has the numbers (&
'bytes')... but I'd like the numbers to align. Any
suggestions?

There is an 'align="char"char="x"' attribute but it is not supported
by any browser. See:

http://groups.google.com/groups?threadm=j%[email protected]&rnum=2
 
C

Christopher Robin

Hi,

I'm trying to write a simple html page with numbers on it... I would like
the numbers to line up vertically...

TOTAL SIZE RECEIVED: 4,741,728 bytes
VALID: 4,659,315 bytes
INVALID: 82,413 bytes


I've got it laid out in a 2 column table, left column has the words (right
justified), the right column has the numbers (& 'bytes')... but I'd like
the numbers to align. Any suggestions?
 
B

brucie

I'm trying to write a simple html page with numbers on it... I would like
the numbers to line up vertically...

TOTAL SIZE RECEIVED: 4,741,728 bytes
VALID: 4,659,315 bytes
INVALID: 82,413 bytes


I've got it laid out in a 2 column table, left column has the words (right
justified), the right column has the numbers (& 'bytes')... but I'd like
the numbers to align. Any suggestions?

<table border="1">
<col span="2" align="right">
<thead><tr><th align="center">something</th><th align="center">bytes</th></tr></thead>
<tbody>
<tr><td>TOTAL SIZE RECEIVED:</td><td>4,741,728</td></tr>
<tr><td>VALID:</td><td>4,659,315</td></tr>
<tr><td>INVALID:</td><td>82,413</td></tr>
</tbody>
</table>
 
M

Michael Wilcox

<snip>

Brucie, how come you don't archive? Aren't you an advocate of checking
Google first before asking here?
 
B

brucie

Brucie, how come you don't archive? Aren't you an advocate of checking
Google first before asking here?

nothing i say is worth reading let alone archiving. its simply
responsible conservation of resources.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top