css - 页脚栏上的文字

标签 css html

我的网站网址是 http://www.hentaireader.com

在右下角,我希望在红色页脚栏上放置一个小链接。

我已经为我想要做的事情创建了一个简单的图像。

http://i53.tinypic.com/2lu2o1l.jpg

我怎样才能做到这一点?

最佳答案

此页面上的代码是一场灾难。话虽如此,您将不得不删除 http://www.hentaireader.com/images/bar.gif来自 HTML 的图像并使用 CSS 创建背景图像。

需要类似的东西...

CSS:


#footer-bar {
      width:100%;
      background-color:#f40000;
      background-image: url(http://www.hentaireader.com/images/bar.gif);
      background-position:top center;
      background-repeat:no-repeat;
      text-align: right;
      margin-bottom: 10px;
}
#footer-bar ul {
        width: 950px;
        height: 30px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        left: 0px;
        top: 0px;
}
#footer-bar li {
        display: inline;
        line-height: 30px;
        margin-left: 6px;
}
#footer-bar li a {
    color: #FFFFFF;
}

HTML:

<div id="footer">
  <div id="footer-bar">
    <ul>
      <li><a href="#">Contact</a></li>
      <li><a href="#">Another Link</a></li>
    </ul>
  </div>
  All characters on hentaireader.com are purely fictional and 18+ years of age.
</div><!--- FOOTER --->

看这里... http://jsfiddle.net/b8Xh7/1/

关于css - 页脚栏上的文字,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5628958/

相关文章:

css - 变量名错误 "is undefined"即使导入了 "variables.less"

javascript - 如何在分页媒体中创建旁注?

html - 水平对齐表格的CSS方法

javascript - jquery 脚本标签的意外标记非法

javascript - 预加载图像以稍后在 jQuery 的点击事件中显示

html - 子div没有得到父div的原始高度,为什么?

图形的 html 映射不会随着 Bootstrap 中的图像而改变

php - 我如何在 laravel foreach 中将 angulrajs 复选框 ng-model 设置为多选并将值传递给 angularjs Controller

jquery - 使用 css 选择器检查第一个元素

css - 在 Bootstrap 中将图像移动到卡片的右侧