I have a webpage with an elastic layout that changes its width if the browser window is resized.
In this layout there are headlines (h2
) that will have
I'd done something similar for a client recently. Here's a version of what I did for them (example tested in all latest browser versions on Win Vista). Not perfect all around the board, but could be tweaked pretty easily.
Demo: http://enobrev.info/ellipsis/
Code:
This is some really long text. This is some really long text. This is some really long text. This is some really long text.