Req #68045 [NEW]: Anchor tagets disappear below fixed header
| From: | sebastian dot leitz at etes dot de | Date: | Thu, 18 Sep 2014 14:07:21 +0000 |
| Subject: | Req #68045 [NEW]: Anchor tagets disappear below fixed header | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-19959@lists.php.net to get a copy of this message | ||
From: sebastian dot leitz at etes dot de
Operating system:
PHP version: Irrelevant
Package: Website problem
Bug Type: Feature/Change Request
Bug description:Anchor tagets disappear below fixed header
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 bug report at https://bugs.php.net/bug.php?id=68045&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68045&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68045&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68045&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68045&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68045&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68045&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68045&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68045&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68045&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68045&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68045&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68045&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68045&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68045&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68045&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68045&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68045&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68045&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68045&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68045&r=mysqlcfg