hi
I used gridview that define div on ItemTemplate below is code:
<asp:TemplateField ItemStyle-Width="101px" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle">
<ItemTemplate>
<div id="ersal1">
<asp:HyperLink ID="HyperLink1" runat="server" CssClass="LBsefSe" NavigateUrl='<%# "ViewSendOrder.aspx?&PeygiriCode=" + Eval("PeygiriCode") %>'>ارسال شده</asp:HyperLink>
</div>
</ItemTemplate>
</asp:TemplateField>
and css:
#ersal1
{
float:right;
width:104px;
height:46px;
background-color:#9fa490;
}
see below image:
I show <div id="ersal1"> with red arrow and as you see here is gap between <div> and TemplateField that I show with green arrow how I can define Div that fill columns without any gap (white space)
Best regards
neda