I was having trouble figuring out how to align text on Twine. After looking at another Sketchblog, I found a classmate having a similar issue.
I did some research and found a forum that helped me so I thought I would share the knowledge here with anyone else who might need it.
I was trying to center some of the lines on a page and keep others on the left-hand side.

This is how I achieved it:

For some reason, when I centred the one line, everything after it was also centred, so I just added another code to realign the stuff after the centred part to the left!
To make it easier, here are the codes so you can paste them into Twine!
<div id=”first-passage”> TEXT
<div>
#first-passage {
text-align: center;
}
<div id=”second-passage”> TEXT
<div>
#second-passage {
text-align: left;
}
Leave a Reply
You must be logged in to post a comment.