css nebeneinander anordnen code example
Example 1: nebeneinander anordnen css
display: flex;
flex-direction: row;
Example 2: css 2 divs nebeneinander
#right{
background: green;
width: 100%;
}
#left {
margin-top: 5px; /* to test if they intersect*/
background: red;
}
#container {
width: 800px;
}
<div id="container">
<div id="left"> This div is as big as it's content</div>
<div id="right"> rest of space</div>
</div>