I have 3 div tags which I would like to show side by side in one row.
They are located inside a main div:
<div class="dvItemContainer">
<div class="nameContainer">content-1</div>
<div class="quantityDiv">Content-2</div>
<div class="dvLnkContainer">Content-3</div>
</div>
The classes are:
.dvItemContainer
{
width:250px;
float:right;
cursor:pointer;
overflow: hidden;
max-width:250px;
}
.nameContainer
{
width:150px;
float:left;
max-width:150px;
overflow:hidden;
}
.quantityDiv
{
width:60px;
float:right;
}
.dvLnkContainer
{
width:40px;
float:right;
right:0;
visibility:visible;
}
This code defined inside a user control which I use as Itemtemplate unside asp:Repeter control.
<ItemTemplate>
<div style="width:100%; display:inline;" runat="server">
<prod:ProductItemTagName ID="productItem" width="100%" runat="server" />
</div>
</ItemTemplate
Somehow these divs take one whole row for each other.
For example it shows it like that:
Thank you !