zsharp zsharp - 11 days ago 7
CSS Question

How to make Hyperlink in a List Item to hidden on overflow?

The hyperlink always wraps. Is there a way to hide the overflow?

Answer

the following should do what you want.

a.specialLink {
    display:inline-block;
    overflow:hidden;
    white-space:nowrap;
    width: 10em;
}