How to Have 46 Characters Show up In A Table Cell

So I have a background primarily in server side + basic front end. I
dont know if this is very relevant to rails or if I should ask some
design forum (if you know any please share!) My client however has an
unusual request. He wants to have 46 characters show up in a table cell.
This means he wants to have 46 letters show up in a table cell. How do I
define that for a table cell?

I am guessing 46 px for width would not do, right?

That’s not really a Ruby question, now, is
it?

:slight_smile:

2008/6/19 Ather S. [email protected]:

Yes please accept my apologies again but I mentioned it because there
are more web designers in the ror community than anywhere else (in the
java community for example).

Bryan JJ Buckley wrote:

That’s not really a Ruby question, now, is
it?

:slight_smile:

2008/6/19 Ather S. [email protected]:

  • Ather S., 2008-06-20, 03:09:

So I have a background primarily in server side + basic front end. I
dont know if this is very relevant to rails or if I should ask some
design forum (if you know any please share!) My client however has an
unusual request. He wants to have 46 characters show up in a table
cell. This means he wants to have 46 letters show up in a table cell.
How do I define that for a table cell?

I am guessing 46 px for width would not do, right?

fixed-width font and 46em should do ^^

Josef ‘Jupp’ Schugt

Josef ‘Jupp’ Schugt wrote:

  • Ather S., 2008-06-20, 03:09:

So I have a background primarily in server side + basic front end. I
dont know if this is very relevant to rails or if I should ask some
design forum (if you know any please share!) My client however has an
unusual request. He wants to have 46 characters show up in a table
cell. This means he wants to have 46 letters show up in a table cell.
How do I define that for a table cell?

I am guessing 46 px for width would not do, right?

fixed-width font and 46em should do ^^

Josef ‘Jupp’ Schugt

I tried 46em as width tag of the table td tag but sometimes its ok and
sometimes its really narrow. I had to end up usign 350px ; where could I
get an understanding of why this is happening?

I usually use HTML dog as a reference:
http://htmldog.com/reference/cssproperties/table-layout/
There are probably better write-ups on this somewhere, though.