Updating branch refs/heads/xfce-4.10
         to 1d8632d6b80ffe51f64f3749b1ea7605f9e6c54a (commit)
       from b917c5599441107f2f9fc7aa31169ec219528804 (commit)

commit 1d8632d6b80ffe51f64f3749b1ea7605f9e6c54a
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