Updating branch refs/heads/master
         to 45dfaba5df3c2843aaffa28a0b08986cb63fb0e7 (commit)
       from 075708ec0f8534cad03f5396d03f9affa367e4da (commit)

commit 45dfaba5df3c2843aaffa28a0b08986cb63fb0e7
Author: Nick Schermer <n...@xfce.org>
Date:   Sat Apr 14 17:34:41 2012 +0200

    Float sidenav, so it is centered on old browsers too.

 pages/frontpage.php |    1 +
 style/frontpage.css |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/pages/frontpage.php b/pages/frontpage.php
index dc43bc7..8fc8a20 100644
--- a/pages/frontpage.php
+++ b/pages/frontpage.php
@@ -47,6 +47,7 @@ $head['pagediv'] = false;
                <li onclick="slideshow.pos(4)"></li>
                <li onclick="slideshow.pos(5)"></li>
        </ul>
+       <div class="clearboth"></div>
 </div>
 </div>
 
diff --git a/style/frontpage.css b/style/frontpage.css
index 95a5b00..218955a 100644
--- a/style/frontpage.css
+++ b/style/frontpage.css
@@ -11,7 +11,6 @@
 }
 
 #slidewrap {
-       text-align: center;
        margin: auto;
        background: #bcbcbc;
        margin-bottom: 12px;
@@ -63,7 +62,8 @@
 }
 #slidenav {
        list-style:none;
-       margin:0;
+       width: 156px;
+       margin: 0 auto;
        padding:0;
        line-height: 0;
 }
@@ -71,7 +71,7 @@
        border: 1px solid #bcbcbc;
        width: 12px;
        height: 12px;
-       display: inline-block;
+       float: left;
        cursor:pointer;
        margin: 12px 6px;
        background: #dcdcdc;
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to