Tagged with " css"
Dec 27, 2010 - eCommerce    Comments Off on Mini Search Box: Remove extra space

Mini Search Box: Remove extra space

(From Barry Smith)

When you add a search box to each page it always creates white space below the box, which is not always ideal in tight situations. So i added the margin style to the form tag… Just thought it may be a handy little tip for any one who like me gets bugged by the little things..

<form method="post" action="search.asp" style="margin:0px">
 <table border="0" cellpadding="3" cellspacing="0" summary="" style="border:1px solid #a59895">
 <tr><td><input type="hidden" name="posted" value="1"><input type="text" name="stext" size="16"></td><td><input type="image" name="Submit" src="images/search.gif" border="0"></td></tr>
 <tr><td colspan="2" align="left"><a href="search.asp">Advanced Search</a></td></tr>
 </table>
 </form>
Dec 27, 2010 - eCommerce    Comments Off on CSS: Dropdown menus, text boxes, form selections

CSS: Dropdown menus, text boxes, form selections

(From Barry Smith)

To use CSS for the text in the search.asp drop down box, for example, you can use a standard style and made it global:

input,select,textarea
 {
 font-size:10px;
 color:#202020;
 }
Dec 27, 2010 - eCommerce    Comments Off on Mini Search Box- Remove extra space

Mini Search Box- Remove extra space

(From Barry Smith)

When you add a search box to each page it always creates white space below the box, which is not always ideal in tight situations.So i added the margin style to the form tag…Just thought it may be a handy little tip for any one who like me gets bugged by the little things..

<form method="post" action="search.asp" style="margin:0px">
 <table border="0" cellpadding="3" cellspacing="0" summary="" style="border:1px solid #a59895">
 <tr><td><input type="hidden" name="posted" value="1"><input type="text" name="stext" size="16"></td><td><input type="image" name="Submit" src="images/search.gif" border="0"></td></tr>
 <tr><td colspan="2" align="left"><a href="search.asp">Advanced Search</a></td></tr>
 </table>
 </form>
Dec 27, 2010 - eCommerce    Comments Off on CSS: Dropdown menus, text boxes, form selections

CSS: Dropdown menus, text boxes, form selections

(From Barry Smith)

To use CSS for the text in the search.asp drop down box, for example, you can use a standard style and made it global:

input,select,textarea
 {
 font-size:10px;
 color:#202020;
 }
Pages:12»