fix page overflow

This commit is contained in:
mappu 2014-08-23 22:19:02 +12:00
parent dc260a27d6
commit 301d81a637
2 changed files with 9 additions and 9 deletions

View File

@ -289,6 +289,9 @@ class CProject {
<a href="srv/<?=hesc(urlencode($this->projname))?>_<?=$idx?>.<?=str_ext($origname)?>"><img src="srv/<?=hesc(urlencode($this->projname))?>_<?=$idx?>_thumb.jpg" class="thumbimage"></a> <a href="srv/<?=hesc(urlencode($this->projname))?>_<?=$idx?>.<?=str_ext($origname)?>"><img src="srv/<?=hesc(urlencode($this->projname))?>_<?=$idx?>_thumb.jpg" class="thumbimage"></a>
<?php } ?> <?php } ?>
</div> </div>
<div style="clear:both;"></div>
<?php } ?> <?php } ?>
</div> </div>

View File

@ -33,6 +33,7 @@ h1,h2,h3 {
html, body { html, body {
/* structural */ /* structural */
height:100%; height:100%;
min-height:100%;
margin:0; margin:0;
border:0; border:0;
padding:0; padding:0;
@ -112,22 +113,18 @@ html, body {
} }
.projinfo { .projinfo {
position:relative;
} }
.projbody { .projbody {
position:absolute;
left:0;
} }
.projbody_halfw { .projbody_halfw {
right: 74px; float:left;
width: 678px; /* 740px full - 60px rhs column - 2px border */
} }
.projbody_fullw { .projbody_fullw {
right:0;
} }
.projimg { .projimg {
position:absolute; float:right;
right:0;
width:62px; /* 60px + 2px border */ width:62px; /* 60px + 2px border */
} }