Phlip
6/19/2008 6:30:00 PM
Ather Shiraz wrote:
> 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?
How quaint! Nothing personal, but this is a Ruby language group, and Rails (a
platform) has its own forum. This group always catches Rails questions, but this
is the first CSS question I have seen...
Set the field style to width: 40em, overflow: none, and white-space: nowrap. I
don't know exactly how to write those exactly, but a Google search of [css style
truncate nowrap] seems to work.