diff options
author | Ben Coburn <btcoburn@silicodon.net> | 2006-03-21 03:09:48 +0100 |
---|---|---|
committer | Ben Coburn <btcoburn@silicodon.net> | 2006-03-21 03:09:48 +0100 |
commit | 0e99f6d7194833f1a152c286a984baca203b25ef (patch) | |
tree | 61bdfc6cfdc8e65ab461d27ad9402f48563efec8 | |
parent | 4a778400790148873f7f17dd7df42ca018b60e36 (diff) | |
download | rpg-0e99f6d7194833f1a152c286a984baca203b25ef.tar.gz rpg-0e99f6d7194833f1a152c286a984baca203b25ef.tar.bz2 |
'Back to top' style bug fix
Removes some link underlining that would appear around the 'Back to top' button.
darcs-hash:20060321020948-05dcb-e0e5f2d30bd05bad37ad64d587fc4dc29abcb30b.gz
-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 { |