爱问知识人 爱问教育 医院库

如何写css fixed固定定位属性的代码呢?

首页

如何写css fixed固定定位属性的代码呢?

如何写css fixed固定定位属性的代码呢?

提交回答

全部答案

    2018-10-28 08:43:44
  •   !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1。0 Transitional//EN http://www。w3。org/TR/xhtml1/DTD/xhtml1-transitional。dtdhtml xmlns=http://www。
      w3。
      org/1999/xhtmlheadmeta http-equiv=Content-Type content=text/html; charset=gb2312 /titleCSS固定定位/titlestyle type=text/css*{margin: 0px;padding:0px;}#all{width:500px;height:600px;background-color:#FC3;}#fixed{width:100px;height:100px;border:15px outset #f00;background-color:#9c9;position:fixed;top:30px;left:10px;}#a{width:200px;height:300px;margin-left:150px;background-color:#F9F;border:2px outset #000;}/style/headbodydiv id=alldiv id=fixed固定的容器/divdiv id=a pnbsp;/p pnbsp;/p pnbsp;/p pnbsp;/p pnbsp;/p pnbsp;/p pnbsp;/p p无定位的div容器/p/div/div/body/html。

    贾***

    2018-10-28 08:43:44

类似问题

换一换

相关推荐

正在加载...
最新问答 推荐信息 热门专题 热点推荐
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200

热点检索

  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
返回
顶部
帮助 意见
反馈

确定举报此问题

举报原因(必选):