Community Groups are officially here!
We've released Groups, a new feature that enables us to connect community members of similar industries and interests in a shared, private space. You can check out all of the details here, including information about who can join, how to join, and what Groups are currently offered. Please leave your feedback through this Community Groups Feedback Survey.

center "loop & merge" images

NoaVardi
NoaVardi Qubie ✭
edited June 23 in Survey Platform

Hi everyone

I'm trying to center images. I tried a lot of codes I found, but nothing works.

The preference is to use HTML or JavaScript rather than CSS because the center is for a specific question.

In the question, the URL of the images appears in LOOP & MERGE so I do not have the specific name of the image to write in the code.

Examples of what I already tried:

<style>
    .img-container {
        text-align: center;
        display: block;
    }
</style>


.center {   
    display: block;   
    margin-left: auto;   
    margin-right: auto; 
 }


<style> 
    .ChoiceStructure {     
        text-align: center;
    } 
</style>

Any suggestions?

Thanks a lot!

Answers

  • Hi @NoaVardi ,

    Can you share a snapshot of how it looks currently? Have you tried adding HTML center tag.

    For e.g.:

    <center><img src="image_url"></img></center>

  • now it is look like this:

    I do not know how I can use such a tag, because I have a lot of images, each with a different URL (it's in loop & merge):