Need the top div looking exactly like the bottom div. Is this possible without tables?
http://www.austinmetrobaseball.com/xtest2.html
http://www.austinmetrobaseball.com/xtest2.html
| Code: |
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <style type="text/css"> <!-- #scroller { background-color:#CB0017; position: absolute; width: 175px; height: 72px; top: 50px; left: 75px; } #division { background-color:#F9DFB2; position: relative; top: 2px; left: 2px; height: 20px; width:171px;; color:#CB0017; font-size:10pt; font-weight:bold; font-family:verdana; vertical-align: middle; } #gamedate { text-align: left; background-color:#00318C; position: relative; top: 0px; left: 0px; height: 14x; width:171px;; font-size:8pt; font-weight:bold; font-family:arial; vertical-align: middle; color:#ffffff; } #gamescore { position: relative; top: 2px; left: 0px; width:171px;; font-size:8pt; font-weight:bold; font-family:arial; vertical-align: middle; color:#ffffff; } #gameinfo { top:4px; left: 2px; position: relative; height:50px; width:171px; background-color:#CB0017; } #visitorscore { top:0px; left: 0px; position: relative; height:14px; width:171px; background-color:#cb0017; } #homescore { top:2px; left: 0px; position: relative; height:14px; width:171px; background-color:#cb0017; } .scorelosern { position: relative; color:#ffffff; background-color:#00318C; top: 0px; left: 2px; width:57px; height:14px; font-size:9pt; font-weight:bold; font-family:arial; text-align: left; } .scorelosers { position: relative; color:#ffffff; background-color:#00318C; top: 0px; left:4px; height:14px; width:14px; font-size:9pt; font-weight:bold; font-family:arial; text-align:right; } .scoreloserr { position: relative; color:#ffffff; background-color:#00318C; top: 0px; left: 6px; height:14px; width:65px; font-size:9pt; font-weight:bold; font-family:arial; text-align:center; } .scorewinnern { position: relative; color:#f9dfb2; background-color:#00318C; top: 0px; left: 2px; width:57px; height:14px; font-size:9pt; font-weight:bold; font-family:arial; text-align: left; } .scorewinners { position: relative; color:#f9dfb2; background-color:#00318C; top: 0px; left:4px; height:14px; width:14px; font-size:9pt; font-weight:bold; font-family:arial; text-align:right; } .scorewinnerr { position: relative; color:#f9dfb2; background-color:#00318C; top: 0px; left: 6px; height:14px; width:65px; font-size:9pt; font-weight:bold; font-family:arial; text-align:center; } .scoreloser { color:#ffffff; background-color:#00318C; font-size:9pt; font-weight:bold; font-family:arial; text-align: left; } .scorewinner { color:#f9dfb2; background-color:#00318C; font-size:9pt; font-weight:bold; font-family:arial; text-align: left; } .scorerecordl { color:#ffffff; background-color:#000000; font-size:9pt; font-weight:bold; font-family:arial; text-align: center; } .scorerecordw { color:#f9dfb2; background-color:#000000; font-size:9pt; font-weight:bold; font-family:arial; text-align: center; } #scroller2 { background-color:#CB0017; position: absolute; width: 175px; height: 72px; top: 200px; left: 75px; } #division2 { background-color:#F9DFB2; position: relative; top: 2px; left: 2px; height: 20px; width:171px;; color:#CB0017; font-size:10pt; font-weight:bold; font-family:verdana; vertical-align: middle; } #gamedate2 { text-align: left; background-color:#00318C; position: relative; top: 0px; left: 0px; height: 14x; width:171px;; font-size:8pt; font-weight:bold; font-family:arial; vertical-align: middle; color:#ffffff; } #gamescore2 { position: relative; top: 2px; left: 0px; width:171px;; font-size:8pt; font-weight:bold; font-family:arial; vertical-align: middle; color:#ffffff; } #gameinfo2 { top:4px; left: 2px; position: relative; height:48px; width:171px; background-color:#CB0017; } .scoreborder { background-color:#CB0017; } //--> </style> </head> <body> <div id="scroller"> <div id="division"> Lone Star</div> <!-- division --> <div id="gameinfo"> <div id="gamedate"> Wednesday, April 11</div> <!-- gamedate --> <div id="gamescore"> <div id="visitorscore"> <span class="scorelosern">Diamondbacks</span><span class="scorelosers">99</span><span class="scoreloserr">(99-99-9)</span> </div> <!-- visitorscore --> <div id="homescore"> <span class="scorewinnern">Salty Dawgs</span><span class="scorewinners">99</span><span class="scorewinnerr">(99-99-9)</span> </div> <!-- homescore --> </div> <!-- gamescore --> </div> <!-- gameinfo --> </div> <!-- scroller --> <div id="scroller2"> <div id="division2"> Lone Star</div> <!-- division2 --> <div id="gameinfo2"> <div id="gamedate2"> Wednesday, April 11</div> <!-- gamedate2 --> <div id="gamescore2"> <table border="0" cellpadding="0" cellspacing="0" width="171"> <tr> <td class="scoreloser"> Diamondbacks</td> <td class="scoreloser">99</td> <td class="scoreborder"><img src="spacer.gif" width="3" /></td> <td class="scorerecordl">(99-99-9)</td> </tr> <tr> <td class="scorewinner"> Salty Dawgs</td> <td class="scorewinner">99</td> <td class="scoreborder"><img src="spacer.gif" width="3" /></td> <td class="scorerecordw">(99-99-9)</td> </tr> </table> </div> <!-- gamescore2 --> </div> <!-- gameinfo2 --> </div> <!-- scroller2 --> </body> </html> |
