User:Sem2490/wiki/sandeep.css
From 2009.igem.org
(Difference between revisions)
Line 19: | Line 19: | ||
} | } | ||
- | # | + | #nav { |
- | background | + | height: 35px; |
- | + | width: 500px; | |
+ | } | ||
+ | |||
+ | div.button { | ||
+ | float: left; | ||
+ | width: 100px; | ||
+ | height: 35px; | ||
+ | margin: 0 3px 0 0; | ||
+ | background: #fff; | ||
+ | border: 1px solid #000; | ||
+ | } | ||
+ | |||
+ | div.button a { | ||
+ | display: block; | ||
+ | margin: 0; | ||
+ | padding:0; | ||
+ | width:100%; | ||
+ | height:100%; | ||
+ | overflow:hidden; | ||
+ | font: bold 13px Georgia, serif; | ||
+ | color:#039; | ||
+ | text-decoration: none; | ||
+ | background: #fff; | ||
+ | } | ||
+ | |||
+ | div.button span { | ||
+ | display: block; | ||
+ | margin:0; | ||
+ | padding: 9px 0 0 0; | ||
+ | text-align: center; | ||
+ | |||
+ | } | ||
+ | |||
+ | div.button a:hover { | ||
+ | background: url( 'http://itscalledwebdesign.com/files/gif_hover/bg03.gif' ) top center no-repeat; | ||
+ | color: yellow; | ||
} | } |
Revision as of 04:24, 10 October 2009
body { margin: 0; padding: 0; line-height: 1.4; color: red; font-family: Verdana,Helvetica, Arial; font-size-adjust: 0.70; } #mainPage{ position: absolute; top: 100px; right: 200px; } #buttonProject{ position: absolute; top: 160px; left: 246px; } #nav { height: 35px; width: 500px; } div.button { float: left; width: 100px; height: 35px; margin: 0 3px 0 0; background: #fff; border: 1px solid #000; } div.button a { display: block; margin: 0; padding:0; width:100%; height:100%; overflow:hidden; font: bold 13px Georgia, serif; color:#039; text-decoration: none; background: #fff; } div.button span { display: block; margin:0; padding: 9px 0 0 0; text-align: center; } div.button a:hover { background: url( 'http://itscalledwebdesign.com/files/gif_hover/bg03.gif' ) top center no-repeat; color: yellow; }