0
HTMLとCSSはよく分かりませんが、発信ボックスを作成することができました。 テキストとボタンの間隔が大きすぎます。そして、私は、ボタンを上下の境界線の中央に配置したいと思います。私は誰かが助けることができれば感謝します。ボタンをフロートで中央に配置する方法:右
スクリーンショット
をチェックしてくださいここでは、いずれかのコード
<html>
<head>
<style>
div#abc {
padding: 5px 2px 8px 5px;
border: 1px solid #dddddd;
border-radius: 10px;
line-height: 120%;
border-top:none;
}
img#def {
margin:1px 8px 2px 2px;
}
h1#ghi {
font-size:18px;
color:#7fbdcb;
margin:0px;
font-face:"Raleway";
}
img#ggg {
font-size:18px;
color:#7fbdcb;
margin:4px;
float:right;
background-color:blue;
}
.button {
background-color: #7fbdcb;
border: none;
color: white;
padding: 6px 10px;
text-align: center;
text-decoration: none;
font-size: 16px;
cursor: pointer;
float: right;
margin-top: 12px;
margin-right: 4px;
margin-left: 0px;
}
.button:hover {
background-color: #6ea5b1;
}
</style>
</head>
<body>
<div id="abc"><img id="def" src="http://www.goodisle.com/wp-content/uploads/2014/03/raise-1.jpg" style="width:60px; height:60px; float:left;"><button class="button">Submit</button>
<h1 id="ghi">Submit your email</h1>
<p style="size:5px;">Cliche scenester Wes Anderson, Etsy Vice mustache.Cliche scenester Wes Anderson, Etsy Vice mustache.</p>
</div>
</body>
</html>