我想在页脚中添加边框。
以下是css行:
position: fixed;
bottom: 0;
right: 0;
left: 0;
clear: both;
line-height: 1.36em;
padding: 08px 0px 0px;
text-align: center;
margin: 0px auto;
background: #fff;
border-top: 5px solid #4cb6cb;
我犯了什么错?想想有时会阻止边框显示。
这是html:
<div id="page_footer">
<div id="bottom_nav">
<a href="/about"><?php echo $LANG['footer-about']; ?></a>
<a href="/terms"><?php echo $LANG['footer-terms']; ?></a>
<a href="/support"><?php echo $LANG['footer-support']; ?></a>
</div>
<div id="footer" class="clear">
<?php echo APP_TITLE; ?> © <?php echo APP_YEAR; ?>
<a class="lang_link" href="javascript:void(0)" onclick="App.getLanguageBox('<?php echo $LANG['page-language']; ?>'); return false;"><?php echo $LANG['lang-name']; ?></a>
</div>
答案 0 :(得分:0)
您可能在错误的类或ID中应用此选项。你的代码很好。 尝试将HEIGHT规则添加到页脚本身并再次检查类名称。
<div id="page_footer">
<div id="bottom_nav">
<a href="/about">A link here></a>
<a href="/terms">A link here</a>
<a href="/support">A link here</a>
</div>
<div id="footer" class="clear">
<?php echo APP_TITLE; ?> © <?php echo APP_YEAR; ?>
<a class="lang_link" href="javascript:void(0)" onclick="App.getLanguageBox('<?php echo $LANG['page-language']; ?>'); return false;"><?php echo $LANG['lang-name']; ?></a>
</div>
</div>
ERROR: [sep-16 15:08:52,442] tool.hbm2ddl.SchemaUpdate -
HHH000388: Unsuccessful: create table ..... ERROR: [sep-16
15:08:52,444] tool.hbm2ddl.SchemaUpdate - GDS Exception. 335544569.
Dynamic SQL Error SQL error code = -104 Token unknown - line 1, column
17 . ERROR: [sep-16 15:08:52,449] tool.hbm2ddl.SchemaUpdate -
HHH000388: Unsuccessful: create table .....