硅湖职业技术学院网页制作4.4宇泽国际旅行社网页制作
Style/div.css:
@charset "utf-8";
/* 页面初始化 */
html, body, h1, h2, h3, h4 {
margin: 0;
padding: 0;
}/*页面主要元素初始化*/
img {
border: 0;
}/*清除图像边框*/
a {
color: #990000;
font-weight: bold;
text-decoration: none;
}/*定义超链接默认样式*/
a:hover {
color: #FF7F00;
text-decoration: underline;
}/*定义超链接鼠标悬停时样式*/
.left {
float: left;
}/*定义向左浮动类,以后后期使用*/
.right {
float: right;
}/*定义向右浮动类,以后后期使用*/
body {
background: #8E0D0D url(../images/page_bg.jpg) repeat-x;
text-align: center;
font:12px "微软雅黑", "宋体", Verdana, sans-serif;
color: #565656;
}/*设置背景图像,以及定义整体字体类型和颜色*/
#wrapper {
text-align: left;
margin:0 auto;
width:788px;
}/*定义wrapper容器宽度,并且居中放置*/
#left {
width:268px;
background: url(../images/logo.jpg) no-repeat;
padding-top: 30px;
float:left;
}
#left h1 {