0 votes
in SoSci Survey (dt.) by s198595 (110 points)
edited by SoSci Survey

The photos in my stimulus are currently not displayed correctly on mobile phone. I integrated the photos with the following code:

style="text-align: center"; ><img src="Tabak2.jpg" style ="max-width: 100%" alt="Meme 1 zur Tabakinitiative"

I was hoping that the command style ="max-width: 100%" would change the problem, but nothing changed.

My questionnaire can be found here: www.soscisurvey.de/pretestmemes/

Thank you!

by SoSci Survey (304k points)
What is the correct HTML code? It seems you have postet two half tags?
by s198595 (110 points)
I used the following code

<p style="text-align: center"; ><img src="Tabak2.jpg" style ="max-width: 100%" alt="Meme 1 zur Tabakinitiative"></p>
by SoSci Survey (304k points)
Looks good so far - except maybe for the whitespace between "style" and the equal-sign (=). The image should not lap over the quationnaire. What does it actually do? Would you like to post a pretest link directly (!) to the respective page?

1 Answer

0 votes
by SoSci Survey (304k points)

Thanks for the pretest URL.

It seems that you have a little typo in max-with: 100%, it has to be max-width: 100% (missing the d).

by s198595 (110 points)
Thanks for your help! All good now.

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...