```
<div>
<div style="float:left"><img src="imageurl"></div>
<div style="float:right;vertical-align:middle">Text to right of image</div>
</div>
```
You may need to add some more styles for width, etc.
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_img_align
Hi, I'd like to display an image of a raffle ticket to all participants and change the number of each raffle ticket. I thought i could use an integer randomizer and piped text, but I do not know how I can display the randomly generated number on the raffle ticket image... Any help would be much appreciated!
I am attaching a screenshot of what my raffle ticket question would hopefully look like:
https://www.qualtrics.com/community/discussion/comment/35842#Comment_35842Make the raffle ticket image the background of a
Thanks for the swift reply, TomG!
Could you help me with 1) inserting a random number generator in the html code and 2) make this raffle ticket image the background of the
">https://i.pinimg.com/originals/70/57/12/705712ed65677724b5bac5c2af30b35f.png">
PS. I managed to insert the random number generator, but my code now displays the random number below the ticket image, whereas I'd like it to be on top of the image. Any ideas of how I can make this happen?
">https://i.pinimg.com/originals/70/57/12/705712ed65677724b5bac5c2af30b35f.png">
You only need one
TomG I am still not able to figure this out, so if you could help me with the code that would be fantastic!
Try:
where X and Y and the width and height of your image.
Thanks TomG, I am almost there... I tried different values for the height and width parameters (and also percents), but I only get to see a think stripe from the middle of the image. I attach a screenshot. Do you know why this may happen?
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.