Open format.css from the Travel West folder.
Copy the formatting for the topnav, navbar, navbar li, and navbar li a areas:
- #topnav {
- background: #cccccc;
- width: 100%;
- }
- #navbar {
- background: #cccccc;
- float: left;
- width: 100%;
- padding: 0;
- margin: 0;
- list-style: none;
- }
- #navbar li {
- display: inline;
- }
- #navbar li a {
- background: #cccccc;
- float: left;
- padding: 5px 20px;
- }
Change the background colors to black (#000000).
In the navbar li a formatting, put it in the Arial font, change its color to white, and remove the underlining:
- #navbar li a {
- background: #cccccc;
- float: left;
- padding: 5px 20px;
- font-family: arial, helvetica, sans serif;
- color: #ffffff;
- text-decoration: none;
- }
- Open index.html from the Travel West folder.
- Copy the HTML code in the topnav area:
- Paste it into advlayout.html in the Advanced Layout folder, below the topright area.
- Change California, The Rockies, and The Midwest to:Laptops
Cell Phones
PDAs
The Magazine for People Who Like Gadgets
In layout.css, insert formatting that changes the background color of the navbar links when the mouse pointer hovers on top of them:
- #navbar li a:hover {
- background: #ffff00;
- color: #000000;
- }