I need something like this
------------------------------
| Some text | fixed-teeeeext |
------------------------------
-----------------------------------
| Some long text | fixed-teeeeext |
------------------------------------
-----------------------------------------
| Some very long te... | fixed-teeeeext |
-----------------------------------------
|<- a ->|<- b ->|
|<- c ->|
This is all for a single line of text. The right column (b) is fixed-width and the entire block (c) has a max width. The left column (a) should be minimal but if there's not enough space in c-b there should be ellipsis.
I tried with an old-fashioned table and with various CSS two-column layouts but I'm stuck.
Update
This works in FF but not in IE9:
<table style="font-family: sans-serif;">
<tr>
<td style="max-width: 307px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display:block;
font-weight: bold;">Lorem ipsum dolor sit amet, consectetur </td>
<td style="width: 123px; color: #545556; font-size: 15px;">ST.2012.10.17.006</td>
</tr>
</table>
Update II
I consolidated all the findings here: http://frightanic.com/web-authoring/ellipsis-in-table-columns/