早教吧 育儿知识 作业答案 考试题库 百科 知识分享

这段代码有些看不懂,Thisisthemaincontent.Thisistheleftsidebar.Thisistherightsidebar.CSS:以下是引用片段:body{margin:0;padding-left:200px;padding-right:190px;min-width:240px;}.column{position:relative;float:left;}#cente

题目详情
这段代码有些看不懂,
This is the main content.This is the left sidebar.This is the right sidebar.CSS:以下是引用片段:body {margin:0;padding-left:200px;padding-right:190px;min-width:240px;} .column {position:relative;float:left;} #center {width:100%;} #left {width:180px; right:240px;margin-left:-100%;} #right {width:130px;margin-right:-100%;}
▼优质解答
答案和解析
这个是一个左中右结构的网页, 定义 页面的间距结构依次是上左下右 分别为 200 190 240 向左浮动 定义中间层位宽度为100% 左侧层宽度为180高度为240 左外边距为-100% 右侧层宽度为130 右边距为-100% 追问: 定义 中间层 位宽 度为100%左侧层宽度为180高度为240 左外边距为-100%右侧层宽度为130 右边距为-100% 请问这是什么意思啊 回答: 看看body里面定义的div层如
作业帮用户 2016-12-02 举报
举报该用户的提问

举报类型(必填)

  • 色情低俗

  • 辱骂攻击

  • 侮辱英烈

  • 垃圾广告

  • 不良流行文化

  • 骗取采纳

  • 其他

举报理由(必填)

0/100
提交