I have a menu bar and I want to create a div for each menu item so that they are separately horizontally by 5px. How do I do that?
It seems that by simply wrapping an item around a div, it automatically causes each menu item to go on a new line.
By default <DIV>
does cause a line break.
You probably want to use a <SPAN>
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With