Created
July 4, 2020 10:24
-
-
Save ivanteoh/b76f17137e2299c55a27e845e92ba24a to your computer and use it in GitHub Desktop.
Creating a Horizontal Menu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="navmenu"> | |
| <ul> | |
| <li><a href="<?php echo get_settings('home'); ?>">Home</a></li> | |
| <li><a href="blog">Blog</a></li> | |
| <li><a href="about">About</a></li> | |
| </ul> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Begin NavMenu */ | |
| #navmenu | |
| { | |
| font-size:14px; | |
| color:#73A0C5; | |
| font-weight:bold; | |
| padding:6px; | |
| overflow:auto; | |
| height:1%; | |
| clear:both; | |
| } | |
| #navmenu li | |
| { | |
| display: inline; | |
| } | |
| #navmenu a | |
| { | |
| color:#73A0C5; | |
| text-decoration:none; | |
| margin:0 10px; | |
| height:23px; | |
| line-height:23px; | |
| float:left; | |
| display:block; | |
| } | |
| /* End NavMenu */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment