0 votes
asked by (140 points)
is it possible to overlay the image on top of text? If it is how should I do it? Need help ASAP

1 Answer

0 votes
answered by (14.5k points)

Just set the CSS top and left properties on the image, along with the appropriate positioning value to position the image over the text.  Opacity might also help if you want them to be able to see the text through the image.

You can set the CSS in the story's Stylesheet or in the "style" parameter on an "img" element.

If you're having trouble getting the positioning correct, right-click on the image and click "Inspect".  Then you can play around in the "Styles" section until you find the right values to put in your code so it appears where you want it to appear.

Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.
...