Note that there are some explanatory texts on larger screens.

plurals
  1. POApplying text-wrap using css
    primarykey
    data
    text
    <p>im trying to apply text wrap to td (table data) using:</p> <pre><code>.gvUpdatesStyle .updateSummary {width:200px; white-space:normal;} </code></pre> <p>But it isnt working and the td is going above 200px.</p> <p>Edit: Here is the html, but please note that this is generated by the GridView:</p> <pre><code>&lt;table cellspacing="0" border="1" style="border-collapse:collapse;" id="ContentPlaceHolder1_gvUpdates" rules="all" class="marginLeftRightBottom10px center gvUpdatesStyle"&gt; &lt;tbody&gt;&lt;tr&gt; &lt;th scope="col"&gt;Update Id&lt;/th&gt;&lt;th scope="col"&gt;Date&lt;/th&gt;&lt;th scope="col"&gt;Text&lt;/th&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;&lt;a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$gvUpdates','Select$0')"&gt;17&lt;/a&gt;&lt;/td&gt;&lt;td&gt;29 ta' Awissu&lt;/td&gt;&lt;td class="updateSummary"&gt;fgdfgdfgdfgfd&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;&lt;a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$gvUpdates','Select$1')"&gt;18&lt;/a&gt;&lt;/td&gt;&lt;td&gt;29 ta' Awissu&lt;/td&gt;&lt;td class="updateSummary"&gt;dfgdfgdfgfdg&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;&lt;a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$gvUpdates','Select$2')"&gt;4&lt;/a&gt;&lt;/td&gt;&lt;td&gt;27 ta' Awissu&lt;/td&gt;&lt;td class="updateSummary"&gt;dsfsdfdsfdfgfdgfdgfd&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;&lt;a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$gvUpdates','Select$3')"&gt;5&lt;/a&gt;&lt;/td&gt;&lt;td&gt;27 ta' Awissu&lt;/td&gt;&lt;td class="updateSummary"&gt;jkljl&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;&lt;a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$gvUpdates','Select$4')"&gt;0&lt;/a&gt;&lt;/td&gt;&lt;td&gt;15 ta' Awissu&lt;/td&gt;&lt;td class="updateSummary"&gt;testlol&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; </code></pre> <p>Edit: With further testing, i found out that it doesnt actually work with really long input, and appears as so:</p> <p><img src="https://i.stack.imgur.com/eUp7C.jpg" alt=""></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload