W3C home > Mailing lists > Public > www-style@w3.org > March 2015

Re: Text Overflow With ...

From: ACJ <ego@acjs.net>
Date: Tue, 10 Mar 2015 18:24:16 +0100
Message-ID: <54FF28C0.20009@acjs.net>
To: www-style@w3.org
Simon Ferndriger schreef op 4-3-2015 om 13:40:
> A really great CSS enhancement would be, if I could tell a specific 
> tag, to cut the containing text to its maximal width and add 3 dots at 
> the end.
>
> [...]
>
> if I could set the following CSS:
> var {
>   text-overflow:cut;
>   text-overflow-after:'...';
>   /* or any similar syntax */
> }
>

Sounds like something that can currently be achieved with 
http://dev.w3.org/csswg/css-ui-3/#propdef-text-overflow (with a 
max-width and perhaps display:inline-block).
Received on Tuesday, 10 March 2015 17:24:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC