Aceste coduri sunt pentru o casuta de Search dar cand scriu in casuta ce vreau sa imi gaseasca pe site ma duce pe google. Am schimbat si am baga site-ul meu dar ma baga pe site cand dau search.
Am urmatoarele fisiere in tema
acasa.html
filme.html
muzica.html
contact.html
si niste foldere css,images,audio,js
Imi puteti explica ce trebuie sa fac ca sa pot gasi pe site ce vreau folosind casuta search?
Daca vreti site-ul in pm sau la id messenger daniel29dani.
Code: Select all
<style type="text/css">
#tfheader{
background-color:#c3dfef;
}
#tfnewsearch{
float:right;
padding:20px;
}
.tftextinput{
margin: 0;
padding: 5px 15px;
font-family: Arial, Helvetica, sans-serif;
font-size:14px;
border:1px solid #0076a3; border-right:0px;
border-top-left-radius: 5px 5px;
border-bottom-left-radius: 5px 5px;
}
.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;
border: solid 1px #0076a3; border-right:0px;
background: #0095cd;
background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
background: -moz-linear-gradient(top, #00adee, #0078a5);
border-top-right-radius: 5px 5px;
border-bottom-right-radius: 5px 5px;
}
.tfbutton:hover {
text-decoration: none;
background: #007ead;
background: -webkit-gradient(linear, left top, left bottom, from(#0095cc), to(#00678e));
background: -moz-linear-gradient(top, #0095cc, #00678e);
}
/* Fixes submit button height problem in Firefox */
.tfbutton::-moz-focus-inner {
border: 0;
}
.tfclear{
clear:both;
}
</style>
iar intre codurile <body> si </body> adauga:
Code: Select all
<div id="tfheader">
<form id="tfnewsearch" method="get" action="http://www.google.ro">
<input type="text" class="tftextinput" name="q" size="21" maxlength="120"><input type="submit" value="cauta" class="tfbutton">
</form>
<div class="tfclear"></div>
</div>