Edit report at https://bugs.php.net/bug.php?id=68045&edit=1

 ID:                 68045
 Updated by:         [email protected]
 Reported by:        sebastian dot leitz at etes dot de
 Summary:            Anchor tagets disappear below fixed header
-Status:             Open
+Status:             Duplicate
 Type:               Feature/Change Request
 Package:            Website problem
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

Duplicate of bug #67050


Previous Comments:
------------------------------------------------------------------------
[2014-09-18 14:07:20] sebastian dot leitz at etes dot de

Description:
------------
If you open links like http://php.net/ChangeLog-5.php#5.5.17 (which are 
commonly included in release notes) or 
http://de2.php.net/strpos#refsect1-function.strpos-examples (to reference parts 
of a doc page), the anchor target is always a heading which will not be visible.

The headline is hidden because the header of php.net uses "position: fixed" and 
thus is always present.

This is a very common problem, so you can easily find solutions which make sure 
that the headline will stay visible (by jumping not to the heading itself but 
to a place e.g. 40px before that).

Some hints:

- 
http://stackoverflow.com/questions/4086107/html-positionfixed-page-header-and-in-page-anchors
- 
http://stackoverflow.com/questions/10732690/offsetting-an-html-anchor-to-adjust-for-fixed-header



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=68045&edit=1

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to