# 'Show Answer' button placed at the end of Image Occlusion card

**URL:** <https://forums.ankiweb.net/t/show-answer-button-placed-at-the-end-of-image-occlusion-card/33467>\
**Category:** Syncing & AnkiWeb\
**Created:** [August 21, 2023, 4:56pm UTC](https://forums.ankiweb.net/t/show-answer-button-placed-at-the-end-of-image-occlusion-card/33467 "2023-08-21T16:56:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickey](https://avatars.discourse-cdn.com/v4/letter/n/9f8e36/32.png) [@nickey](https://forums.ankiweb.net/u/nickey)\
**Post date:** [August 21, 2023, 4:56pm UTC](https://forums.ankiweb.net/t/show-answer-button-placed-at-the-end-of-image-occlusion-card/33467/1 "2023-08-21T16:56:02Z")

</div>

Usually, with Anki Web, whether it’s an image card or not, the ‘Show Answer’ button is always visible at the bottom of the browser screen, regardless of the card’s length. However, when using the Image Occlusion Enhanced add-on to create cards, the button appears at the card’s end. This arrangement proves time-consuming and cumbersome, as it requires navigating to the card’s end to click the button and then returning to check the answer. How can this issue be swiftly resolved? I have an upcoming exam!

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [August 21, 2023, 11:13pm UTC](https://forums.ankiweb.net/t/show-answer-button-placed-at-the-end-of-image-occlusion-card/33467/2 "2023-08-21T23:13:04Z")

</div>

I’m not able to reproduce this - the show answer button is visible for me even if the card content is larger than a page. And if you’re using a computer, you could just hit space instead.

---

<div class="post-metadata">

**Author:** ![nickey](https://avatars.discourse-cdn.com/v4/letter/n/9f8e36/32.png) [@nickey](https://forums.ankiweb.net/u/nickey)\
**Post date:** [August 24, 2023, 2:50am UTC](https://forums.ankiweb.net/t/show-answer-button-placed-at-the-end-of-image-occlusion-card/33467/3 "2023-08-24T02:50:15Z")

</div>

It doesn’t happen with all the large images but only with Image Occlusion Enhanced add-on created cards.

Here’s a large image with NO Image Occlusion :

 ![E](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/6/644981c68d39f785670c0c1c28ab4b9e790f9f42.jpeg)

Here’s a large image WITH Image Occlusion :

 ![B](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/e/e632de1bb16c1a76b0dc81ffe1bb0cf6354336f2.jpeg)

Look there’s no show button (it’s at the bottom end)

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [August 24, 2023, 3:08am UTC](https://forums.ankiweb.net/t/show-answer-button-placed-at-the-end-of-image-occlusion-card/33467/4 "2023-08-24T03:08:12Z")

</div>

@glutanimate would you mind investigating and letting me know if there is a simple CSS tweak that will address whatever the notetype happens to be doing?

---

<div class="post-metadata">

**Author:** ![glutanimate](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/glutanimate/32/97_2.png) [@glutanimate](https://forums.ankiweb.net/u/glutanimate)\
**Post date:** [August 24, 2023, 4:05am UTC](https://forums.ankiweb.net/t/show-answer-button-placed-at-the-end-of-image-occlusion-card/33467/5 "2023-08-24T04:05:41Z")

</div>

@dae I can reproduce the issue here (though I assume this must have changed sometime recently, since otherwise I’m sure we’d have seen reports in the past?). In any case, it seems like it’s related to `#io-original` and `#io-overlay` both being positioned `relative` and with a \>0 `z-index`:

![io-z-index](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/6/6c0b6740a59e1388e8a63fb6db33a22fbad18194.gif)

A quick fix could be bumping up the `z-index` on `#ansarea`, e.g. to 9999, or the [z-index max](https://stackoverflow.com/questions/491052/minimum-and-maximum-value-of-z-index).

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [August 27, 2023, 4:52am UTC](https://forums.ankiweb.net/t/show-answer-button-placed-at-the-end-of-image-occlusion-card/33467/6 "2023-08-27T04:52:01Z")

</div>

Thanks Aristotelis, I’ve pushed out your suggested fix.

---

<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:** [September 26, 2023, 4:52am UTC](https://forums.ankiweb.net/t/show-answer-button-placed-at-the-end-of-image-occlusion-card/33467/7 "2023-09-26T04:52:44Z")

</div>

Closed on September 26, 2023, 4:52am UTC

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