Click here to Skip to main content
14,868,503 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have a requirement to display images look like as matrix in asp.net mvc4 view.

this is my view
XML
<style type="text/css">
    #nav {
display: table;
width: 100%;
border-collapse: collapse;
border: none;
}
#nav ul {
display: table-row;
}
#nav li {
display: table-cell;
margin: 0;
}
</style>






using css am displaying this list as horizontally,in foreach loop after some count means using if condition i have to move the list items to next line.

any one can suggest me....
Thank You
Posted

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