I have a question regarding the anchor tag.
I have a page like
<div id='header'>
bunch of stuff….and iamges
</div>
<div>
<a href='#test1>test1</a>
<a href='#test2>test2</a>
<a href='#test3>test3</a>
</div>
<div class='content'>
<a name='test1'>test1 project</a>
bunch of stuff
<a name='test2'>test1 project</a>
bunch of stuff
<a name='test3'>test1 project</a>
bunch of stuff
</div>
My css
#header{
position: fixed;
right: 0;
left: 0;
z-index: 1030;
margin-bottom: 0
height:150px;
}
However, it seems like every time I click test1 to test3 link, my 'contents' div got push to top of my header div. so my 'content' div is cover by my header div (150px). Are there anyways to fix my issue? Thanks a lot!