css - How do I force a table row to word-break? -


i have following element hierarchy:

enter image description here

and, here rendering:

enter image description here

i want rid of horizontal scroll , replace word break (so, not split on word boundaries).

what correct css settings enable this?

if right, you're trying rid of scroll bar, maintain width , add word break .igv-popovervalue span span on right side. if can accomplish floating .igv-popovername left , .igv-popovervalue right , give them width fit on column side, this example

<td class="igv-popover-td">     <div class="igv-popovernamevalue">         <span class="igv-popovername">name</span>         <span class="igv-popovervalue">nup210l</span>     </div> </td> 

and css

.igv-popovername {     float: left;     width: 45px; } .igv-popovervalue {     word-break: break-all;     float: right;     width: 45px; } 

Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -