Styling the placeholder is a tricky one. Below is the HTML code for setting up simple search UI, We’ll focus on the search text box with the class “search-input” and the button with the class “search-button”, The trick is to have no borders at all and have a negative margin, Below is the CSS code for making the button appear within the search text box. If you have a white background, the text box will be invisible as there is no border at all. < form action = "search" method = "GET" > Search Term: < input type = "text" name = "search_query" > < input type = "submit" value = "Search" > < button type = "submit" name = "search" value = "search_button" > Search Although this tag is often nested inside a
element, this is not a requirement. Moved by SachinW Moderator Wednesday, March 3, 2010 7:15 AM Moving from MSDN and TechNet Search Feedback Forum, please move or answer as necessary (From:MSDN and TechNet Search Feedback) Learn How to use