Skip to content Skip to sidebar Skip to footer

Disable Truncate Listview Header Jquery Mobile For Long Text (single Word)

I have a jquery mobile listview . Currently the header of the list view truncates, and the text ends with a '...'. I would like to disable this behavior and show the complete text

Solution 1:

DEMO

The CSS you are looking for is word-wrap:break-word;

ullih2 {
    white-space: normal !important;
    word-wrap:break-word;
    overflow-wrap: break-word;
}

For more browser support you could try:

ullih2{
    white-space: pre !important;           /* CSS 2.0 */white-space: pre-wrap !important;      /* CSS 2.1 */white-space: pre-line !important;      /* CSS 3.0 */white-space: -pre-wrap !important;     /* Opera 4-6 */white-space: -o-pre-wrap !important;   /* Opera 7 */white-space: -moz-pre-wrap !important; /* Mozilla */white-space: -hp-pre-wrap !important;  /* HP Printers */word-wrap: break-word;      /* IE 5+ */
}

Post a Comment for "Disable Truncate Listview Header Jquery Mobile For Long Text (single Word)"