Truncate with Ellipsis XML


/ Published in: XML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?xml version="1.0"?>
  2. <bindings xmlns="http://www.mozilla.org/xbl" xmlns:xbl="http://www.mozilla.org/xbl" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  3. <binding id="ellipsis">
  4. <content>
  5. <xul:window>
  6. <xul:description crop="end" xbl:inherits="value=xbl:text"><children/></xul:description>
  7. </xul:window>
  8. </content>
  9. </binding>
  10. </bindings>

URL: http://rumble.github.com/examples/text-overflow

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.