Fixed Footer "always bottom"
This commit is contained in:
parent
af53da14d2
commit
a287b1b1a5
@ -14,7 +14,9 @@ body {
|
|||||||
#fullbodywrapper {
|
#fullbodywrapper {
|
||||||
min-height:100%;
|
min-height:100%;
|
||||||
position:relative;
|
position:relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
#fullcontentwrapper {
|
||||||
padding-bottom: 120px;
|
padding-bottom: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@ $yii=dirname(__FILE__).'/../framework/yii.php';
|
|||||||
$config=dirname(__FILE__).'/protected/config/main.php';
|
$config=dirname(__FILE__).'/protected/config/main.php';
|
||||||
|
|
||||||
// remove the following lines when in production mode
|
// remove the following lines when in production mode
|
||||||
#defined('YII_DEBUG') or define('YII_DEBUG',true);
|
defined('YII_DEBUG') or define('YII_DEBUG',true);
|
||||||
// dev or prod - merges settings with respective file
|
// dev or prod - merges settings with respective file
|
||||||
defined('YII_CUSTOM_ENV') or define('YII_CUSTOM_ENV', 'prod');
|
defined('YII_CUSTOM_ENV') or define('YII_CUSTOM_ENV', 'dev');
|
||||||
|
|
||||||
require_once($yii);
|
require_once($yii);
|
||||||
Yii::createWebApplication($config)->run();
|
Yii::createWebApplication($config)->run();
|
||||||
|
@ -85,9 +85,11 @@
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<div id="fullcontentwrapper">
|
||||||
<?php
|
<?php
|
||||||
echo $content;
|
echo $content;
|
||||||
?>
|
?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
Copyright © <?php echo date('Y'); ?> by Mike Schwörer · <i><a href="/admin">{{admin}}</a></i><br/>
|
Copyright © <?php echo date('Y'); ?> by Mike Schwörer · <i><a href="/admin">{{admin}}</a></i><br/>
|
||||||
|
Loading…
Reference in New Issue
Block a user