<head>
<style type="text/css">
div#outline{
width:800px;
margin:0px auto;
}
div#left_2{
width:400px;
float:left;
}
div#left_1{
width:200px;
float:left;
}
div#right_2{
width:400px;
float:left;
}
div#right_1{
float:left;
width:200px;
</style>
</head>
<body>
<div id="outline">
<div id="left_2">
<div id="left_1">1番左のカラム</div>
<div id="right_1">左から2番目のカラム</div>
</div>
<div id="right_2">
<div id="left_1">右から2番目のカラム</div>
<div id="right_1">1番右のカラム</div>
</div>
</body>
<head>
<style type="text/css">
div#outline{
width:900px;
margin:0px auto;
}
div#left_2{
width:600px;
float:left;
}
div#left_1{
width:300px;
float:left;
}
div#right_1{
float:left;
width:300px;
</style>
</head>
<body>
<div id="outline">
<div id="left_2">
<div id="left_1">左のカラム</div>
<div id="right_1">中心のカラム</div>
</div>
<div id="right_1">右のカラム</div>
</div>
</body>
<head>
<style type="text/css">
p.red { color: red;
font-size:16px;}
p.blue { color: blue;
font-size:10px;}
</style>
</head>
<body>
<p class="red">赤色で表示</p>
<p class="blue">青色で表示</p>
</body>
<head>
<link rel="stylesheet" href="1.css" type="text/css" />
</head>
body { background-color:#fff;
color:#999;
font-size:10px;}
<head>
<style type="text/css">
body { background-color:#fff;
color:#999;
font-size:10px;}
</style>
</head>
| < 前のページ | 次のページ > |