[color=#808000]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
body{text-align:center;}
#wrapper{width:850px; text-align:left;}
#banner{width:100%; border:1px solid red; height:9em; position:fixed;}
#main{width:450px; float:left; border:1px red solid; height:85em;}
#right{float:left; width:200px; border:1px red dashed; height:25em;}
#left{float:left; width:175px; border:1px red dashed; height:30em;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<div id="wrapper">
<div id="banner">
</div>
<div id="main">
</div>
<div id="right">
</div>
<div id="left">
</div>
</div>
</body>
</html>
我想将main移动到right和left之间,好像要求助于负边距,哪位高手给补充下代码,呵呵,先谢谢啦[/color]
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
body{text-align:center;}
#wrapper{width:850px; text-align:left;}
#banner{width:100%; border:1px solid red; height:9em; position:fixed;}
#main{width:450px; float:left; border:1px red solid; height:85em;}
#right{float:left; width:200px; border:1px red dashed; height:25em;}
#left{float:left; width:175px; border:1px red dashed; height:30em;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<div id="wrapper">
<div id="banner">
</div>
<div id="main">
</div>
<div id="right">
</div>
<div id="left">
</div>
</div>
</body>
</html>
我想将main移动到right和left之间,好像要求助于负边距,哪位高手给补充下代码,呵呵,先谢谢啦[/color]
解决方案 »
- 两份PHP程序代码对比,大家认为其编程水平都怎么样?censor.class.php
- 这样查看源文件,看不到小说的内容是怎么样实现的啊?
- 请问Snoopy抓取页面时为什么有些有的网址获取不到呢?
- PHP 选择哪个版本相比稳定一些
- php 正则提取XML 指定内容方法?求大拿帮忙(史上最难)
- 如何实现这个功能,请大家教教我这个菜鸟,说思想就可以了
- 长跪求助:如何用PHP SHOW一个信息窗口?
- 怎样弹出一个没有工具栏,标题栏,地址栏的最大化窗口,但是保留关闭和最大化按钮
- enter鍵 <--鍵 的ASC碼是多少
- 请问vbscript中的mid、instr和cint函数在PHP中用什么可以代替?
- 请问:这个函数什么意思啊?
- PHP接收表单 enctype类型
</div>
<div id="main">
</div>
<div id="right">
</div>写成这样试试
只是要设定width