Created
November 20, 2012 06:55
-
-
Save webcrafts/4116482 to your computer and use it in GitHub Desktop.
20121121 CSS版
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!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" lang="ja-JP" xml:lang="ja-JP"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<meta http-equiv="content-script-type" content="text/javascript" /> | |
<meta http-equiv="Content-Style-Type" content="text/css" /> | |
<title>New Document</title> | |
<meta name="keywords" content="" /> | |
<meta name="description" content="" /> | |
<link rev="made" href="mailto:[email protected]" /> | |
<link rel="index" href="index.html" /> | |
<link rel="next" href="next.html" /> | |
<link rel="prev" href="prev.html" /> | |
<style type="text/css"> | |
*{ | |
margin:0px; | |
padding:0px; | |
} | |
#wrapper{ | |
width:960px; | |
height:100%; | |
margin-left:auto; | |
margin-right:auto; | |
text-align:center; | |
} | |
#header{ | |
height:64px; | |
background:#333; | |
} | |
#navi{ | |
height:64px; | |
backgrounf:#666; | |
} | |
#footer{ | |
clear:both; | |
height:128px; | |
padding:0px; | |
margin:0px; | |
text-align:left; | |
background:#000; | |
} | |
#aside{ | |
float:right; | |
width:320px; | |
height:460px; | |
background:#00F; | |
} | |
#contents{ | |
display:block; | |
text-align:left; | |
margin:0px; | |
padding:0px; | |
height:100%; | |
} | |
#main{ | |
float:left; | |
width:640px; | |
height:460px; | |
background:#09F; | |
} | |
.side{ | |
display:block; | |
height:150px; | |
background:#93F; | |
border-bottom:solid 1px #FFFFFF; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="wrapper"> | |
<!-- #wrapper --> | |
<div id="header"> | |
<!-- header --> | |
<div id="logo">logo</div> | |
<div id="navi">navi</div> | |
</div> | |
<div id="contents"> | |
<!-- contents --> | |
<div id="main">main</div> | |
<div id="aside"> | |
<div class="side">side1</div> | |
<div class="side">side2</div> | |
</div> | |
</div> | |
<div id="footer"> | |
<!-- footer --> | |
footer; | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment