HighDots Forums  

Aligning figures in a table cell

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Aligning figures in a table cell in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Grytpype-Thynne
 
Posts: n/a

Default Aligning figures in a table cell - 08-18-2003 , 12:34 PM






Hello,

Is it possible to align a column in a table so that units, tens and
hundreds (some may not go to hundreds) align correctly yet are in the
center of the table cell? I can get them to line up in units, tens and
hundreds by using right align and right padding and a monospace font but
where the columns are of different widths they don't centralize, is it
possible to put the numbers in a box and then center the box in the cell?

The list in question can be seen at
http://www.animals-in-distress.net/numhomed.htm I will be converting the
site to CSS in the future.

Thanks
Gerald

Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Aligning figures in a table cell - 08-22-2003 , 03:49 PM






Brian <usenet1 (AT) mangymutt (DOT) com.invalid-remove-this-part> wrote:

Quote:
Does this help?

http://www.w3.org/TR/CSS2/text.html#propdef-text-align

Note the value "string."
It would help, if we could find some browser(s) that support that part
of the specification.

--
Yucca, http://www.cs.tut.fi/~jkorpela/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.