http://www.rsecllc.com
There is a 1px white space between the nav menu and the image slider that I
can't get rid of. I've tried all sorts of margin magicry, to no avail. I
suspect it is related to the {overflow: hidden;} applied to the
.menu-primary, which is a property leftover from the original theme. I do
not really understand why it is needed (I don't know what content is
overflowing), but when I get rid of that, the background disappears and
reverts to white.
Maybe the white line and the overflow are unrelated, but I am still
confused by the overflow property, so any insight on that would be much
appreciated regardless. Thanks very much!
I think this is all the relevant CSS:
.menu-primary,
.menu-secondary,
#header .menu {
clear: both;
background-color: #DCDCE4;
overflow: hidden;
color: #666;
font-size: 14px;
margin: 10px auto 0 auto;
width: 100%;
}
#header .menu {
float: right;
margin: 0;
width: auto;
}
.menu-primary ul,
.menu-secondary ul,
#header .menu ul {
float: left;
width: 100%;
}
.menu-primary li,
.menu-secondary li,
#header .menu li {
float: left;
list-style-type: none;
}
.menu-primary a,
.menu-secondary a,
#header .menu a {
color: #666;
display: block;
padding: 15px 20px;
position: relative;
text-decoration: none;
}
#header .menu a {
padding: 38px 20px;
}
.menu-primary li a:active,
.menu-primary .current-menu-item a,
.menu-secondary li a:active,
.menu-secondary .current-menu-item a,
#header .menu li a:active,
#header .menu .current-menu-item a {
background-color: #F1592A;
color: #fff;
border: none;
}
.menu-primary li:hover a,
.menu-primary li a:hover,
.menu-secondary li a:hover,
.menu-secondary li:hover a,
#header .menu li a:hover,
#header .menu li:hover a {
background-color: #6D6E71;
color: #fff;
}
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/