two4god07
01-19-2009, 02:11 PM
On the about page of the church site I'm working in (they finally gave me some content to add) I'm trying to set up a sitemap type look with anchors.
My problem is, the anchored object goes to the very top of the page when clicked. This is an issue because the top of the page has a z-index header. All the text goes up under that header. Is there any way I can make it appear below the header?
here is my css
#banner {
position: fixed; top: 0; left: 10%; z-index:1;
border-bottom: thick solid maroon;}
#toc {
position: fixed; top: 30%; left: 10%;
padding-top: 15px;
padding-left: 20px;
background: #CDBE70; width: 129px; height: 500px;
border-right: medium solid maroon;
}
#content {
padding-left: 20px;
padding-right: 20px;
padding-top: 15px;
position: absolute; top: 31%; left: 22%;
background: #CDBE70;
width: 672px; height: 500px;
background-attachment: fixed;
}
I double checked to make sure I set up the anchors right, and they are. And I removed the z-index temporarily to find out if that was the problem, it was. The only thing I personally can think of is removing my link to the stylesheet and typing a brandnew one for the about us page.
Any different ideas?
My problem is, the anchored object goes to the very top of the page when clicked. This is an issue because the top of the page has a z-index header. All the text goes up under that header. Is there any way I can make it appear below the header?
here is my css
#banner {
position: fixed; top: 0; left: 10%; z-index:1;
border-bottom: thick solid maroon;}
#toc {
position: fixed; top: 30%; left: 10%;
padding-top: 15px;
padding-left: 20px;
background: #CDBE70; width: 129px; height: 500px;
border-right: medium solid maroon;
}
#content {
padding-left: 20px;
padding-right: 20px;
padding-top: 15px;
position: absolute; top: 31%; left: 22%;
background: #CDBE70;
width: 672px; height: 500px;
background-attachment: fixed;
}
I double checked to make sure I set up the anchors right, and they are. And I removed the z-index temporarily to find out if that was the problem, it was. The only thing I personally can think of is removing my link to the stylesheet and typing a brandnew one for the about us page.
Any different ideas?