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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
divs are block elements by default. You can change this in CSS
but you might be better off using a list and CSS to achieve what you want.