# Formatting issue

**URL:** <https://forums.ankiweb.net/t/formatting-issue/55654>\
**Category:** Card Design\
**Created:** [February 10, 2025, 12:47pm UTC](https://forums.ankiweb.net/t/formatting-issue/55654 "2025-02-10T12:47:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dbrimhall](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@Dbrimhall](https://forums.ankiweb.net/u/Dbrimhall)\
**Post date:** [February 10, 2025, 12:47pm UTC](https://forums.ankiweb.net/t/formatting-issue/55654/1 "2025-02-10T12:47:47Z")

</div>

Hello!

I made a bunch of cards on my PC and they work just fine. When I try to practice them on my iPhone the formatting is off. There is a large offset in front of the cards so o have to scroll a bunch to se the content. Any thoughts of a resolution?

 ![IMG_3991](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/b/8/b89340b4d6a0e2e3619429371bbe31723f78c52c.png)  
 ![IMG_3992](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/8/8/88929b5e551abe8533e95b74b4864afb8e81a29c.png)  
 ![IMG_3993](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/e/1/e1ef2bfbb9ba3be087f08f652a6d5bd1efc3b135.png)  
 ![IMG_3994](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/5/8/58361185fb0ff59cdaa6936043e955a8a56c1ea1.png)

Thank you!

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [February 10, 2025, 12:53pm UTC](https://forums.ankiweb.net/t/formatting-issue/55654/2 "2025-02-10T12:53:47Z")

</div>

We will obviously need to see the html and css for that card (front and back).

Put them into codeboxes like this when pasting:  
```  
Some code here  
```

---

<div class="post-metadata">

**Author:** ![Dbrimhall](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@Dbrimhall](https://forums.ankiweb.net/u/Dbrimhall)\
**Post date:** [February 10, 2025, 1:19pm UTC](https://forums.ankiweb.net/t/formatting-issue/55654/3 "2025-02-10T13:19:24Z")

</div>

Thank you Anon!

HTML from iPhone:

```auto
<table border="0" cellpadding="0" cellspacing="0" width="1790" style="width: 1343pt;"><tbody><tr height="21" style="height:15.75pt">
  <td height="21" class="xl65" width="1790" style="height:15.75pt;width:1343pt">Bronchogenic
  carcinoma</td></tr></tbody></table>

```

```auto
<table border="0" cellpadding="0" cellspacing="0" width="1790" style="width: 1343pt;"><tbody><tr height="21" style="height:15.75pt">
  <td height="21" class="xl65" width="1790" style="height:15.75pt;width:1343pt">Cancer
  that begins in the tissue that lines or covers the airways of the lungs,
  including small cell and non-small cell lung cancer.</td></tr></tbody></table>

```

HTML from computer:

```auto
<table border="0" cellpadding="0" cellspacing="0" width="1790" style="width: 1343pt;"><tbody><tr height="21" style="height:15.75pt">
  <td height="21" class="xl65" width="1790" style="height:15.75pt;width:1343pt">Bronchogenic
  carcinoma</td></tr></tbody></table>

```

```auto
<table border="0" cellpadding="0" cellspacing="0" width="1790" style="width: 1343pt;"><tbody><tr height="21" style="height:15.75pt">
  <td height="21" class="xl65" width="1790" style="height:15.75pt;width:1343pt">Cancer
  that begins in the tissue that lines or covers the airways of the lungs,
  including small cell and non-small cell lung cancer.</td></tr></tbody></table>

```

I think this is what you need, is that correct?

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [February 10, 2025, 3:34pm UTC](https://forums.ankiweb.net/t/formatting-issue/55654/4 "2025-02-10T15:34:28Z")

</div>

I have no experience with js tables but here are two things to consider:

1. You do not seem to show any content were a table would be useful. It’s probably best not to use a table until you really need to.
2. Your table doesn’t scale well. E.g. it assumes `width="1790"`, which is far too wide for any smartphone screen.

Addional things that might be helpful for other helpers are in the [Card Templates - Anki Manual](https://docs.ankiweb.net/templates/intro.html?highlight=card%20templates#card-templates). We’d need the front, back and css, all three in separate code blocks please.

---

<div class="post-metadata">

**Author:** ![Dbrimhall](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@Dbrimhall](https://forums.ankiweb.net/u/Dbrimhall)\
**Post date:** [February 11, 2025, 6:05pm UTC](https://forums.ankiweb.net/t/formatting-issue/55654/5 "2025-02-11T18:05:27Z")

</div>

I found the issue was in the format I had for reverse and normal cards I changed the orientation to left most. When I imported these cards from excel it must have added weird formatting.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [March 13, 2025, 6:05pm UTC](https://forums.ankiweb.net/t/formatting-issue/55654/6 "2025-03-13T18:05:31Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
