HTML
<!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" xml:lang="ja"
lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>My Album1</title>
<link href="../css/myalbum.css" rel="stylesheet" type="text/css"
media="screen,
print">
</head>
<body>
<div id="container">
<h1><img src="../top/title.jpg" width="800px" height="85px"
alt="MY PHOTO ALBUM"></h1>
<div id="nav">
<ul>
<li id="btn1"><a href="#"><em>HOME</em></a></li>
<li id="btn2"><a href="#"><em>PROFILE</em></a></li>
<li id="btn3"><a href="#"><em>CONTENT</em></a></li>
<li id="btn4"><a href="#"><em>BLOG</em></a></li>
<li id="btn5"><a href="#"><em>CONTACT</em></a></li>
<li id="btn6"><a href="#"><em>LINK</em></a></li>
</ul>
</div>
<div id="wrapper">
<div id="content1">
<p class="text">ホントに何気ない日常なんだけど、ファイン
ダーを通すと違った世界が現れる。<br />
気の向くまま徒然に撮ったプライベートフォトアルバムへようこそ。
</p>
<p class="p1"><img src="../top/ph1.jpg" width="203px" height="136px"
alt="風景1" /></p>
<p class="p2"><img src="../top/ph2.jpg" width="203px" height="136px"
alt="風景2" /></p>
<p class="p3"><img src="../top/ph3.jpg" width="203px" height="136px"
alt="風景3" /></p>
<p class="p4"><img src="../top/ph4.jpg" width="203px" height="136px"
alt="風景4" /></p>
</div>
<div id="content2">
<p class="p5"><img src="../top/ph5.jpg" width="295px" height="371px"
alt="カメラ画像" /></p>
</div>
</div>
<div id="footer">
<p class="copy">COPYRIGHT(C) 2008 MY PHOTO ALBUM ALL
RIGHTS RESERVED.</p>
</div>
</div>
</body>
</html>
HTML
<!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" xml:lang="ja"
lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>My Album2</title>
<link href="../css/myalbum.css" rel="stylesheet" type="text/css"
media="screen,
print">
</head>
<body>
<div id="container">
<h1><img src="../contents/title.jpg"
width="800px" height="85px" alt="MY PHOTO ALBUM"></h1>
<div id="nav">
<ul>
<li id="btn1"><a href="#"><em>HOME</em></a></li>
<li id="btn2"><a href="#"><em>PROFILE</em></a></li>
<li id="btn3"><a href="#"><em>CONTENT</em></a></li>
<li id="btn4"><a href="#"><em>BLOG</em></a></li>
<li id="btn5"><a href="#"><em>CONTACT</em></a></li>
<li id="btn6"><a href="#"><em>LINK</em></a></li>
</ul>
</div>
<div id="wrapper2">
<div id="sidebar">
<div id="nav2">
<p class="sidebar_title"><img src="../contents/title_navi.jpg"
width="81px"/ height="11px" alt="NAVIGATION"></p>
<ul>
<li><a href="#">田舎の風景</a></li>
<li><a href="#">花火大会</a></li>
<li><a href="#">愛車自慢</a></li>
</ul>
</div>
</div>
<div id="wrapper3">
<div id="main">
<p class="contets_p1"><img src="../contents/photo01.jpg"
width="376px" height="251px"></p>
<div id="contents_p">
<p class="previous"><前のフォト</p>
<p class="next">次のフォト></p>
</div>
<p class="contets_p2"><img src="../contents/photo02.jpg"
width="118px" height="78px"></p>
<p class="contets_p3"><img src="../contents/photo03.jpg"
width="118px" height="78px"></p>
<p class="contets_p4"><img src="../contents/photo04.jpg"
width="118px" height="78px"></p>
</div>
<div id="main_text">
<h2>田舎の風景</h2>
<dl>
<dt>2011/5/3</dt>
<dd>日常の忙しさをちょっとだけ
忘れたくて、ゴールデンウィーク休暇は田舎に帰省してきた。
田舎は何も変わってない。</dd>
</dl>
</div>
</div>
</div>
<div id="footer">
<p class="copy">COPYRIGHT(C) 2008 MY PHOTO ALBUM
ALL RIGHTS RESERVED.</p>
</div>
</div>
</body>
</html>
@charset "utf-8";
/* reset */
html, body, h1, h2, h3, h4, h5, h6, p, pre, blockquote,
address, ul, ol, li, dl, dt, dd, table, th, td, form fieldset {
margin: 0;
padding: 0;
line-height: 1.0;
}
img {
border: none;
}
a {
text-decoration: none;
}
em {
visibility: hidden;
}
ul li, ol li {
list-style-type: none;
}
/* レイアウト */
body {
background-color: #069;
}
#container{
margin: 50px auto;
width: 800px;
height: auto;
padding: 0;
}
h1 {
height: 85px;
}
#nav {
background-image: url(../top/btn_bg.jpg);
background-repeat: repeat-x;
background-position: left top ;
padding-left: 10px;
width: 790px;
height: 45px;
}
#nav ul {
}
#nav li {
display: inline;
float: left;
}
#nav li a {
display: block;
height: 45px;
}
#nav li#btn1 a {
background-image: url(../top/btn01.jpg);
width: 130px;
background-repeat: no-repeat;
backgroud-position: top left;
}
#nav li#btn1 a:hover {
background-image: url(../top/btn01o.jpg);
width: 130px;
}
#nav li#btn2 a {
background-image: url(../top/btn02.jpg);
width: 130px;
background-repeat: no-repeat;
backgroud-position: top left;
}
#nav li#btn2 a:hover {
background-image: url(../top/btn02o.jpg);
width: 130px;
}
#nav li#btn3 a {
background-image: url(../top/btn03.jpg);
width: 131px;
background-repeat: no-repeat;
backgroud-position: top left;
}
#nav li#btn3 a:hover {
background-image: url(../top/btn03o.jpg);
width: 131px;
}
#nav li#btn4 a {
background-image: url(../top/btn04.jpg);
width: 129px;
background-repeat: no-repeat;
backgroud-position: top left;
}
#nav li#btn4 a:hover {
background-image: url(../top/btn04o.jpg);
width: 129px;
}
#nav li#btn5 a {
background-image: url(../top/btn05.jpg);
width: 130px;
background-repeat: no-repeat;
backgroud-position: top left;
}
#nav li#btn5 a:hover {
background-image: url(../top/btn05o.jpg);
width: 130px;
}
#nav li#btn6 a {
background-image: url(../top/btn06.jpg);
width: 131px;
background-repeat: no-repeat;
backgroud-position: top left;
}
#nav li#btn6 a:hover {
background-image: url(../top/btn06o.jpg);
width: 130px;
}
#wrapper {
background-image: url(../contents/bk_maincontents.jpg);
background-repeat: no-repeat;
background-position: left top;
width: 800px;
height: 399px;
}
#content1{
text-align: left;
font-size: 0.9em;
width: 430px;
height: 370px;
float: left;
padding: 25px 0 0 25px;
}
p.text{
font-size: 0.85em;
padding: 0 0 15px 0;
}
p.p1{
float: left;
padding: 0 10px 10px 0;
}
p.p2{
float: left;
padding: 0 0 10px 0;
}
p.p3{
float: left;
padding: 0 10px 0 0;
}
p.p4{
float: left;
}
#content2{
width: 295px;
height: 370px;
float: left;
}
p.p5{
padding: 28px 0 0 15px;
}
#footer{
text-align: center;
width: 800px;
height: 40px;
clear: both;
}
.copy {
font-size: 0.65em;
color: #FFF;
background-color: #3273dc;
padding: 10px 0 8px 0;
}
/* ▼▼▼ ページ2 ▼▼▼ */
#wrapper2 {
background-image: url(../contents/bk_maincontents.jpg);
width: 782px;
height: 399px;
padding: 0 9px;
}
/* sidebar */
.sidebar_title {
padding: 0 0 10px 0;
}
#sidebar {
width: 110px;
height: 384px;
float: left;
}
#nav2 {
width: 110px;
height: 384px;
padding: 15px 0 0 20px;
background-color: #D9E2E9;
}
#nav2 li {
list-style-type: square;
font-size: 0.95em;
padding: 0 0 10px 0;
color: #3273dc;
}
#nav2 li a {
color: #3273dc;
font-weight: 500;
}
#nav2 a {
}
#nav2 a:hover {
color: #BAC1C6;
}
#wrapper3{
width: 600px;
height: 370px;
float: right;;
}
#main {
float: left;
width: 374px;
height: 370px;
font-size: 0.85em;
padding: 15px 0 0 0;
}
p.contets_p1{
}
p.previous {
float: left;
color: #3273dc;
font-size: 0.85em;
}
p.next {
float: right;
color: #3273dc;
font-size: 0.85em;
}
#contents_p {
padding: 5px 0 25px 0;
}
.contets_p2 {
float: left;
}
.contets_p3 {
padding: 0 0 0 10px;
float: left;
}
.contets_p4 {
float: left;
padding: 0 0 0 10px;
}
#main_text {
width: 190px;
height: 370px;
padding: 20px 0 0 15px;
float: left;
}
h2 {
font-size: 1.2em;
font-weight: 500;
text-align: center;
padding: 0 0 15px 0;
}
dt {
font-size: 1.0em;
text-align: center;
padding: 0 0 15px 0;
}
dd {
font-size: 0.85em;
}