Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS how to link a specific area in the navigation menu Re: how to link a specific area in the navigation menu

#69177
hellie
Member

hey ozee

man I’m trying the way u posted up there
it’s not working as well

body {
margin:0 auto;
padding:0 auto;
background-color:#afafaf;
}
#container {
width:970px;
height:1000px;
background:white;
margin-left:140px;
border-right:1px solid gray;
border-left:1px solid gray;
}

#header {
width:970px;
height:251px;
background:url(images/header.png);
}
#logo {
width:263px;
height:219px;
background:url(images/logo.gif);
position:relative;
right:-210px;
top:30px;
}
#navbar {
width:970px;
height:74px;
background-color:black;
-moz-border-radius: 5px;

}
#my {
width:114px;
height:52px;
background:url(images/myi3lan.png);
display:block;
position:relative;
right:-22px;
top:6px;
}
#sell {
width:54px;
height:31px;
background:url(images/sell.png);
position:relative;
right:-164px;
top:-28px;
}
#com {
width:160px;
height:32px;
background:url(images/com.png);
position:relative;
right:-264px;
top:-62px;
padding:0;
margin:0;
}
#com:hover {
background:url(images/comhover.png);
}
#contact {
width:156px;
height:19px;
background:url(images/contact.png);
position:relative;

}



exercise



















http://178.77.140.212/exer/
http://178.77.140.212/exer/style.css