I would like to style this image and text so that they float to the right with some spacing around them. However, when using float: right;, they end up extending beyond the default resolution excessively.
#pageMain {
margin: 100px;
}
#aboutGame {
float: right;
width: 420px;
padding: 10px;
}
#aboutGame span {
width: ;
font-size: 20px;
font-family: 'Lato', sans-serif;
}
#aboutGame img {
border: 3px solid black;
}
<section id="pageMain">
<div id="aboutGame">
<span>
As if awakening from a deep sleep, you find yourself in a strange, contradictory world of ancient ruins and advanced technology. Tasked by your creator with solving a series of increasingly complex puzzles, you must decide whether to have faith, or to ask the difficult questions: Who are you? What is your purpose and what are you going to do about it?</span>
<img src="http://cdn.akamai.steamstatic.com/steam/apps/257510/ss_ded5cd1a34df5b4d9015f71caf35db247b2579c4.1920x1080.jpg?t=1498680189" height="500px" width="800px" />
</div>
</section>