2014-11-24 64 views
-1

我有一個文本區域稱爲生物graphy在這種形式。它不是在開始時它在文本框的中間。我的代碼有什麼問題?光標不是從我的文本框中開始的?爲什麼這樣?

<html> 
<head> 
<title> form </title> 
</head> 
<body> 
<center> 
<form action="formed.php" method="POST"> 

Bio-grpahy<input type="text" autofocus="true" value ="" rows="3" maxlength="1000"  style="width:250;height:150;"</input> </br> </br> 
<input type="submit" value="submit"/> 
<input type="reset" value="reset"/> </br> </br> 
</form> 
</body> 

+0

光標是在起始位置不中。看到這裏http://jsfiddle.net/10d1qwou/ – 2014-11-24 13:11:37

回答

1

爲了您的傳記領域,你可能想使用的,而不是一個input元素textarearows不是HTML input元素的有效屬性。

0

使用textarea的 DA:P不使用的輸入標籤DA中心標記其格噠

相關問題