最近、自分の Tumblr ブログ テーマをコーディングしようとしています。現在、私は HTML について少し知識があり、CSS の経験はありません。ただし、テーマ内の投稿を分離できないようです。私が使用しているコードは次のとおりです。
<!DOCTYPE html>
<html>
<head>
<meta name="color:Background" content="#000000">
<meta name="font:Body" content="Georgia" />
<meta name="image:Background" content="http://i41.tinypic.com/wvztsk.png" />
<meta name="color:Primary Colour" content="#03999b" />
<meta name="color:Secondary Colour" content="#4cc3c5" />
<link href='https://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
<title>{Title}{block:PostSummary}, {PostSummary}{/block:PostSummary}</title>
{block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
<link rel="shortcut icon" href="{Favicon}" />
<style type="text/css">
/* Header */
.headerstuff {
background-color: black;
color: silver;
height: 25px;
width: 100%;
text-align: center;
text-decoration: none;
font-style: italic;
margin: -10px;
padding-top: 12px;
padding-bottom: -2px;
position: fixed;
font-family: 'Raleway', cursive;
}
body {
background-color:{color:Background};
font-family:{font:Body};
}
.links {
color: red;
text-align: left;
}
#content {
padding:10px;
background-color: #000000;
font-family: 'Raleway', cursive;
font-size: 25px;
max-width: 500px;
}
.contentcontainer {
width:1480px;
padding-left: 100px;
padding-top: 50px;
}
#contentcontainer #content {
background-color: white;
width: 500px;
margin: 0 auto 20px;
padding:10px;
}
#content .title {
font-family: 'Raleway', cursive;
font-size:30px;
color: silver;
padding-left: 10px;
border-bottom: 1px solid silver;
text-align: center;
}
.text {
color: white;
font-size: 20px;
font-family: 'Raleway', cursive;
padding-left: 20px;
font-style: italic;
}
</style>
</head>
<body>
<header>
<div class="headerstuff">"Welcome to Neverland!"</div>
</header>
<div class="contentcontainer">
<div id ="content">{block:Posts}
{block:Text}
{block:Title}<div class="title">{Title}</div>{/block:Title}
<div class="text">{Body}</div>
{/block:Text}
{/block:Posts}
</div>
</div>
</body>
</html>
これまでのところ、テキスト側のみをコーディングしましたが、提供されたスクリーンショットでわかるように、2 つのテキストを 2 つの別々のボックスに分けることができないようです。誰か助けて?