Reputation: 317
I Have a List
which isn't diplaying like a list
, I want every <li>
to be under the other, just like a standard list.
Here is an example fiddle:
Upvotes: 0
Views: 62
Reputation: 102
I added the following patch to your CSS.
#settingNev ul {
display:table !important;
}
#settingNev ul li {
display:table-row !important;
}
Here is the entire code mate:
Upvotes: 0
Reputation: 9131
Clearing floats is your Answer Use clear:both;
Or overflow:hidden
#settingNev li {
overflow:hidden /*Add this to the make li in flow*/
display: block;
margin: 0;
padding: 0;
}
For more Detail Refer This
Upvotes: 0
Reputation: 10265
If you don't want the list in horizontal way, please don't use float:left;
Upvotes: 0
Reputation: 510
#settingNev li {
display: block;
margin: 0;
padding: 0;
clear:both;
}
add clear both to show as list
Upvotes: 6