PDA

View Full Version : Navbar - Font Size and Font Type


beaudis
Apr-11-2008, 01:31 PM
I want to increase the Font Size and change the Font Type (Comic Sans MS) in my Navbar. What code do I need to add to what I already have?

#navcontainer ul {
margin: 0;
padding: 1em 1em;
list-style-type: none;
text-align: center;
}
#navcontainer ul li {
display: inline;
}
#navcontainer ul li a {
text-decoration: none;
padding: .5em 1em;
color: yellow;
background-color: none;
}
#navcontainer ul li a:hover {
color: #fff;
background-color: none;
}


My site is located at http://scottsworld.smugmug.com

denisegoldberg
Apr-11-2008, 01:44 PM
Experiment with the size until you like the look:

#navcontainer ul {
margin: 0;
padding: 1em 1em;
list-style-type: none;
text-align: center;
font-family: comic sans ms;
font-size: 125%;
font-weight: bold;
}
--- Denise

beaudis
Apr-11-2008, 02:00 PM
Perfect! That did the trick.

Experiment with the size until you like the look:

#navcontainer ul {
margin: 0;
padding: 1em 1em;
list-style-type: none;
text-align: center;
font-family: comic sans ms;
font-size: 125%;
font-weight: bold;
}
--- Denise