# Maybe CSS magic possible - moving image components to be on the same row

**URL:** <https://community.glideapps.com/t/maybe-css-magic-possible-moving-image-components-to-be-on-the-same-row/27772>\
**Category:** Ask for Help\
**Created:** [June 8, 2021, 7:45am UTC](https://community.glideapps.com/t/maybe-css-magic-possible-moving-image-components-to-be-on-the-same-row/27772 "2021-06-08T07:45:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Turrell](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark_turrell/32/26605_2.png) [@Mark\_Turrell](https://community.glideapps.com/u/Mark_Turrell)\
**Post date:** [June 8, 2021, 7:45am UTC](https://community.glideapps.com/t/maybe-css-magic-possible-moving-image-components-to-be-on-the-same-row/27772/1 "2021-06-08T07:45:06Z")

</div>

Continuing the discussion from [Single Row, Images in different columns —\> how to get them to display as an inline list?](https://community.glideapps.com/t/single-row-images-in-different-columns-how-to-get-them-to-display-as-an-inline-list/26843/10):

My use case requires the ability to click on the images and expand them (they might be small, etc), so the HTML table approach sadly did not work.  
The image carousel works (I am using this now) BUT the users (esp the medical ones) do not like it as they have to swipe to compare things, photo 1 is the result, but photo 3 is how to interpret, etc.

I was looking at a recent post on being able to move Choice components from row by row to be on a single row (for making drop-downs for date of birth). and it occurred to me that it might be possible to have 3 image components… then CSS to put them in the same ‘row’ - with the feature of being able to click to enlarge.

Failing that, the nicest option would be to turn the images in 3 columns on the same row into a usable relationship that Glide will allow me to use as an inline list.

Open to (yet) more ideas! Thanks!

---

<div class="post-metadata">

**Author:** ![SantiagoPerez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/santiagoperez/32/16807_2.png) [@SantiagoPerez](https://community.glideapps.com/u/SantiagoPerez)\
**Post date:** [June 8, 2021, 11:57am UTC](https://community.glideapps.com/t/maybe-css-magic-possible-moving-image-components-to-be-on-the-same-row/27772/2 "2021-06-08T11:57:29Z")

</div>

Hola @Mark_Turrell

I am not a CSS expert. In fact I was the one who asked for the CSS for the 3 choice component you mentioned.

I got curious about this and gave it a try. You can actually enlarge the images but I don’t know why the 3rd image is not being displayed. Maybe @Manu.n has a better idea on this.

![Untitled design (3)](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/4/f4cb38abc98844068cc1e54c91329ab18f286605.gif)

---

<div class="post-metadata">

**Author:** ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)\
**Post date:** [June 8, 2021, 12:01pm UTC](https://community.glideapps.com/t/maybe-css-magic-possible-moving-image-components-to-be-on-the-same-row/27772/3 "2021-06-08T12:01:28Z")

</div>

Hi @SantiagoPerez  
I failed to grow your image to see your CSS but here’s something like that

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/f/5f2836d5262b234180fa79c164852d25909fb72e.jpeg)

CSS

```auto
<pre><span><style>

/* Img 1 (2nd component) */
div[id*='screenScrollView'] > div > :nth-child(2) {
display:fixed;
margin-left:17px;
width:110px;
}

/* Img 2 (3eme component) */
div[id*='screenScrollView'] > div > :nth-child(3) {
display:fixed;
margin-top:-110px;
margin-left:133px;
width:110px;
}

/* Img 3 (4eme component) */
div[id*='screenScrollView'] > div > :nth-child(4) {
display:fixed;
margin-top:-110px;
margin-left:249px;
width:110px;
}

</style></span></pre>

```

---

<div class="post-metadata">

**Author:** ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)\
**Post date:** [June 8, 2021, 12:09pm UTC](https://community.glideapps.com/t/maybe-css-magic-possible-moving-image-components-to-be-on-the-same-row/27772/4 "2021-06-08T12:09:58Z")

</div>

> [@SantiagoPerez](#):
>
> Je suis devenu curieux à ce sujet et j’ai essayé. Vous pouvez effectivement agrandir les images mais je ne sais pas pourquoi la 3ème image ne s’affiche pas. Peut-être@Manu.n a une meilleure idée à ce sujet.

It’s good to be curious. Ah I managed to read, just reduce the width

---

<div class="post-metadata">

**Author:** ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)\
**Post date:** [June 8, 2021, 12:38pm UTC](https://community.glideapps.com/t/maybe-css-magic-possible-moving-image-components-to-be-on-the-same-row/27772/5 "2021-06-08T12:38:07Z")

</div>

with rounded edges it’s prettier, no, oh well!

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/2/02288438ac789181c440b1d54fd7f1f2bf36d37f.jpeg)
