Jeremy Newman : fix top tabs so the entire area is clickable

Jeremy Newman jnewman at winehq.org
Tue Dec 9 13:05:37 CST 2008


Module: website
Branch: master
Commit: 15aea0fc63268b328cfc221922e2b0f39cb743db
URL:    http://source.winehq.org/git/website.git/?a=commit;h=15aea0fc63268b328cfc221922e2b0f39cb743db

Author: Jeremy Newman <jnewman at codeweavers.com>
Date:   Tue Dec  9 13:05:19 2008 -0600

fix top tabs so the entire area is clickable

---

 styles.css |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/styles.css b/styles.css
index 98c90e3..b3887dd 100644
--- a/styles.css
+++ b/styles.css
@@ -76,7 +76,7 @@ BODY                {
                      width: 112px;
                      height: 28px;
                      margin: 0px 2px 0px 2px;
-                     padding: 2px 0px 0px 0px;
+                     padding: 0px;
                      text-align: center;
                      background-image: url('images/tab_u.png');
                      background-repeat: no-repeat;
@@ -84,7 +84,13 @@ BODY                {
 #tabs LI.s          { background-image: url('images/tab_s.png'); }
 #tabs LI.s A        { font-weight: bold; }
 #tabs LI:hover      { background-image: url('images/tab_h.png'); }
-#tabs A             { font-size: 16px; color: white; text-decoration: none; }
+#tabs A             {
+                     display: block;
+                     width: 108px;
+                     height: 23px;
+                     padding-top: 3px;
+                     font-size: 16px; color: white; text-decoration: none;
+                    }
 
 /* sidebar navigation */
 #sidebar            {




More information about the wine-cvs mailing list