diff options
-rw-r--r-- | inc/html.php | 2 | ||||
-rw-r--r-- | lib/tpl/default/design.css | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php index 0cc52fbd1..6d7090c6d 100644 --- a/inc/html.php +++ b/inc/html.php @@ -177,7 +177,7 @@ function html_topbtn(){ global $lang; $ret = ''; - $ret = '<a href="#dokuwiki__top"><input type="button" class="button" value="'.$lang['btn_top'].'" onclick="window.scrollTo(0, 0)" /></a>'; + $ret = '<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="'.$lang['btn_top'].'" onclick="window.scrollTo(0, 0)" /></a>'; return $ret; } diff --git a/lib/tpl/default/design.css b/lib/tpl/default/design.css index f22019eae..3e7b36658 100644 --- a/lib/tpl/default/design.css +++ b/lib/tpl/default/design.css @@ -47,6 +47,11 @@ div.dokuwiki div.nothing { margin: 2em; } +div.dokuwiki a.nolink:link, div.dokuwiki a.nolink:visited, div.dokuwiki a.nolink:hover, div.dokuwiki a.nolink:active { + color: Black; + text-decoration:none; +} + /* ---------------- forms ------------------------ */ div.dokuwiki form { |