How To Add A Vertical Navigation CSS Menu To Blogger?
Well the process is as simply as it can be. Simply follow these steps carefully,
Go To Blogger > Layout > Edit HTML
Back-up your template
All Navigation Menus below uses two pieces of codes. One is The CSS code which is responsible for the look and feel of the menus and the second is the HTML code which is responsible for positioning the menus. So lets know where to add each code!
3. Paste the CSS code for your selected Menu just above ]]></b:skin>
4. For the HTML code there can be two positions either your right sidebar or left sidebar. Depends how many columns you have.
If you have a right sidebar then paste the HTML code just below <div id='sidebar-wrapper'> or this <div id='sidebar-wrapper-right'>
If you have a left sidebar then paste the HTML code just below <div id='sidebar-wrapper-left'>
Note:- Since most templates use different coding therefore if you could not find the above codes then don’t worry simply share your blog URL in the comment box and I will view your template coding and will tell you instantly which code to search for!
5. Finally save your template and see a beautiful Navigation Menu hanging on your sidebar :D
Editing The Links In The Navigation Menu
To change the Tab Menu Links and Titles, simply edit this bolded part of the HTML code,
<li><a href="#1" >Link 1</a></li>
<li><a href="#2" >Link 2</a></li>
<li><a href="#3" >Link 3</a></li>
<li><a href="#4" >Link 4</a></li>
<li><a href="#5" >Link5</a></li>
Replace #1, #2, #3 etc with your Page Links/URL and replace Link1, Link2, Link3 etc with your Page Titles. If you wish to add or delete a tab then simply add or delete this line from the HTML code,
<li><a href="#" >Link</a></li>
See Demos With MBT HTML Editor!
Navigation Menu #1
CSS CODE:
#menu6 ul { list-style: none; margin: 0; padding: 0; } #menu6 img { border: none; } #menu6 { width: 200px; margin: 10px; } #menu6 li a { font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 10pt; font-weight: bold; background: #FFF; height: 24px; text-decoration: none; } #menu6 li a:link, #menu6 li a:visited { color: #FFF; display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaYTZ-xB4DCCVn7ADnkPY1LQoFxhWSvZhZxpN0ylol3o_-wgKGk-MNcES6Q9URAiV9MFy70WV31gxyVI7pFW00kJ73L5VfYAh5GWk4NphTuVr5c-aij3lWo1qNkZSn495T12KlfMJr3wk/s800/menu6.gif); padding: 8px 0 0 20px; } #menu6 li a:hover { color: #FFF; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaYTZ-xB4DCCVn7ADnkPY1LQoFxhWSvZhZxpN0ylol3o_-wgKGk-MNcES6Q9URAiV9MFy70WV31gxyVI7pFW00kJ73L5VfYAh5GWk4NphTuVr5c-aij3lWo1qNkZSn495T12KlfMJr3wk/s800/menu6.gif) 0 -32px; padding: 8px 0 0 20px; }
HTML CODE:
<div id="menu6"> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> <li><a href="#4">Link 4</a></li> <li><a href="#5">Link5</a></li> </ul> </div>
Navigation Menu #2
CSS Code:
#menu3 ul { list-style: none; margin: 0; padding: 0; } #menu3 img { border: none; } #menu3 { width: 200px; border: 1px solid #ccc; margin: 10px; } #menu3 li a { height: 32px; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 10pt; font-weight: bold; background: #FFF; height: 24px; text-decoration: none; } #menu3 li a:link, #menu3 li a:visited { color: #888; display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNU_vQC_NejkbAKQAPhp6hhi-WSANjQ4nscrHUPHMpzoiq3ni66PZ0QWj-u6EzOcrCr9TwOSDH6liWrlGF9992JDwC7xCT9-FqH_-rHrS2pEKV_frTxIXICfTJ6gAFV-yzu8C78ivFJkQ/s800/menu3.gif); padding: 8px 0 0 30px; } #menu3 li a:hover, #menu3 li #current, #menu3 li a:active { color: #283A50; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNU_vQC_NejkbAKQAPhp6hhi-WSANjQ4nscrHUPHMpzoiq3ni66PZ0QWj-u6EzOcrCr9TwOSDH6liWrlGF9992JDwC7xCT9-FqH_-rHrS2pEKV_frTxIXICfTJ6gAFV-yzu8C78ivFJkQ/s800/menu3.gif) 0 -32px; padding: 8px 0 0 30px; }
HTML Code:
<div id="menu3"> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> <li><a href="#4">Link 4</a></li> <li><a href="#5">Link5</a></li> </ul> </div>
Navigation Menu #3
CSS Code:
#menu9 ul { list-style: none; margin: 0; padding: 0; } #menu9 img { border: none; } #menu9 { width: 200px; margin: 10px; } #menu9 li a { height: 32px; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 10pt; font-weight: bold; background: #FFF; height: 24px; text-decoration: none; } #menu9 li a:link, #menu9 li a:visited { color: #FFF; display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJla-n3dVV2h9jx8jj5ooUBl_RlA39o4-q-ecv0qxu674PmP5biz1gBRTjtqyTaEHLnN-t7_OCotYqj6LYYmat4HN5wCHwuvFUe9Iz58-IxeFVrJFB4ayiNLdZbJmziaNZ28fZGEOB-b8/s800/menu9.gif); padding: 8px 0 0 35px; } #menu9 li a:hover { color: #FFF; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJla-n3dVV2h9jx8jj5ooUBl_RlA39o4-q-ecv0qxu674PmP5biz1gBRTjtqyTaEHLnN-t7_OCotYqj6LYYmat4HN5wCHwuvFUe9Iz58-IxeFVrJFB4ayiNLdZbJmziaNZ28fZGEOB-b8/s800/menu9.gif) 0 -32px; padding: 8px 0 0 35px; }
HTML Code:
<div id="menu9"> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> <li><a href="#4">Link 4</a></li> <li><a href="#5">Link5</a></li> </ul> </div>
Navigation Menu #4
CSS Code:
#menu6 ul { list-style: none; margin: 0; padding: 0; } #menu6 img { border: none; } #menu6 { width: 200px; margin: 10px; } #menu6 li a { height: 32px; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 10pt; font-weight: bold; background: #FFF; height: 24px; text-decoration: none; } #menu6 li a:link, #menu6 li a:visited { color: #8D9179; display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqi8rzgQgrYNLY4J2V8zvZk2MrQ1vC3DkgaXJjN5XEKOWJMJhRe9s5I7UBTqc_HvvBfETsDXj2ABujFnaF3OLDVnXZXP_YCi3gIAuttCRH6ZTQSiJ5VWeACqjfMBEd3DQJGFqWS8t4tk4/s800/menu6.gif); padding: 8px 0 0 10px; } #menu6 li a:hover, #menu6 li #current, #menu6 li a:active { color: #6C7250; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqi8rzgQgrYNLY4J2V8zvZk2MrQ1vC3DkgaXJjN5XEKOWJMJhRe9s5I7UBTqc_HvvBfETsDXj2ABujFnaF3OLDVnXZXP_YCi3gIAuttCRH6ZTQSiJ5VWeACqjfMBEd3DQJGFqWS8t4tk4/s800/menu6.gif) 0 -32px; padding: 8px 0 0 10px; }
HTML Code:
<div id="menu6"> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> <li><a href="#4">Link 4</a></li> <li><a href="#5">Link5</a></li> </ul> </div>
Navigation Menu #5
CSS Code:
#menu14 ul { list-style: none; margin: 0; padding: 0; } #menu14 img { border: none; } #menu14 { width: 200px; margin: 10px; } #menu14 li a { height: 32px; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 10pt; font-weight: bold; background: #FFF; height: 24px; text-decoration: none; } #menu14 li a:link, #menu14 li a:visited { color: #fff; display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinlbkq3MOzcZE1I9datID1HC9j9QCR7MwqncP-GJxms8wUvGK94oWZ_7PJlehyphenhyphenHPOSD_LpKjEm8S5H2DpXJmefTIXTY4bSIPev3tgMbONO1hAwQPTYhA0pF5FWhbG8OJjkPmC_wc_fAv0/s800/menu14.gif) 0 -32px; padding: 8px 0 0 10px; } #menu14 li a:hover { color: #333; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinlbkq3MOzcZE1I9datID1HC9j9QCR7MwqncP-GJxms8wUvGK94oWZ_7PJlehyphenhyphenHPOSD_LpKjEm8S5H2DpXJmefTIXTY4bSIPev3tgMbONO1hAwQPTYhA0pF5FWhbG8OJjkPmC_wc_fAv0/s800/menu14.gif); padding: 8px 0 0 10px; }
HTML Code:
<div id="menu14"> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> <li><a href="#4">Link 4</a></li> <li><a href="#5">Link5</a></li> </ul> </div>
Navigation Menu #6
CSS Code:
#menu7 ul { list-style: none; margin: 0; padding: 0; } #menu7 img { border: none; } #menu7 { width: 200px; margin: 10px; } #menu7 li a { height: 32px; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 10pt; font-weight: bold; background: #FFF; height: 24px; text-decoration: none; } #menu7 li a:link, #menu7 li a:visited { color: #FFF; display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBXxxdkug38ewo4N5pbzMfyXNePVJKwqNdlHyHn9FQtAu8MkWVA1mZoVC4s_qw75OJPnZUXhyphenhyphen4rHiwfJwfgqgSVOh3ZXFLoWTBx0Vz72k-D3ZShIRVHc7BYHqb6zu1jzJGX3aNHXybVBQ/s800/menu7.gif); padding: 8px 0 0 30px; } #menu7 li a:hover { color: #FFF; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBXxxdkug38ewo4N5pbzMfyXNePVJKwqNdlHyHn9FQtAu8MkWVA1mZoVC4s_qw75OJPnZUXhyphenhyphen4rHiwfJwfgqgSVOh3ZXFLoWTBx0Vz72k-D3ZShIRVHc7BYHqb6zu1jzJGX3aNHXybVBQ/s800/menu7.gif) 0 -32px; padding: 8px 0 0 30px; }HTML Code:
<div id="menu7"> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> <li><a href="#4">Link 4</a></li> <li><a href="#5">Link5</a></li> </ul> </div>
Navigation Menu #7
CSS Code:
#menu2 ul { list-style: none; margin: 0; padding: 0; } #menu2 img { border: none; } #menu2 { width: 200px; border-style: solid solid none solid; border-color: #677D92; border-size: 1px; border-width: 1px; margin: 10px; } #menu2 li a { height: 32px; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 10pt; font-weight: bold; background: #FFF; height: 24px; text-decoration: none; } #menu2 li a:link, #menu2 li a:visited { color: #fff; display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5QA9GxWTkrscOFTlmoKR5_uKVR818owwc1-Vf5JLv9T9LruQjKIr7UNplsRRHkku8CYeUGJFLYFI81PYqViTc6bvjcCSRcQD2bGJmO9z71mKEN6xxLAD5laNW9kyMjDSbjV1G7hgvn4c/s800/menu2.gif); padding: 8px 0 0 10px; } #menu2 li a:hover, #menu2 li #current { color: #283A50; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5QA9GxWTkrscOFTlmoKR5_uKVR818owwc1-Vf5JLv9T9LruQjKIr7UNplsRRHkku8CYeUGJFLYFI81PYqViTc6bvjcCSRcQD2bGJmO9z71mKEN6xxLAD5laNW9kyMjDSbjV1G7hgvn4c/s800/menu2.gif) 0 -32px; padding: 8px 0 0 10px; } #menu2 li a:active { color: #283A50; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5QA9GxWTkrscOFTlmoKR5_uKVR818owwc1-Vf5JLv9T9LruQjKIr7UNplsRRHkku8CYeUGJFLYFI81PYqViTc6bvjcCSRcQD2bGJmO9z71mKEN6xxLAD5laNW9kyMjDSbjV1G7hgvn4c/s800/menu2.gif) 0 -64px; padding: 8px 0 0 10px; }HTML Code:
<div id="menu2"> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> <li><a href="#4">Link 4</a></li> <li><a href="#5">Link5</a></li> </ul> </div>
Navigation Menu #8
CSS Code:
#menu9 ul { list-style: none; margin: 0; padding: 0; } #menu9 img { border: none; } #menu9 { width: 200px; margin-top: 10px; } #menu9 li a { height: 32px; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 10pt; font-weight: bold; background: #FFF; height: 24px; text-decoration: none; } #menu9 li a:link, #menu9 li a:visited { color: #E5E8D4; display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrLf3ZmbIjLFx_2f5vcDja5LxdHGuRpGg3vwQ3jdnOJFAm2U2mu57eKa4NEEX32jHCN3FidhtNMIbpxImmcM1k0t1NVhd1ka_LTECkDs3Uz4nLJ_LIsBR8emUbqZX2Lp-skYNTxQx1tJI/s800/menu9.gif); padding: 8px 0 0 10px; } #menu9 li a:hover, #menu9 li #current { color: #725033; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrLf3ZmbIjLFx_2f5vcDja5LxdHGuRpGg3vwQ3jdnOJFAm2U2mu57eKa4NEEX32jHCN3FidhtNMIbpxImmcM1k0t1NVhd1ka_LTECkDs3Uz4nLJ_LIsBR8emUbqZX2Lp-skYNTxQx1tJI/s800/menu9.gif) 0 -32px; padding: 8px 0 0 10px; } #menu9 li a:active { color: #fff; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrLf3ZmbIjLFx_2f5vcDja5LxdHGuRpGg3vwQ3jdnOJFAm2U2mu57eKa4NEEX32jHCN3FidhtNMIbpxImmcM1k0t1NVhd1ka_LTECkDs3Uz4nLJ_LIsBR8emUbqZX2Lp-skYNTxQx1tJI/s800/menu9.gif) 0 -64px; padding: 8px 0 0 10px; }HTML Code:
<div id="menu9"> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> <li><a href="#4">Link 4</a></li> <li><a href="#5">Link5</a></li> </ul> </div>
Navigation Menu #9
CSS Code:
#menu12 ul { list-style: none; margin: 0; padding: 0; } #menu12 img { border: none; } #menu12 { width: 200px; margin: 10px; } #menu12 li a { height: 32px; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 10pt; font-weight: bold; background: #FFF; height: 22px; text-decoration: none; } #menu12 li a:link, #menu12 li a:visited { color: #666; display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6BdYVQaaFA8I7EpVybPlfDTWosMlPHWm9jsO4X5hNL89C24ySomLNsjZYxRGzRGtr1h7w3K6kC5MoRTcaYzyx0VBQV9WFwYOqRSVaA4hIo2Otbp4JXGHt4zQ7w29f0xSH40lYyb9dAQg/s800/menu12.gif); padding: 10px 0 0 35px; } #menu12 li a:hover { color: #000; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6BdYVQaaFA8I7EpVybPlfDTWosMlPHWm9jsO4X5hNL89C24ySomLNsjZYxRGzRGtr1h7w3K6kC5MoRTcaYzyx0VBQV9WFwYOqRSVaA4hIo2Otbp4JXGHt4zQ7w29f0xSH40lYyb9dAQg/s800/menu12.gif) 0 -32px; padding: 10px 0 0 35px; }
HTML Code:
<div id="menu12"> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> <li><a href="#4">Link 4</a></li> <li><a href="#5">Link5</a></li> </ul> </div>
Navigation Menu #10
CSS Code:
#menu13 ul { list-style: none; margin: 0; padding: 0; } #menu13 img { border: none; } #menu13 { width: 200px; margin: 10px; } #menu13 li a { height: 32px; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 10pt; font-weight: bold; background: #FFF; height: 24px; text-decoration: none; } #menu13 li a:link, #menu13 li a:visited { color: #C7377D; display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUAmbv6oKqP3Qt5BJ8lw2EQrHNop3yBlJZNpSoIVzYdjIMivueQDXY26pQvyGQAiBEWdvFrcmd7zYxvo4nYClciTeUqJ2P7UG38um3uXF7JY6er91bum_XOn_MhHZKqZ6mIQfNKgQHIZU/s800/menu13.gif); padding: 8px 0 0 10px; } #menu13 li a:hover { color: #C7377D; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUAmbv6oKqP3Qt5BJ8lw2EQrHNop3yBlJZNpSoIVzYdjIMivueQDXY26pQvyGQAiBEWdvFrcmd7zYxvo4nYClciTeUqJ2P7UG38um3uXF7JY6er91bum_XOn_MhHZKqZ6mIQfNKgQHIZU/s800/menu13.gif) 0 -32px; padding: 8px 0 0 10px; }
HTML Code:
<div id="menu13"> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> <li><a href="#4">Link 4</a></li> <li><a href="#5">Link5</a></li> </ul> </div>
Navigation Menu #11
CSS Code:
#menu4 ul { list-style: none; margin: 0; padding: 0; } #menu4 img { border: none; } #menu4 { width: 200px; margin: 10px; border-style: solid solid none solid; border-color: #000; border-size: 1px; border-width: 1px; } #menu4 li a { height: 32px; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 10pt; font-weight: bold; background: #FFF; height: 24px; text-decoration: none; } #menu4 li a:link, #menu4 li a:visited { color: #CCC; display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH2iBxcKBnYaCe71_YjP-Pxsp98ISPln2ZeoBYLQ1zs8nxNY2WkdUHzr7ZZzuXrTJ62BE-yV6zEqjhdAwBMcp8hw-yutr-MoJg-kcmYBTetIsVCyV31MiRQ2gWEawJY8PBvbm0JjGfOTI/s800/menu4.gif); padding: 8px 0 0 10px; } #menu4 li a:hover { color: #FFF; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH2iBxcKBnYaCe71_YjP-Pxsp98ISPln2ZeoBYLQ1zs8nxNY2WkdUHzr7ZZzuXrTJ62BE-yV6zEqjhdAwBMcp8hw-yutr-MoJg-kcmYBTetIsVCyV31MiRQ2gWEawJY8PBvbm0JjGfOTI/s800/menu4.gif) 0 -32px; padding: 8px 0 0 10px; }
HTML Code:
<div id="menu4"> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> <li><a href="#4">Link 4</a></li> <li><a href="#5">Link5</a></li> </ul> </div>
Navigation Menu #12
CSS Code:
#menu5 ul { list-style: none; margin: 0; padding: 0; } #menu5 img { border: none; } #menu5 { width: 200px; margin: 10px; } #menu5 li a { height: 32px; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 10pt; font-weight: bold; background: #FFF; height: 24px; text-decoration: none; } #menu5 li a:link, #menu5 li a:visited { color: #FFF; display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_8_n2i9jzXdMKWhg1bOlz_BelFpVC2BGTv76gHCU-mf0n1UVPUyeXg7GzbyMLtIgk3eOtYlOlIMk2iNTcHeIasPlSHCqwL-DEVuG64LXnUhvbyqSvOg7YQFmxcaXRxO_dVkUwdBKmnp0/s800/menu5.gif); padding: 8px 0 0 10px; } #menu5 li a:hover { color: #FFF; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_8_n2i9jzXdMKWhg1bOlz_BelFpVC2BGTv76gHCU-mf0n1UVPUyeXg7GzbyMLtIgk3eOtYlOlIMk2iNTcHeIasPlSHCqwL-DEVuG64LXnUhvbyqSvOg7YQFmxcaXRxO_dVkUwdBKmnp0/s800/menu5.gif) 0 -32px; padding: 8px 0 0 10px; }
HTML Code:
<div id="menu5"> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> <li><a href="#4">Link 4</a></li> <li><a href="#5">Link5</a></li> </ul> </div>
Navigation Menu #13
CSS Code:
#menu5 ul { list-style: none; margin: 0; padding: 0; } #menu5 img { border: none; } #menu5 { width: 200px; border-style: none solid none solid; border-color: #D0D0D0; border-width: 1px; margin: 10px; } #menu5 li a { height: 32px; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 10pt; font-weight: bold; background: #FFF; height: 24px; text-decoration: none; } #menu5 li a:link, #menu5 li a:visited { color: #777; display: block; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw0FoXj03NH8nNA2GofYoVLJsULxAvUxt8MA6o4DndLIEuaGapt6w4mNC0CEXsLbPM1oIVzTBkitDdqAKDYcPTbGhsPozViQpGk9Si3FFQnr1UwG3artDLsqRXlW0jchUQQAolWufdjro/s800/menu5.gif); padding: 8px 25px 0 10px; text-align: right; } #menu5 li a:hover, #menu5 li #current { color: #fff; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw0FoXj03NH8nNA2GofYoVLJsULxAvUxt8MA6o4DndLIEuaGapt6w4mNC0CEXsLbPM1oIVzTBkitDdqAKDYcPTbGhsPozViQpGk9Si3FFQnr1UwG3artDLsqRXlW0jchUQQAolWufdjro/s800/menu5.gif) 0 -32px; padding: 8px 25px 0 10px; text-align: right; } #menu5 li a:active { color: #fff; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw0FoXj03NH8nNA2GofYoVLJsULxAvUxt8MA6o4DndLIEuaGapt6w4mNC0CEXsLbPM1oIVzTBkitDdqAKDYcPTbGhsPozViQpGk9Si3FFQnr1UwG3artDLsqRXlW0jchUQQAolWufdjro/s800/menu5.gif) 0 -64px; padding: 8px 25px 0 10px; text-align: right; }
HTML Code:
<div id="menu5"> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> <li><a href="#4">Link 4</a></li> <li><a href="#5">Link5</a></li> </ul> </div>
Navigation Menu #14
CSS Code:
#button { width: 12em; border-right: 1px solid #000; padding: 0 0 1em 0; margin-bottom: 1em; font-family: Tahoma, Arial, sans-serif; /*'Trebuchet MS', 'Lucida Grande', Verdana, Arial, sans-serif;*/ font-size : 10px; background-color: #90bade; color: #333; } #button ul { list-style: none; margin: 0; padding: 0; border: none; } #button li { border-bottom: 1px solid #90bade; margin: 0; list-style: none; list-style-image: none; } #button li a { display: block; padding: 5px 5px 5px 0.5em; border-left: 10px solid #1958b7; border-right: 10px solid #508fc4; background-color: #2175bc; color: #fff; text-decoration: none; width: 100%; } html>body #button li a { width: auto; } #button li a:hover { border-left: 10px solid #1c64d1; border-right: 10px solid #5ba3e0; background-color: #2586d7; color: #fff; } #button li #active { border-left: 10px solid #1c64d1; border-right: 10px solid #5ba3e0; background-color: #2586d7; color: #fff; }
HTML Code:
<div id="button"> <ul> <li><a href="#1">Link 1</a></li> <li><a href="#2">Link 2</a></li> <li><a href="#3">Link 3</a></li> <li><a href="#4">Link 4</a></li> <li><a href="#5">Link5</a></li> </ul> </div>
0 Comments: