by nulen
3 replies
  • WEB DESIGN
  • |
i have this search box..

HTML:
<div class="searchbox"><input type="text" name="searchbox" id="searchbox"></div>
<div class="searchbtn"><input name="search" type="button" value="Search"></div>

CSS:
#.searchbox input {
background-image: url('searchbg.png');
width: 238px;
height: 24px;
float: left;
padding: 2px;
border: 0;
outline:none;
}

.searchbtn input {
background-image: url('searchbtn.png');
color: #fff;
font-weight: bold;
width: 86px;
height: 24px;
border: 0;
float: left;
}

it looks nice and sweet however when i type something in it it doesnt do anyhting.. how to make it search in my website?
#box #search
  • Profile picture of the author mojojuju
    Originally Posted by nulen View Post


    it looks nice and sweet however when i type something in it it doesnt do anyhting.. how to make it search in my website?
    .. and it shouldn't do anything. A search box is just a form to enter search words in. You have to set it up so that the keywords entered into the form are submitted to a URL that has a script or program that can perform the search.
    Signature

    :)

    {{ DiscussionBoard.errors[5698538].message }}
    • Profile picture of the author nulen
      eh thats lame.. any ideas how can i do that for free?
      {{ DiscussionBoard.errors[5704879].message }}
      • Profile picture of the author webpeon
        Originally Posted by nulen View Post

        eh thats lame.. any ideas how can i do that for free?
        depends on what you want to search
        Signature
        Web 2 Mobile
        The Future of The Web
        {{ DiscussionBoard.errors[5708375].message }}

Trending Topics