title: Word-wrap CSS property not affecting a table cell
body: <p>I have one long word...</p>
  
  <p><code>p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCx+wnDhlr7GqHiH6lAaPPuN5F7RjUrtvGyxxZkClJsLaTDeqg/FuJXU7RYdPQ2Ka++tfw0Z9+SRKatLUQQeCqLK8z1/V4p7BaJKPkegMzXgWGnFVmz1tdLFiYUGq0MvVgqWiepcTFmwgSd9g1pGRiCSDHJUDwcc+NidiW4/ixw4QIDAQAB"</code></p>
  
  <p>...that I am trying to fit in a table cell (<code>&lt;td&gt;</code>), for which I've tried using <code>word-wrap: break-word;</code> and the like to force the text to wrap, but none of them seem to have any affect on the text.</p>
  
  <h2>( <strong><a href="http://aahank.com/jots/2012/10/setting-up-google-apps-for-your-domain-with-amazon-route-53.html" rel="noreferrer">HERE'S THE LIVE EXAMPLE</a></strong> )</h2>
  
  <p><a href="https://i.stack.imgur.com/GdVbE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/GdVbE.png" alt="Screenshot - Click To Enlarge!"></a><br>
  <strong>Click on the image to enlarge!</strong></p>
  
  <p>The text goes on and on horizontally, and doesn't wrap. Which CSS property am I supposed to be using here?</p>
  
  <hr>
  
  <h2>THE CODE</h2>
  
  <pre><code>&lt;table&gt;
       &lt;thead&gt;
            &lt;tr&gt;
                  &lt;th&gt;Name
                  &lt;/th&gt;&lt;th&gt;Type
                  &lt;/th&gt;&lt;th&gt;Value
                  &lt;/th&gt;&lt;th&gt;TTL
            &lt;/th&gt;&lt;/tr&gt;
       &lt;/thead&gt;
       &lt;tbody&gt;
            &lt;tr&gt;
                  &lt;td&gt;wtnmail._domainkey.whatthenerd.com.&lt;/td&gt;
                  &lt;td&gt;TXT&lt;/td&gt;
                  &lt;td&gt;"v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCx+wnDhlr7GqHiH6lAaPPuN5F7RjUrtvGyxxZkClJsLaTDeqg/FuJXU7RYdPQ2Ka++tfw0Z9+SRKatLUQQeCqLK8z1/V4p7BaJKPkegMzXgWGnFVmz1tdLFiYUGq0MvVgqWiepcTFmwgSd9g1pGRiCSDHJUDwcc+NidiW4/ixw4QIDAQAB"&lt;/td&gt;
                  &lt;td&gt;300&lt;/td&gt;
            &lt;/tr&gt;
       &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <h2>CSS</h2>
  
  <p>Based on j08691's answer, I am using this now:</p>
  
  <pre><code>table {
     table-layout: fixed;
     word-break: break-all;
     word-wrap: break-word;
  }
  </code></pre>
  
  <p>And that's resulted in this:</p>
  
  <p><a href="https://i.stack.imgur.com/c1MMQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/c1MMQ.png" alt="Screenshot - Click To Enlarge!"></a><br>
  <strong>Click on the image to enlarge!</strong></p>
  
  <p>Yes, the table isn't super stylish as it used to be, but now I can at least be sure that the data shows (even when the browser is resized i.e. smaller resolutions).</p>
  
  <p><em>Still looking for an elegant solution, if any.</em></p>