<style type="text/css"> div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100px; } </style>