皆さんは現在、デザインを引き出し、いくつかのdivタグ、ロゴ画像、ボトムボーダー、ボタンを使用してヘッダーを作成しようとしています。 相続人は何イムしようとTODOの私の基本的な概要:(申し訳ありませんが、そのぼやけますが、使用可能な) Divのタグとヘッダー
ここFinnalyはコード責任者です。それはあなたがちょうどあなたのCSSの間違った行のコメントを使用していたのdivコンテナ
<html>
<head>
<style>
body{ background-image: url("wood texture.jpg");
}
.header{
position:relative;
width:100%;
height:10%;
<!--border-style:solid;
border-color:black;
border-width:0px 0px 10px 0px;-->
}
.headlogo{
width:25%;
height:100%;
position: absolute;
padding 0;
margin:0;
}
.headline{
width:100%;
height:100%;
margin:0px 0px 0px 60%;
<!--padding:0px 0px 0px 25%;
position: relative;
left:25%;
top:0px;-->
float: right;
border-style:solid;
border-color:black;
border-width:0px 0px 10px 0px;
}
</style>
</head>
<body>
<div id="" class="header">
<div id="" class="headlogo">
<img src="logo.png" alt="" style="width:25%; height:50%; margin-right:10px; float:right;"
</div>
<div id="" class="headline">
Buttons will go in here and look supper cool but first this needs to stretch all the way to the right from about where the logo stops
</div>
</div>
</body>
</html>
あなたは、あなたが/ *コメントでCSSをコメントアウトする必要があり –
IMGタグに '' />不足しています*/<! - コメント - >ではありません。最後はhtmlタグのみです。 – c00ki3s
@AlonEitanありがとうございました –