Horizontal List help
-
Hello! I am new to WordPress and am trying to teach myself CSS as I go by viewing the source of blogs I like and, um, stealing the good stuff ?? I am using Firefox and do not know how it looks in IE. I am also using Kubrick.
Anyway, I have two formatting questions for my blog, located at: https://host256.ipowerweb.com/~cruzcont/blog/index.php
One, the black line that runs through my horizontal list, just underneath the header graphic, as you can see, goes out too far. I played around with the CSS as far as colors go, but I don’t know how to “shrink” the width of the line. The CSS is as follows:
#navcontainer
{
margin-left: auto;
margin-right: auto;
margin-bottom: 40px;
border-top: 1px solid #000000;
z-index: 1;
}
#navcontainer ul
{
list-style-type: none;
text-align: center;
margin-top: -8px;
padding: 0;
position: relative;
z-index: 2;
}
#navcontainer li
{
display: inline;
text-align: center;
margin: 0 5px;
}
#navcontainer li a
{
padding: 1px 7px;
color: #000000;
background-color: #999966;
border: 1px solid #000000;
text-decoration: none;
}
#navcontainer li a:hover
{
color: #000;
background-color: #CCCC99;
border: 1px solid #000000;
border-top: 2px solid #000000;
border-bottom: 2px solid #000000;
}
#navcontainer li a#current
{
color: #000;
border: 1px solid #000000;
border-top: 2px solid #000000;
border-bottom: 2px solid #000000;
}
And second, is there a way I can move down the right menu a centimeter or two? I would like there to be a small vertical space between the bottom of my header graphic and the menu, which is a darker color than the rest of my page.
I appreciate any help that can be spared. Thanks!
Michael Cruz
- The topic ‘Horizontal List help’ is closed to new replies.