Title: Error causing code not to render on Ipads
Last modified: November 28, 2018

---

# Error causing code not to render on Ipads

 *  [pbwpwork](https://wordpress.org/support/users/pbwpwork/)
 * (@pbwpwork)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-causing-code-not-to-render-on-ipads-2/)
 * Hi,
 * There is a problem when looking at the table (of pies) on the page mentioned,
   but only when looking using a normal ipad in landscape mode. I have created this
   table using TablePress (I have already put this question direct to the plugin’s(
   Tablepress) author and he does not know the answer. I think it may lie in the
   CSS rather than the plugin)
 * As you can see if you look at the page on a normal ipad in landscape mode the
   whole table appears to be pushed to the right, this is obvious when looking at
   the right-hand side on the blue bar (Beef & Onion). Could you let me know what
   is causing this?
 * If useful the CSS code that I am using is:
 *     ```
       @media (max-width: 768px) {
   
       	.tablepress-id-2 th {
       	}
   
       	.tablepress-id-2 .row-1 .column-2 {
       		vertical-align: middle;
       		text-align: center;
       	}
   
       	.tablepress-id-2 td {
       		font-size: 10px;
       		line-height: 13px;
       	}
   
       	.tablepress-id-2 img {
       		min-width: 50px;
       		max-width: 100%;
       		vertical-align: middle;
       	}
   
       }
   
       @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
   
       	table.tablepress-id-2 {
       		width: 400px;
       		margin: 0 auto 1em;
       	}
   
       	.tablepress-id-2 .row-1 .column-1 {
       		background-color: #33FFB2;
       	}
       }
   
       .tablepress-id-2 .row-1 .column-2 {
       	vertical-align: middle;
       	text-align: center;
       }
   
       .tablepress-id-2 .row-1 .column-1 {
       	background-color: #05affd;
       }
   
       .tablepress-id-2 .row-3 .column-2 {
       	background-color: #05affd;
       }
       ```
   
 * Has anybody else found this? It there a coding solution?
 * The problem can be seen here [Ipad issue](https://photos.google.com/album/AF1QipOJ4H9E5DD7MlE7Pekfhnf87OdTRjzJb0q7GhCw/photo/AF1QipPVsfZJ6UPXdtVE3eRgDWyDxyu1tZ1VXCbE6KYu)
   
   Thanks
 * Paul
    -  This topic was modified 7 years, 5 months ago by [pbwpwork](https://wordpress.org/support/users/pbwpwork/).
    -  This topic was modified 7 years, 5 months ago by [pbwpwork](https://wordpress.org/support/users/pbwpwork/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-causing-code-not-to-render-on-ipads-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/error-causing-code-not-to-render-on-ipads-2/#post-11002172)
 * Hi,
 * for reference: This was further discussed at [https://wordpress.org/support/topic/table-width-on-ipad/](https://wordpress.org/support/topic/table-width-on-ipad/)
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Error causing code not to render on Ipads’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/leeway/1.4.6/screenshot.jpg)
 * Leeway
 * [Support Threads](https://wordpress.org/support/theme/leeway/)
 * [Active Topics](https://wordpress.org/support/theme/leeway/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/leeway/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/leeway/reviews/)

## Tags

 * [table width](https://wordpress.org/support/topic-tag/table-width/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/error-causing-code-not-to-render-on-ipads-2/#post-11002172)
 * Status: not resolved