fixed ticket #121. 修改元数据展示页面CSS及其对齐方式

This commit is contained in:
wlx 2010-01-04 12:09:44 +00:00
parent 7d2e06f0e2
commit 30d81911d4
2 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@
<h1><?php echo $this->escape($md->title);?></h1> <h1><?php echo $this->escape($md->title);?></h1>
<table width=100%><tr><td> <table width=100%><tr><td>
<div id="ImageViewer"><img src="/data/thumb/id/<?php echo $md->id;?>" /> </div> <div id="ImageViewer"><img src="/data/thumb/id/<?php echo $md->id;?>" /> </div>
</td><td> </td><td valign="top" align="middle">
<div id="ItemSummary"> <div id="ItemSummary">
<div id="category"> <div id="category">
<ul><?php foreach($this->category as $cat): ?> <ul><?php foreach($this->category as $cat): ?>
@ -77,7 +77,7 @@ else
</div> </div>
</div> </div>
</td><td> </td><td valign="top">
<div id="authors"> <div id="authors">
<h2>联系人</h2> <h2>联系人</h2>
<ul> <ul>

View File

@ -2,12 +2,12 @@ h1{font-size:18px;text-align:center;border-bottom:#ddd 1px dotted;}
hr{clear:both;border:#ccc 1px dotted;overflow:hidden;} hr{clear:both;border:#ccc 1px dotted;overflow:hidden;}
li {white-space:nowrap;} li {white-space:nowrap;}
#ImageViewer{ width:250px; float:left; text-align:center;margin:0;padding:0;border:0;} #ImageViewer{ width:250px; float:left; text-align:center;margin:0;padding:0;border:0;}
#ItemSummary{margin-left:150px auto;top:10px;width:300px;text-align:center;float:left;} #ItemSummary{margin-left:0px auto;top:10px;width:400px;text-align:center;float:left;}
#ItemSummary ul{margin:0;padding:0;text-align:left;float:left;width:300px;} #ItemSummary ul{margin:0;padding:0;text-align:left;float:left;width:300px;}
#ItemSummary li{background: url(/images/square.gif) no-repeat left center;padding-left:10px;margin-top:2px;height:24px;line-height:24px;border-bottom:1px dashed #DDD;float:left;list-style-type:none;} #ItemSummary li{background: url(/images/square.gif) no-repeat left center;padding-left:10px;margin-top:2px;height:24px;line-height:24px;border-bottom:1px dashed #DDD;float:left;list-style-type:none;}
#ItemSummary li span{display:block; width:70px; float:left; text-align:right; color:#555;} #ItemSummary li span{display:block; width:70px; float:left; text-align:right; color:#555;}
#OtherInfo{ clear:both;} #OtherInfo{ clear:both;}
#OtherInfo li{ float:left; width:300px;} #OtherInfo li{ float:left; width:400px;}
#OtherInfo #filesize,#OtherInfo #fileformat,#OtherInfo #downtimes,#OtherInfo #viewtimes{ width:140px;} #OtherInfo #filesize,#OtherInfo #fileformat,#OtherInfo #downtimes,#OtherInfo #viewtimes{ width:140px;}
#OtherInfo #datatype,#OtherInfo #projection,#OtherInfo #datatimes #datadoc{ width:290px;} #OtherInfo #datatype,#OtherInfo #projection,#OtherInfo #datatimes #datadoc{ width:290px;}
#linkurl {clear:both;text-align:center;display:block;width:300px;} #linkurl {clear:both;text-align:center;display:block;width:300px;}
@ -20,7 +20,7 @@ li {white-space:nowrap;}
#cite{float:left;text-indent:2em;} #cite{float:left;text-indent:2em;}
#cite p{width:98%;} #cite p{width:98%;}
#authors {border:1px solid #CCCCCC;margin-left:0px;padding-left:5px;float:right;text-align:left;width:250px;background:#f6f6f6;} #authors {border:1px solid #CCCCCC;margin:0px;padding-left:5px;float:right;text-align:left;width:250px;background:#f6f6f6;}
#authors ul {margin:0;padding:0;} #authors ul {margin:0;padding:0;}
#authors ul li {clear:both;display:block;padding-left:15px;white-space:normal;} #authors ul li {clear:both;display:block;padding-left:15px;white-space:normal;}
#authors h2{float:left;font-size:16px;clear:left;margin:2px;border-bottom:1px dashed #ccc;width:95%;} #authors h2{float:left;font-size:16px;clear:left;margin:2px;border-bottom:1px dashed #ccc;width:95%;}