I have element that I want to be a fixed position in css, but that specific when it is set to position: fixed; it causes my scrollbar to be disabled...why is that and what do i need to do to fix this...i do want this element to be fixed so when i scroll up and down the page its still in the same area... thanks
the css tag is i am talking is .profiles {position: fixed;}
the css tag is i am talking is .profiles {position: fixed;}
Code:
#header {
position: fixed;
z-index: 999;
}
.logo {
position: fixed;
background-image: url(../images/logo/logo2.png);
width: 567px;
height: 252px;
top: 8px;
left: 775px;
}
.nav {
position: fixed;
top: 70px;
left: -20px;
}
.nav a{
text-decoration: none;
font-family: segoe script;
font-weight: bold;
font-size: 16px;
color: #ec2c49;
}
.nav ul {
word-spacing: 8px;
font-family: segoe script;
color: #ec2c49;
}
.nav ul li {
display: inline;
}
#content {
position: relative;
top: 125px;
}
#fadeshow1, #fadeshow1 .gallerylayer {
position: relative;
background-color:transparent!important;
left: 20px;
z-index: 997;
}
#text1 {
position: absolute;
top: 100px;
left: 550px;
width: 550px;
font-family: "segoe script";
font-size: 20px;
color: #4b2701;
font-style: italic;
font-weight: bold;
z-index: 998;
}
.blog {
position: relative;
left: 200px;
}
.maintable {
color: #ffffff;
position: absolute;
top: -25px;
left: 220px;
width: 60%;
}
.gallery ul {
border-style: none;
word-spacing: 8px;
font-family: segoe script;
color: #ec2c49;
}
.gallery ul li {
display: inline;
}
.profiles {
position: fixed;
}
.profiles img {border:0;}
.profiles ul {
margin:0;
list-style-type:none;
}
.profiles li {
margin:2px 0;
padding:4px;
background: url(../images/profilebg/individual_bg.png) no-repeat;
height:62px;
width:151px;
}
.profiles li img {
vertical-align:middle;
margin-right:20px;
}
.profiles li a {
font-family: segoe script;
font-weight: bold;
color: #e6930f;
text-decoration:none;
}







