title: center text of table data connected with colspan="2" with .css " Select td with attribute colspan="2" "
body: <p>Hi I have a table where certain columns in a row are connected with the <code>colspan="2"</code> attribute.</p>
  
  <p>In the moment it looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/B3XXd.jpg" alt="enter image description here"></p>
  
  <p>I want that the text of the connected columns in a row is centered, but only the text in the connected columns</p>
  
  <p>The table data of this row  (unlimited ) has the following code</p>
  
  <pre><code>&lt;tr class="row-4 even"&gt;    
  &lt;td colspan="2" class="column-3 footable-last-column" style="display: table-cell;"&gt;unlimited&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>I can not change the code of the table because it is automatically created by the Wordpress plugin <code>tablepress</code></p>
  
  <p>What I can do is to add a custom .css file.</p>
  
  <p>My Question is, if it is possible to select only the table data with the attribute 
  <code>colspan="2"</code> with .css, so that I can do <code>{ text-align: center }</code> only for table data with the attribute <code>colspan="2"</code></p>