Because they're inside a div with an id of "one", and that's what your nav1.css file tells them to look like:
Code:
@charset "utf-8";
/* CSS Document */
#one a{
width: 136px; /*the width of the button = the width of the background image */
height: 83px; /*the height of the button = the height of the background image/3 */
float: left; /*to position the elements horizontally*/
background: url(../images/layout/menu/home.png) no-repeat top; /*to apply the background image positioned with is top part visible*/
margin-right: 0px; /*the right empty space in between the button*/
background-position: left;
}
#one a:hover{
background-position: right;
}
#one a.selected:hover{
background-position: right;
}
#one a.selected {
background-position: right;
}
You could change all those selectors to #nav, except that you have two div's with that id and one of them still contains the gallery. If you change the id of the first one to - say "cont", and change the above selectors as I outline, then it should work out -
In the stylesheet:
Code:
@charset "utf-8";
/* CSS Document */
#nav a{
width: 136px; /*the width of the button = the width of the background image */
height: 83px; /*the height of the button = the height of the background image/3 */
float: left; /*to position the elements horizontally*/
background: url(../images/layout/menu/home.png) no-repeat top; /*to apply the background image positioned with is top part visible*/
margin-right: 0px; /*the right empty space in between the button*/
background-position: left;
}
#nav a:hover{
background-position: right;
}
#nav a.selected:hover{
background-position: right;
}
#nav a.selected {
background-position: right;
}
And in the body of the page:
Code:
<body>
<div id="topweb">
CLUBLUSH.CO.UK</div>
<div id="topshade"></div>
<br><center>
<p><img src="images/Club-Lush.png" width="500" height="115"/><br />
</center>
<!-- NAV MENU -->
<div id="cont">
<div id="menu">
<div id="one">
<div id="nav">
<div id="menu">
<div id="one">
<a href="index.
A bit more (maybe a lot more) of a reorganization of the markup, id's and styles would be required if you want to conform to standards and/or have a more logically arranged page. But this should solve the immediate issue.
Bookmarks