WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 How do I make the search box like this on Sat Jan 08, 2011 2:55 am

Matti


Registered Member
Registered Member
How do I make the search box like this



My forum is here and i hope some one can help.

2 Re: How do I make the search box like this on Sat Jan 08, 2011 3:04 am

Green CoW


Registered Member
Registered Member
That is a background image and 0px on the input border.

3 Re: How do I make the search box like this on Sat Jan 08, 2011 3:08 am

Matti


Registered Member
Registered Member
I know that but i need the code to start with cuz I tried with what I know but I didn't get it the same as that.

4 Re: How do I make the search box like this on Sat Jan 08, 2011 3:18 am

Green CoW


Registered Member
Registered Member
Look.. Google was working...
The first link in the google search

5 Re: How do I make the search box like this on Sat Jan 08, 2011 3:51 am

RockerMan


WebArtz Technician
WebArtz Technician
Haha, I think everyone is loving google today Razz

I've seen it mentiond more times today then every before Smile

http://www.graphics-post.com/

6 Re: How do I make the search box like this on Sat Jan 08, 2011 8:58 pm

Matti


Registered Member
Registered Member
I didn't find what I need...

7 Re: How do I make the search box like this on Sat Jan 08, 2011 9:02 pm

Kasperx


Registered Member
Registered Member
Read the whole thing, read the code to. You will realize sooner or late its quite basic...

8 Re: How do I make the search box like this on Mon Jan 10, 2011 12:11 am

Matti


Registered Member
Registered Member
Bump...

9 Re: How do I make the search box like this on Mon Jan 10, 2011 12:47 am

RockerMan


WebArtz Technician
WebArtz Technician
OMG, Just read the whole article, could not be more simple!

http://www.graphics-post.com/

10 Re: How do I make the search box like this on Tue Jan 11, 2011 5:00 pm

Matti


Registered Member
Registered Member
RockerMan wrote:OMG, Just read the whole article, could not be more simple!


Dude you really don't understated do you...as i said i didn't get anything there so if you know the damn code please post it here so we get finish with it.

11 Re: How do I make the search box like this on Tue Jan 11, 2011 7:46 pm

Guest


Guest
Code:
<div id="searchwrapper"><form action="">
<input type="text" class="searchbox" name="s" value="" />
<input type="image" src="THE_BLANK_SUBMIT_BUTTON_IMAGE" class="searchbox_submit" value="" />
</form>
</div>


Code:
#searchwrapper {
width:310px; /*follow your image's size*/
height:40px;/*follow your image's size*/
background-image:url(THE_SEARCH_BOX_IMAGE);
background-repeat:no-repeat; /*important*/
padding:0px;
margin:0px;
position:relative; /*important*/
}
 
#searchwrapper form { display:inline ; }
 
.searchbox {
border:0px; /*important*/
background-color:transparent; /*important*/
position:absolute; /*important*/
top:4px;
left:9px;
width:256px;
height:28px;
}
 
.searchbox_submit {
border:0px; /*important*/
background-color:transparent; /*important*/
position:absolute; /*important*/
top:4px;
left:265px;
width:32px;
height:28px;
}

12 Re: How do I make the search box like this on Sat Jan 15, 2011 8:42 pm

ankillien


Administrator
Administrator
It is not good to always expect a "copy-paste" code.
The thing you want is so simple. It is just about removing the border width and adding radius to it.

Code:
input.search {
border: none;
-moz-border-radius: 10px;
}


Smile

13 Re: How do I make the search box like this on Tue Jan 18, 2011 10:25 pm

Matti


Registered Member
Registered Member
The point was adding a image there but k.

14 Re: How do I make the search box like this on Thu Jan 20, 2011 9:47 pm

ankillien


Administrator
Administrator
The image is actually added as a background of the input box.

This is how it can be done...
Code:


input {
padding-left: 12px;
background: url(IMAGE URL HERE) no-repeat;
}

15 Re: How do I make the search box like this on Mon Apr 25, 2011 7:10 pm

RockerMan


WebArtz Technician
WebArtz Technician
Maki, Please respond to this thread within 7 days unless this thread will be marked as solved & locked.

~RockerMan

http://www.graphics-post.com/

16 Re: How do I make the search box like this on Tue Apr 26, 2011 2:16 am

Matti


Registered Member
Registered Member
Is ok this can be locked now Smile

17 Re: How do I make the search box like this on Tue Apr 26, 2011 2:20 am

RockerMan


WebArtz Technician
WebArtz Technician
Topic Solved & Locked

~RockerMan


_________________


No support via. PM, as they will just be deleted
http://www.graphics-post.com/

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum