Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a listview, i want to design such a way that each record must be in box.
e.g.
--------------
id: 1212
name:john
Loc:toronto
--------------
id: 1343
name:zing
Loc:kazika
--------------
id: 1222
name:kat
Loc:New-York

What I have tried:

.ItemSeparatorStyle{
         height: 180px;
         width: 1px;
         border-left: 1px solid Black;
         margin-top: 5px;
         margin-bottom: 5px;
         float: left;
 }


<ItemSeparatorTemplate>
    <tr id="TD5" class="ItemSeparatorStyle" runat="server" colspan="3">
        <td></td>
    </tr>
</ItemSeparatorTemplate>
Posted
Comments
Vincent Maverick Durano 16-Aug-18 9:29am    
What's the current output? Does your CSS being applied?
[no name] 17-Aug-18 0:44am    
i had written css code, but output doesn't reflected..
Kindly guide me to design to display record in box like structure..
Vincent Maverick Durano 17-Aug-18 9:07am    
Box like you want a solid border for each row item?
Laxmidhar tatwa technologies 29-Sep-18 7:08am    
change the bordeer style like
border: 25px solid green;

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900