<div id="search">
<form>
<input type="text" id="text"/>
<input type="submit" id="submit" value="Search"/>
</form>
</div>
<style>
<form>
<input type="text" id="text"/>
<input type="submit" id="submit" value="Search"/>
</form>
</div>
<style>
#search{
border: 1px solid #ccc;
max-width: -moz-fit-content;
padding: 1px;
-moz-border-radius: 5px;
}
#text{
border: 0px solid #ccc;
-moz-border-radius: 5px 0px 0px 5px;
padding-left: 10px;
}
#submit{
background: #88f;
color: #fff;
font: 14px arial;
font-weight: bold;
border: 0px solid #000;
padding: 1px 5px;
-moz-border-radius: 0px 5px 5px 0px;
cursor: pointer;
}
#submit:hover{
background: #55f;
}
form{
margin: 0px;
padding: 0px;
}
border: 1px solid #ccc;
max-width: -moz-fit-content;
padding: 1px;
-moz-border-radius: 5px;
}
#text{
border: 0px solid #ccc;
-moz-border-radius: 5px 0px 0px 5px;
padding-left: 10px;
}
#submit{
background: #88f;
color: #fff;
font: 14px arial;
font-weight: bold;
border: 0px solid #000;
padding: 1px 5px;
-moz-border-radius: 0px 5px 5px 0px;
cursor: pointer;
}
#submit:hover{
background: #55f;
}
form{
margin: 0px;
padding: 0px;
}
</style>
No comments:
Post a Comment