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