Div总在右下角的CSS实现方法
cookqq ›博客列表 ›html

Div总在右下角的CSS实现方法

2013-05-24 13:40:59.0|分类: html|浏览量: 1532

摘要: <html> <head> <title>DIV始终固定位置显示</title> <style> body {margin:0; padding:0 10px 0 10px;height:100...

<html>
<head>
<title>DIV始终固定位置显示</title>
<style>
body {margin:0; padding:0 10px 0 10px;height:100%;overflow:auto;background:#333;font-size:12px;}
#wrap {display:block;bottom:0px;right:1px!important;right:18px;width:200px;line-height:30px;position:fixed;border:1px solid #fff;text-align:center;color:red; background:#000;}
*html{overflow-x:auto;overflow-y:auto;} 
* html #wrap {position:absolute;}
</style>
</head>
<body>
<div style="height:3986px;"></div>
<div id="wrap">我是不会动的,只有这个地方是属于我的,在你没有更改我的位置之前。</div>
</body>
</html>


转载:http://pc.21edu8.com/html/wangyetexiao/cenghebuju/20100918/735.html



一键分享文章

分类列表

  • • struts源码分析
  • • flink
  • • struts
  • • redis
  • • kafka
  • • ubuntu
  • • zookeeper
  • • hadoop
  • • activiti
  • • linux
  • • 成长
  • • NIO
  • • 关键词提取
  • • mysql
  • • android studio
  • • zabbix
  • • 云计算
  • • mahout
  • • jmeter
  • • hive
  • • ActiveMQ
  • • lucene
  • • MongoDB
  • • netty
  • • flume
  • • 我遇到的问题
  • • GRUB
  • • nginx
  • • 大家好的文章
  • • android
  • • tomcat
  • • Python
  • • luke
  • • android源码编译
  • • 安全
  • • MPAndroidChart
  • • swing
  • • POI
  • • powerdesigner
  • • jquery
  • • html
  • • java
  • • eclipse
  • • shell
  • • jvm
  • • highcharts
  • • 设计模式
  • • 列式数据库
  • • spring cloud
  • • docker+node.js+zookeeper构建微服务
版权所有 cookqq 感谢访问 支持开源 京ICP备15030920号
CopyRight 2015-2018 cookqq.com All Right Reserved.