易截截图软件、单文件、免安装、纯绿色、仅160KB

div+CSS 页面区域块设计

请问新浪等一些大网站它们把一些内容按区域分成块,每一块下面都有边框一样的线条。那些线条是用背景图片做的还是用border属性做的?下面的的代码大家可以复制到记事本里,另存为网页文件看看我做的,很简单。在网页中间有三个红色的区域块#main-left #main-center #main-right只要给它们设上border-width属性并设置为1px,就会出错。请大家帮忙!
怎样才能做出那样的效果?
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>hello ,world! </title>
<style >
<!--
  body{margin:0px; text-align:center; background:purple;}
  #container{height:auto;width:960px; background:white;}
  #header{
height:115px;
width:960px;
background:white; border:solid #CCCCCC thin;margin-top:5px; margin-bottom:8px;
    }
#header .menu1{ height:30px; width:960px; background:yellow; text-align:left;}
#header .menu2{height:85px; width:960px; background:green; text-align:left;}
  #banner{
height:195px;
width:960px; background:navy;margin-bottom:8px;
    border:solid #CCCCCC thin;
    }
#main-left{height:300px; width:170


相关问答:

IE6 aspx页面无法引用CSS 但是IE7可以。!

美工在IE6下做的html页,里面用到了CSS样式
我在IE7下用visual studio 2008做aspx页,利用了上面的页面布局,我只是在vs.net下写代码
现在页面在IE7下能正常运行,可是在IE6里就显示不成样子,看那样子是引用不了 ......

帮我写个CSS,在线等,满意再追加加分


直接看不到的话,http://hiphotos.baidu.com/%CB%AE%CC%EC/pic/item/bd10cdfc07c1c4d2fc037f24.jpg
要实现图片中的三种效果:
1、button的样式
2、改变下拉列表框 样式
3、就是鼠标放到字体上时显示 ......

css的效果问题,怎么实现不了啊

CSS code:
body {
}
#x
{
width:1024px;
height:768%;
background-color:Red;
position:relative;
}
#x.top
{ position:absolute;
width:800px;
height:100px;
top:0px ......

一个CSS的问题,我想得到一个能让我信服的答案

从2004底开始,这个问题我一直没有得到过能令我信服的答案,虽然我有朋友有网易工作,但他的回答不能让我信服.

从2004底开始,我就开始研究各个大型门户网的构架情况,但有个问题,一直没有一个满意的答案,这里我提 ......

请教高手 vc读取html css字体样式

用vc 读取html文件怎么得到css里面定义的字体样式。比如我网页的一段代码为:
<style type="text/css">
<!--
.STYLE7 {font-weight: bold; font-family: "宋体"; color: #F ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号