0

Developing a page and the content is formatted perfectly with "Default Table Style - light" when I switch it over to "Table Style 1 - clear" to remove the borders all my margins and spacing changes. The biggest issue is any .png I have is now centered in the cell when I need them anchored to the top/center of the cell at a minimum.

HTML code for Default Table Style - light

<table width="100%" class="ms-rteTable-default" cellspacing="0" style="font-size: 1em; height: 2000px">
  <tbody>
    <tr class="ms-rteTableHeaderRow-default">
      <th class="ms-rteTableHeaderFirstCol-default" rowspan="1" colspan="1" style="width: 1030px; color: #003366">
      </th>
    </tr>
  </tbody>
</table>

HTML code for Table Style 1 - clear

<table width="100%" class="ms-rteTable-0" cellspacing="0" style="font-size: 1em; height: 2000px">
  <tbody>
    <tr class="ms-rteTableHeaderRow-0">
      <th class="ms-rteTableHeaderFirstCol-0" rowspan="1" colspan="1" style="width: 1030px; color: #003366"></th>
      </th>
     </tr>
  </tbody>
</table>

Any ideas on how to fix this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.