I am looking for a display layout similar to the following:
Div1 Div2
Div3 Div4
The HTML code is structured as follows:
<div class="class1">Div1</div> <div class="class2">Div2</div>
<div class="class1">Div3</div> <div class="class2">Div4</div>
The stylesheet includes the following rules:
.class1
{
font-weight:bold;
font-size:9pt;
display:inline-block;
}
.class2
{
font-weight:normal;
font-size:9pt;
display:inline;
}
I am interested in using only CSS to achieve the desired layout without enclosing class1 and class2 within a container div.