I would like to have colored vbars between my links. What is the best way to do that?
The case
Home | About us | Contact
The vertical bars need to be blue. When I use a <div> tag with color blue I get this:
Home
|
About us
|
Contact
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.
An alternative to
float:leftis to usedisplay: inline, that can cause other unexpected behaviors but it might work for what you need. Also, you can you a<span>which is the same as a<div>except it isdisplay: inlineby default