This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to make a search bar like on twitter and bing.com?
10-11-2012, 09:25 PM
Post: #1
how to make a search bar like on twitter and bing.com?
What I mean is on bing it has the search button inside of the search bar and on twitter the search bar is taller and the search button is still inside the search bar. You can tell if you look closely around the gray search button you will see a white area. Any idea how these sights do this? I know how to make the search bar longer but not taller or the effect of the button being the bar. Also one more thing just to double check... Twitter does the affect of dropping the sign in form using AJAX because it doesn't reload the page right?

Ads

Find all posts by this user
Quote this message in a reply
10-11-2012, 09:33 PM
Post: #2
 
Actually the submit button just has a border the same amount as the text fields padding. And the two are packed together.

#textField {
padding:10px;
border:0;
height:30px;
}
#submit {
max-height:30px;
border:5px solid white;
}

Ads

Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)