li next to each other css code example
Example 1: css list items next to each other
ul li{
display: inline-table;
}
Example 2: css 2 next to each other
p {
float: left;
width: 30%;
margin: 0 1%;
}
ul li{
display: inline-table;
}
p {
float: left;
width: 30%;
margin: 0 1%;
}