0
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style type="text/css">
* {
margin: 0;
padding: 0;
vertical-align: baseline;
}
body {
width: 100%;
background-color: black;
}
.loren{
display: block;
left: 0;
width: 50%;
}
.ipsulum{
display: block;
left: 0;
width: 50%;
}
p {
margin: 5px;
font-family: Arial;
font-size: 15pt;
font-weight: bold;
background-color: gray;
color: white;
}
</style>
</head>
<body>
<div class="loren">
<p>Loren</p>
</div>
<div class="ipsulum">
<p>Ipsulum</p>
</div>
</body>
</html>
You should elaborate more on the question, show what you tried, explain the question better, don’t just put code and wait for an answer. You should use
float:left
– I_like_trains