我一直试图让搜索结果在新窗口中打开几个小时,但没有运气。我做错了什么?
<form id="tfnewsearch" method="get" action="http://www.maps.google.com" target="_blank">
<input type="text" class="tftextinput" name="q" size="21" maxlength="120">
<input type="submit" value="search" class="tfbutton">
</form>
编辑:在这里添加CSS
#tfnewsearch{
float:right;
padding:20px;
}
.tftextinput{
margin: 0;
padding: 5px 15px;
font-family: Arial, Helvetica, sans-serif;
font-size:14px;
}
.tfbutton {
margin: 0;
padding: 5px 15px;
font-family: Arial, Helvetica, sans-serif;
font-size:14px;
outline: none;
cursor: pointer;
text-align: center;
text-decoration: none;
color: #ffffff;
}
.tfbutton:hover {
text-decoration: none;
}
/* Fixes submit button height problem in Firefox */
.tfbutton::-moz-focus-inner {
border: 0;
}
任何看到错误的人?
答案 0 :(得分:0)