Previous Message
Next Message

Re: [css-d] Anchors vanishing under fixed DIV at top of page

Sent by Rijk van Geijtenbeek on 31 January 2002 04:04

On Thursday, January 31, 2002, Philip wrote:

PK> I'm after a way to prevent my anchored text from vanishing under a
PK> horizontal navigation bar fixed at the top of the window.

PK> Under the nav bar I have a list of HREFs which link to name anchors
PK> further down the page. When the link is invoked, the text of the name
PK> anchor is hidden beneath the navigation bar.

PK> The nav bar is currently positioned with:

PK> div.navbox
PK> {
PK>     position: fixed;
PK>     top: 0;
PK>     left: 0;
PK>     padding: 1em;
PK>     z-index: 1;
PK>     background-color: #6CC;
PK> }

PK> The anchors in question are within the following DIV. I've tried as many
PK> variations of styles as my limited knowledge allows on both the
PK> navigation DIV and the anchors as well as the main DIV.

The only solution seems to be to add the anchor names a few lines
above the actual destination of the links.

 Rijk                            [EMAIL-REMOVED]

Mot du Jour:
It's not the bullet that kills you, it's the hole.
Previous Message
Next Message

Message thread: