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 |
|||
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 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)