User:Macowell/resultsbox.css
From 2007.igem.org
(Difference between revisions)
Revision as of 01:14, 21 December 2007
#ResultsBox { width: 637px; margin: 2em auto; //padding: 16px 16px; background: url(results-overview-bg.gif) repeat-x #f5f5f5; border: 1px solid #e8e8e8; float:right; //expands bottom edge to include other floated elements, may not work in what brosers?? } #ResultsBox a{ font-weight: normal; } #ResultsBox h2 {text-align: center;} #ResultsBox img { float: left; } #ResultsBox p { font-family: serif; color: #444; line-height: 1.4em; text-align: justify; padding: 8px; } #ResultsBox ul { width: 260px; float: right; margin:8px 16px 0 0; padding:0 16px 0 0; list-style-type: none; } #ResultsBox ul li { font-family: "Lucida Grande", Verdana, Arial, sans-serif; color:#333; margin-bottom:12px; padding-bottom: 6px; border-bottom: 1px solid #e8e8e8; } #ResultsBox ul img {float: none; margin-bottom:-8px;} .stats{ float:left; width: 260px; margin: 0 0 0 40px; padding:0; } .stats h2{ text-align: left !important; } .stats dl{ margin:0 0 0 16px; } .stats dt{ font-family: serif; line-height: 15pt; font-size: 14pt; font-weight: bold; float: left; clear:left; margin-right: .2em; color: #60b838; } .stats dd{ font-weight: bold; font-family: "Lucida Grande", Verdana, Arial, sans-serif; color: #555; font-size: 12pt; line-height: 15pt; margin-left:0; }