Twine Version: Latest download
Story Format: Sugarcube
Hi.
CSS clearly is not my strong point here, because i cant figure out this one.
So idea is that passage allways has same background image (bookpages) and in passage ill use two divs. One on left and one on right. Just like page books.
Imo, other div should now float right but it wont :-/ Also, bookpages is not shown full.
CSS:
#passages {
width: 100%;
margin; 2% 2% 2% 2%;
background: url("https://ekbass-codes.000webhostapp.com/img/bookpages.png");
}
.pageone {
max-width: 45%;
height: 100%
margin: 2%;
float: left;
border-style: solid;
border: #FF1493;
}
.pagetwo {
max-width: 45%;
height: 100%
margin: 2%;
float: right;
border-style: solid;
border: #FF1493;
}
Passage itself:
<div id="pageone">
blaablaa
blaablaa
page one
</div>
<div id="pagetwo">
foo bar
dim dam dom
page two
</div>
![twineprob|690x307](upload://2B1RRVXzZpQP6pwr5PbMCJQWoIH.jpeg)