<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML、CSS教学</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="wrap">
<div class="header">
<a href="#" class="logo">
<img src="img/logo.png" height="107" width="250" alt="">
</a>
<ul class="topmenu">
<li><a href="#">关於我们</a></li>
<li><a href="#">产品介绍</a></li>
<li><a href="#">Q&A</a></li>
</ul>
</div>
<div class="main">
<div class='menu'>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Modi debitis porro voluptates, eius alias cumque praesentium veritatis accusamus quidem consectetur ex non omnis nobis expedita placeat aut repudiandae illum reiciendis.
</div>
<div class="content">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Modi debitis porro voluptates, eius alias cumque praesentium veritatis accusamus quidem consectetur ex non omnis nobis expedita placeat aut repudiandae illum reiciendis.
</div>
<div class="aside">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repudiandae, omnis.
</div>
<div class="clearfix"></div>
</div>
<div class="footer"></div>
</div>
</body>
</html>
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
.wrap{
margin: 0 auto;
width: 1000px;
}
.header{
height: 150px;
background: red;
margin-bottom: 20px;
}
.logo{
float: left
}
.topmenu{
float: right;
margin-top: 50px;
margin-right: 20px;
}
.topmenu li{
float: left;
margin-right: 20px;
}
.topmenu a{
color: #fff;
text-decoration: none;
}
.main{
margin-bottom: 20px;
}
.menu{
width: 180px;
background: black;
color: #fff;
float: left;
padding: 10px 10px 10px 10px;
margin-right: 10px;
}
.content{
width: 680px;
margin-right: 10px;
background: pink;
height: 50px;
float: left;
}
.aside{
width: 100px;
float: left;
background: blue;
color: #fff
}
.clearfix{
clear: both;
}
.footer{
height: 80px;
background: gray;
}
写在前面 placeholder for d10 placeholder for d10 place...
其实只是拖延症点到满等的我,说是主角其实只是拖延症发作 我通常都是先撰写前端篇才写後端篇,所以看官们...
在上一篇有跟大家提到可以自动让程序帮你标0和1, 但是其实只要把图片转成灰阶,要标成什麽文字符号都可...
顺利结束了研习的指导计画以及协助厂商的辅导计画案之後,新的一年也到来并且也有越来越多的需求,而在这个...
上篇介绍如何依照需要的状况决定函式,此篇将介绍如何在点与点间寻找回归线减少偏差值。 Linear R...