I am struggling to adjust the positioning of my divs using relative and absolute properties. Any advice on how to resolve this issue would be greatly appreciated. Thank you.
Example Code:
<div id="game"><img src="gta-game.jpg" height="100" width="70" alt="gta"></div>
<div id="gamename">Grand Theft Auto V</div>
<div id="rating">9/10<div>
<div id="system">PS4</div>
CSS:
#game{
height: 100px;
width: 70px;
display: relative;
left: 50px;
}
#gamename{
display: relative;
right: 50px;
}
#rating{
display: relative;
right: 100px;
}
#system{
display: relative;
right: 200px;
}