I’d like to add a bulleted list to a tooltip/hover over in the text of a Qualtrics survey question. Is there any way to do this?
I’m using the following, which of course doesn’t separate out the bullet points into separate lines:
<span class="tooltip" data-text="Here are a few examples: ● Example A, ● Example B, ● Example C, ● Example D">questions</span>
Best answer by Nam Nguyen
Unfortunately that didn’t work. Thank you though!
<style type="text/css"> .tooltip { position: relative; display: inline-block; cursor: pointer; } .tooltiptext { visibility: hidden; width: 200px; background-color: black; color: #fff; text-align: left; border-radius: 6px; padding: 5px; position: absolute; z-index: 1; top: 100%; left: 0; } .tooltip:hover .tooltiptext { visibility: visible; } .tooltiptext ul { list-style-type: disc; padding-left: 20px; } </style> <div class="tooltip">QuestionTEXT <span class="tooltiptext"> List Example <ul> <li>Example A</li> <li>Example B</li> <li>Example C</li> </ul> </span> </div>Try this