Saturday, May 27, 2017

For text-overflow:ellipsis; to work in Google Chrome.

  1. The copy cannot be in a H1, H2, H3, et al.
  2. The wrapping element needs a width set in pixels with the trailing px at the style and all that.
  3. overflow:hidden; and white-space:nowrap; both need to be at the wrapping element.

No comments:

Post a Comment