UI / UX Design
Member Avatar

Hey, I'm making a website, and have some css to put two divs next to each other.
This is my css and HTML code :
[CODE].class1 {
float:left;
border-right:2px solid …

UI / UX Design
Member Avatar

Hey, I'm making a website, and have some css to put two divs next to each other.
This is my css and HTML code :
[CODE].class1 {
float:left;
border-right:2px solid …

Topic by Matthew N.
<div>
    <div style="float:left">
        <h2>First Div </h2>
    </div>
    <div style="float:left">
        <h2> Second Div</h2>
    </div>
</div>

Source: Div Side by Side

Niva