I have the following markup for breadcrumbs menu:
<div> <span class="start-here">You are here:<span> <a href="/">example.com</a> <span class="raquo"> › </span> <a href="/news">News</a> <span class="raquo"> › </span> Title </div>
Is there a smart way to move those ›
(.raquo
) characters a few pixels up without absolute positioning when all of the elements are displayed inline? I want this character to be smaller than the others and to be displayed in the center of the line (or some pixels down/up).
(I need it to work also for IE6 and up)
Move Left - Use a negative value for left. Move Right - Use a positive value for left. Move Up - Use a negative value for top. Move Down - Use a positive value for top.
Move Left – Use a negative value for left. Move Right – Use a positive value for left. Move Up – Use a negative value for top.
.raquo { position:relative; top:-2px; }
worked best for me
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