I fall into despair with this CSS. I can't get it into a 2 two column layout so that my current HTML code is on the left side and some more pics on the right side.
html body {
margin: 0;
padding: 0;
box-sizing: border-box;
width: 100%;
height: 100%;
font-family: Arial, sans-sarif;
font-size: 10px;
}
.regal {
margin: 2em;
position: absolute;
display: inline-block;
border: 1px solid;
}
.regal img {
max-width: 70%;
display: block;
}
.box {
width: 59%;
height: 45.5%;
position: absolute;
}
#regal_center {
top: 17.6%;
left: 7.3%;
}
#sortable1,
#sortable2 {
list-style-type: none;
margin: 0;
padding: 0;
float: left;
width: 100%;
height: 100%;
}
#sortable1 li,
#sortable2 li {
float: left;
cursor: pointer;
}
<body>
<div class="regal">
<img src="sources/images/tp_regal/TP_Regal_leer.jpg" alt="Regal" />
<div id="regal_center" class="box">
<ul id="sortable1" class="connectedSortable">
<li id="medium" class="skin_001"></li>
<li id="medium" class="skin_001"></li>
<li id="small" class="skin_001"></li>
</ul>
</div>
</div>
</body>
If I make 2 new div container "left", "right" with 50% and put the class "regal" into the left one so that I could make a right side, the whole thing disappears. I don't know what I'm doing wrong.
Any help would be really appreciated. Thank you very much in advance.