フォームに関する設定
/* ------ ページ全体 ------ */
body {
background-color: #ffffff; /* 背景色 */
}
ページ全体の背景色を指定します。文字色は16進数にて指定します。 |
/* ------ タイトル ------ */
.title {
color: #000000; /* 文字色 */
text-align: left; /* 配置 */
}
タイトルの文字色と配置を指定します。
/* ------ メッセージ ------ */
.msg_head {
color: #000000; /* 文字色 */
text-align: left; /* 配置 */
}
.msg_foot {
color: #000000; /* 文字色 */
text-align: center; /* 配置 */
}
メッセージヘッダ、及びメッセージフッタの文字色と配置を指定します。
|
/* ------ テーブル ------ */
table {
border-style: none;
width: 80%;
margin: 20px 10%;
}
table th {
background-color: #cccccc; /* 背景色 */
color: #000000; /* 文字色 */
text-align: left; /* 配置 */
border-style: none;
white-space: nowrap;
padding: 5px;
}
table td {
background-color: #eeeeee; /* 背景色 */
color: #000000; /* 文字色 */
text-align: left; /* 配置 */
border-style: none;
white-space: nowrap;
padding: 5px;
}
フォームメールの項目を表示するためのテーブルの指定です。
背景色、文字色、配置、ボーダーなどが指定できます。
|
/* ------ ボタン ------ */
.submit {
text-align: center; /* 配置 */
}
ボタン(送信ボタンなど)の配置を指定します。
left, right, center などが指定できます。
|
|