Войти

Показать полную графическую версию : Кривая форма проверка файла от Dr.WEB! Помогите исправить


wiznv
06-06-2012, 13:39
Хотел разместить одну из форм проверка файлов на вирусы на своем сайте (Формы: http://www.freedrweb.com/for+web+sites/ ).
В опере оно выглядит отлично,в IE тоже а в Chrome :
http://forum.oszone.net/attachment.php?attachmentid=83342&stc=1&d=1338979103
А в Опере окуратная кнопочка ОБзор все четко...

вот код формы

<script language="JavaScript">
function resultURL()
{
var left = (screen.width - 640)/2
var top = (screen.height - 400)/2
window.open( "", "scan", "width=640"+
",height=400,left="+left+
",top="+top+",scrollbars=no,resizable=yes")
document.getElementById( "drwebscanformURL" ).target = "scan";
return true;
}
</script>

<form id="drwebscanformURL" action="http://online.us.drweb.com/result/" onSubmit="return resultURL()" method="post">
<div style="width: 474px; height: 65px; background: url(fon_white.gif)">
<div style="padding: 30px 0 0 137px;">
<div style="float: left;"><input type="text" name="url" value="http://" class=find style="width:200px; border: #9ac461 2px solid;"></div>
<div style="float: left; padding: 1px 0 0 5px"><input type="image" src="button.gif" width="121" height="21"></div>
</div>
</div>
</form>

wiznv
06-06-2012, 13:39
Как это можно исправить?

RostVY
06-06-2012, 15:53
для начала, желательно

width="121px" height="21px"

а еще лучше


<input type="image" src="button.gif" style="width:121px; height:21px;"/>

»


class=find => class="find"

еще я б вообще убрал <div style="float: left;">

<div style="width: 474px; height: 65px; background: url(fon_white.gif)">
<div style="padding: 30px 0 0 137px;">
<input type="text" name="url" value="http://" class="find" style="height:21px; width:200px; border: 2px solid #9ac461;"/>
<input type="image" src="button.gif" style="width:121px; height:21px"/>
</div>
</div>




© OSzone.net 2001-2012