< style type ="text/css" > div.b-yandexbox * { font-size: 12px !important; margin: 0 !important; } div.b-yandexbox a img { border: 0 !important; } div.b-yandexbox input, div.b-yandexbox label { vertical-align: middle; } div.b-yandexbox table { font-size: 12px; width: 100%; border-collapse: collapse; border: 0; background: #96a8c8; } div.b-yandexbox table td { padding: 7px 0 6px 0; white-space: nowrap; vertical-align: middle; } div.b-yandexbox .b-yandexbox-image { padding: 6px 6px 0 6px; } div.b-yandexbox .b-yandexbox-search { width: 100%; padding: 0 6px; } div.b-yandexbox .b-yandexbox-search table { margin: 0; padding: 0; background: none; } div.b-yandexbox .b-yandexbox-search .b-yandexbox-txt { width: 100%; padding-right: 6px; } div.b-yandexbox .b-yandexbox-text { position: relative; width: 100%; } div.b-yandexbox .b-yandexbox-text input { float: left; width: 100%; padding-right: 0; border: 1px solid #7f9db9; } div.b-yandexbox .b-yandexbox-search .b-yandexbox-submit { padding: 0; } div.b-yandexbox .b-hint-input { position: absolute; z-index: 100; left: 0; display: none; width: 30px; height: 11px; margin: 0.16em 0.2em !important; cursor: text; line-height: 0; background: url(http://site.yandex.ru/i/ysearch_small.png) no-repeat; } div.b-yandexbox .button-search { width: 19px; height: 15px; outline: none; cursor: pointer; border: none; background: url(http://site.yandex.ru/i/search.png) no-repeat; } </ style ><! -- [ if lte IE 8 ] >< style type ="text/css" > *:first-child+html div.b-yandexbox .b-hint-input { position: absolute; margin-top: 4px !important; } * html div.b-yandexbox .b-hint-input { position: relative; bottom: -0.5em; left: 0.3em; float: left; display: block; margin: 0 0 -1em !important; } </ style ><! [endif]-- >< script type ="text/javascript" > /*<![CDATA[*/ ( function (Lego){ if (!Lego) Lego = window.Lego = {}; Lego.clean = function (a) { var p = a.previousSibling; if (p) { a.onblur = function () { if (!a.value) { p.style.top = "" ; } }; p.style.top = "-9999px" ; } }; Lego.cleanIfNotEmpty = function (id) { var e = document .getElementById(id); e.previousSibling.style.display = "block" ; var f = function () { if (e.value) { Lego.clean(e); } }; setInterval(f, 100); }; })(window.Lego); /*]]>*/ </ script >
<div class = "b-yandexbox" ><form method= "get" action= "http://dev.xxxx.ru/search" ><table><tr><td class = "b-yandexbox-search" ><table><tr><td class = "b-yandexbox-txt" ><div class = "b-yandexbox-text" ><label for = "yandexbox-text" class = "b-hint-input" onfocus= "Lego.clean(this)" title= "" ></label><input name= "text" id= "yandexbox-text" onfocus= "Lego.clean(this)" /></div><script type= "text/javascript" >Lego.cleanIfNotEmpty( "yandexbox-text" ) </ script ></ td >< td class ="b-yandexbox-submit" >< input type ="hidden" name ="searchid" value ="128506" />< input type ="submit" value ="" /></ td ></ tr ></ table ></ td ></ tr ></ table ></ form ></ div >
* This source code was highlighted with Source Code Highlighter .
< style type ="text/css" > div.b-yandexbox * { font-size: 12px !important; margin: 0 !important; } div.b-yandexbox a img { border: 0 !important; } div.b-yandexbox input, div.b-yandexbox label { vertical-align: middle; } div.b-yandexbox table { font-size: 12px; width: 100%; border-collapse: collapse; border: 0; background: #96a8c8; } div.b-yandexbox table td { padding: 7px 0 6px 0; white-space: nowrap; vertical-align: middle; } div.b-yandexbox .b-yandexbox-image { padding: 6px 6px 0 6px; } div.b-yandexbox .b-yandexbox-search { width: 100%; padding: 0 6px; } div.b-yandexbox .b-yandexbox-search table { margin: 0; padding: 0; background: none; } div.b-yandexbox .b-yandexbox-search .b-yandexbox-txt { width: 100%; padding-right: 6px; } div.b-yandexbox .b-yandexbox-text { position: relative; width: 100%; } div.b-yandexbox .b-yandexbox-text input { float: left; width: 100%; padding-right: 0; border: 1px solid #7f9db9; } div.b-yandexbox .b-yandexbox-search .b-yandexbox-submit { padding: 0; } div.b-yandexbox .b-hint-input { position: absolute; z-index: 100; left: 0; display: none; width: 30px; height: 11px; margin: 0.16em 0.2em !important; cursor: text; line-height: 0; background: url(http://site.yandex.ru/i/ysearch_small.png) no-repeat; } div.b-yandexbox .button-search { width: 19px; height: 15px; outline: none; cursor: pointer; border: none; background: url(http://site.yandex.ru/i/search.png) no-repeat; } </ style ><! -- [ if lte IE 8 ] >< style type ="text/css" > *:first-child+html div.b-yandexbox .b-hint-input { position: absolute; margin-top: 4px !important; } * html div.b-yandexbox .b-hint-input { position: relative; bottom: -0.5em; left: 0.3em; float: left; display: block; margin: 0 0 -1em !important; } </ style ><! [endif]-- >< script type ="text/javascript" > /*<![CDATA[*/ ( function (Lego){ if (!Lego) Lego = window.Lego = {}; Lego.clean = function (a) { var p = a.previousSibling; if (p) { a.onblur = function () { if (!a.value) { p.style.top = "" ; } }; p.style.top = "-9999px" ; } }; Lego.cleanIfNotEmpty = function (id) { var e = document .getElementById(id); e.previousSibling.style.display = "block" ; var f = function () { if (e.value) { Lego.clean(e); } }; setInterval(f, 100); }; })(window.Lego); /*]]>*/ </ script >
<div class = "b-yandexbox" ><form method= "get" action= "http://dev.xxxx.ru/search" ><table><tr><td class = "b-yandexbox-search" ><table><tr><td class = "b-yandexbox-txt" ><div class = "b-yandexbox-text" ><label for = "yandexbox-text" class = "b-hint-input" onfocus= "Lego.clean(this)" title= "" ></label><input name= "text" id= "yandexbox-text" onfocus= "Lego.clean(this)" /></div><script type= "text/javascript" >Lego.cleanIfNotEmpty( "yandexbox-text" ) </ script ></ td >< td class ="b-yandexbox-submit" >< input type ="hidden" name ="searchid" value ="128506" />< input type ="submit" value ="" /></ td ></ tr ></ table ></ td ></ tr ></ table ></ form ></ div >
* This source code was highlighted with Source Code Highlighter .
< form action ="http://www.google.com/cse" id ="cse-search-box" >
< div >
< input type ="hidden" name ="cx" value ="000576298720900936897:0dw8trymppo" />
< input type ="hidden" name ="ie" value ="UTF-8" />
< input type ="text" name ="q" size ="31" />
< input type ="submit" name ="sa" value ="" />
</ div >
</ form >
< script type ="text/javascript" src ="http://www.google.com/cse/brand?form=cse-search-box&lang=ru" ></ script >
* This source code was highlighted with Source Code Highlighter .
< form action ="http://www.google.com/cse" id ="cse-search-box" >
< div >
< input type ="hidden" name ="cx" value ="000576298720900936897:0dw8trymppo" />
< input type ="hidden" name ="ie" value ="UTF-8" />
< input type ="text" name ="q" size ="31" />
< input type ="submit" name ="sa" value ="" />
</ div >
</ form >
< script type ="text/javascript" src ="http://www.google.com/cse/brand?form=cse-search-box&lang=ru" ></ script >
* This source code was highlighted with Source Code Highlighter .
Source: https://habr.com/ru/post/69380/
All Articles