I am trying to display two icons side by side using HTML code. Here is what I have:
<head>
<style>
.icon_one{
width:25px;
height: 20px;
background:#ffffff url('icon_one.jpg') no-repeat right top;
}
.icon_two{
width:25px;
height: 20px;
background:#ffffff url('icon_two.jpg') no-repeat right top;
}
</style>
</head>
<div class="icons"><div class="icon_one"></div><div class="icon_two"></div></div>
My goal is to arrange them side by side like this: icon1|icon2
However, the current output of the code displays them vertically as:
icon1
icon2
Any guidance on how to achieve the desired layout would be greatly appreciated.