Fixed top element and anchors

Posted by elmarco on Stack Overflow See other posts from Stack Overflow or by elmarco
Published on 2010-05-11T16:29:52Z Indexed on 2010/05/11 19:14 UTC
Read the original article Hit count: 263

Filed under:
|

With the following CSS, anchor links end up being hidden by the navigation bar.

What solution would you proposed to have the anchor link text being shown just under it?

/* style and size the navigation bar */
table.navigation#top
{
  position: fixed;
  margin-top: 0;
  margin-bottom: 0;
  top: 0;
  left: 0;
  z-index: 10;
}

thanks

© Stack Overflow or respective owner

Related posts about css

Related posts about html