...

View Full Version : Background image change position



twodayslate
09-12-2007, 12:35 PM
http://twodayslate.com
http://twodayslate.com/default.css


#navigationdiv .sub {
list-style: none;
font-size: .6em;
background: scroll 0%;
background: url(http://images.twodayslate.com/design/snavbg.png) no-repeat right;
background-position: 100% -5px;
}

#navigationdiv .current .sub,
#navigationdiv .select a:hover .sub,
#navigationdiv .select li:hover .sub {
display:block;
position:absolute;
width:530px; /* This section of code positions the sublinks into place */
top: 45px;
/*background:#595f62; */
}

#navigationdiv .select three .sub{ background-position: 1px -5px; }
The width has to be 530px or higher, but when you hover over "FORUMS" the backyard image is to far. I want to put it in the right position.

Thanks, while you are at it check out this thread: http://www.codingforums.com/showthread.php?t=123393



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum