글쎄, 지난 시간 동안 이름을위한 양식을 중심으로 검색하고 있었고 여기까지 물어보기로 마음 먹었습니다. 그래, 난 ..이 장소를 검색 한 양식을 중심으로 도움이 필요합니다.
내 HTML :<div id="main" class="main">
<table border="0" class="container1">
<tr>
<td>
<p>
<img src="images/doesitfit.png" />
</p>
</td>
</tr>
</table>
<table border="0">
<div class="container2">
<input type="text" value="Enter Your First Name" id="form" onblur="javascript:if(this.value=='')this.value='Enter Your First Name';" onclick="javascript:if(this.value=='Enter Your First Name')this.value='';"></input>
</div>
</table>
</div>
내 CSS : 또한
.main {
background-color: rgba(11, 11, 11, 0.8);
width: 800px;
height: 550px;
border-radius:15px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
margin-left: auto;
margin-right: auto;
min-height: 10em;
height:100%;
overflow:hidden;
}
.container1 {
table-layout: fixed;
height:50%;
overflow:hidden;
width: 802px;
border-color:#ff0000;
border-radius:15px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
margin-left: auto;
margin-right: auto;
min-height: 10em;
color:white;
margin: auto;
}
.container2 {
}
#form {
font-size: 19px;
border: 0px solid;
color: #7a7a7a;
height:28px;
width:295px;
text-align:center;
margin: auto;
}
, 나는 이메일과 같은 몇 양식 (입력)를 추가 할 계획 , 전화 번호.
대단히 감사합니다. 마침내 도움을 얻을 수 있기를 바랍니다.
작성한 코드에 대한 질문이있는 경우 * 여기 * (줄이기를 권장 함)의 코드를 외부 사이트에 연결하지 마십시오. 코드에는 [validator] (http://validator.w3.org/)를 사용하면 여러 가지 오류가 있습니다. – Quentin
테이블에 직접 자식 요소가 포함될 div 요소가 있어서는 안됩니다. '