<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FOR BETTER DESIGNS &#187; search</title>
	<atom:link href="http://www.forbetterdesigns.com/tag/search/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.forbetterdesigns.com</link>
	<description>Articles and resources to improve your designs</description>
	<lastBuildDate>Thu, 22 Jul 2010 09:02:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>For better design: Template 1: Design a simple search box and search button tutorial.</title>
		<link>http://www.forbetterdesigns.com/2009/09/30/for-better-design-template-1-design-a-simple-search-box-and-search-button-tutorial/</link>
		<comments>http://www.forbetterdesigns.com/2009/09/30/for-better-design-template-1-design-a-simple-search-box-and-search-button-tutorial/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 22:19:18 +0000</pubDate>
		<dc:creator>Ali Chorov</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[articles]]></category>
		<category><![CDATA[better]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[ideas]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.forbetterdesigns.com/?p=56</guid>
		<description><![CDATA[Begining. My idea to change the design of this WordPress blog begins now. In this 1st tutorial I'll design a search box. First I'll begin with the design in Photoshop. Look at the video below to see my design. Hope it will be in use for you. Part1 Design the simple search box and search [...]


Related posts:<ol><li><a href='http://www.forbetterdesigns.com/2010/02/01/design-theme-for-wordpress-web-site-tutorial/' rel='bookmark' title='Permanent Link: Design theme for wordpress web site tutorial.'>Design theme for wordpress web site tutorial.</a></li>
<li><a href='http://www.forbetterdesigns.com/2009/10/29/for-better-design-template-1-tutorial-5-simple-footer-design/' rel='bookmark' title='Permanent Link: Design simple footer design for your web site in photoshop.'>Design simple footer design for your web site in photoshop.</a></li>
<li><a href='http://www.forbetterdesigns.com/2009/10/16/for-better-design-template-1-tutorial-3-crop-the-template-and-add-the-images-to-this-web-site/' rel='bookmark' title='Permanent Link: Crop theme design in photoshop and add the images to your wordpress blog or web site.'>Crop theme design in photoshop and add the images to your wordpress blog or web site.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-left: 7px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.forbetterdesigns.com%2F2009%2F09%2F30%2Ffor-better-design-template-1-design-a-simple-search-box-and-search-button-tutorial%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.forbetterdesigns.com%2F2009%2F09%2F30%2Ffor-better-design-template-1-design-a-simple-search-box-and-search-button-tutorial%2F&amp;style=compact" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.forbetterdesigns.com/wp-content/uploads/2009/09/21.jpg"><img class="alignnone size-full wp-image-465" title="Design a search box image" src="http://www.forbetterdesigns.com/wp-content/uploads/2009/09/21.jpg" alt="" width="758" height="336" /></a></p>
<h3>Begining.</h3>
<p>My idea to change the design of this WordPress blog begins now. In this 1st tutorial I’ll design a search box. First I’ll begin with the design in Photoshop. Look at the video below to see my design. Hope it will be in use for you.</p>
<p><span id="more-56"></span></p>
<h3>Part1 Design the simple search box and search button:</h3>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="597" height="367" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/dPjhGWjEMXE&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;border=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="597" height="367" src="http://www.youtube.com/v/dPjhGWjEMXE&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;border=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<div><strong><br />
</strong></div>
<div>
<h3>Part<strong> 2</strong> place the image to the template:</h3>
<p>OK so after I have the design, I should crop this images and save them as 3 separate files.<br />
1. Search box image<br />
2. Search button image<br />
3. Search button hover image.<br />
Now it’s time to upload the images to my image folder in my server. Usually in /themes/”themename”/images… The first thing I should do now for this images to work is to make CSS class in my HTML file.</p>
<p>So this part 2 is about that. Let’s begin!</p>
<p>1st: the class of my search form in called : <span style="color: #333333;"><em>searchform2</em></span><br />
and the class of my search button is called: <span style="color: #333333;"><em>searchsubmit</em></span></p>
<p>It’s so easy because all I should do is to add the path to the images I have, also the size of the images,</p>
<h3>Used CSS</h3>
<p>Here is the CSS I am using:<br />
for search form:</p>
<blockquote>
<div style="border: 1px dashed #5f5f5f; margin: 5px; padding: 10px; background-color: #f2f2f2;"><span style="color: #333333;"><span style="font-style: normal; font-family: Georgia;">.searchform2{<br />
height:17px;<br />
float:left;<br />
width:159px;<br />
background-image:url(images/searchbox.jpg);<br />
background-repeat:no-repeat;<br />
border:0px;<br />
padding:11px 0px 11px 11px;<br />
color:#628088;<br />
margin-left:19px;<br />
} </span></span></div>
</blockquote>
<p>and for search submit (thisi s my button):</p>
<blockquote>
<div style="border: 1px dashed #5f5f5f; padding: 10px; background-color: #f2f2f2; margin: 5px;"><span style="color: #808080;"><span style="font-style: normal; font-family: Georgia;"><em> </em><span style="color: #333333;">.searchsubmit{<br />
float:left;<br />
height:28px;<br />
width:28px;<br />
cursor:pointer;<br />
background-image:url(images/searchbutton.jpg);<br />
background-repeat:no-repeat;<br />
border:0px;<br />
margin-top:5px;<br />
}<br />
.searchsubmit:hover{<br />
float:left;<br />
height:28px;<br />
width:28px;<br />
cursor:pointer;<br />
background-image:url(images/searchbutton_hover.jpg);<br />
background-repeat:no-repeat;<br />
height:28px;<br />
width:28px;<br />
border:0px;<br />
margin-top:5px;<br />
}</span> </span></span></div>
</blockquote>
<p>And I’ll upload everything to my server. So this is all I need for my images to appear. Off course this CSS style is for my template<br />
and this is what sweat my needs. But this is the way how it works <img src='http://www.forbetterdesigns.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The next thing I should do is in my HTML file. In this way if, you have tried to do this, you’ll notice that over our image of the button there have some text that appear ugly there!</p>
</div>
<div>
<p style="margin-bottom: 0in; text-align: center;" lang="en-US"><span style="font-size: x-small;"><em><img class="size-full wp-image-58 aligncenter" title="Search button image with text" src="http://www.forbetterdesigns.com/wp-content/uploads/2009/09/buttonsimage.jpg" alt="Search button image with text" width="443" height="74" /></em></span></p>
<p>By default the word: search, so if your button is like mine. It is just an image, you can remove from here in the HTML:</p>
<blockquote>
<div style="border: 1px dashed #5f5f5f; padding: 10px; background-color: #f2f2f2; margin: 5px;"><span style="color: #333333;"><span style="color: #808080;"><span style="color: #333333;">&lt;input type=“submit” id=“searchsubmit” value=“Search” /&gt;</span><br />
</span> </span><span style="color: #808080;"><span style="font-style: normal; font-family: Georgia;"><em> </em></span></span></div>
</blockquote>
<p>value=“Search”  should be empty like the example:</p>
<blockquote>
<div style="border: 1px dashed #5f5f5f; padding: 10px; background-color: #f2f2f2; margin: 5px;"><span style="color: #333333;"><span style="color: #333333;">&lt;input type=“submit” id=“searchsubmit” value=” ” /&gt; </span> </span><span style="color: #808080;"><span style="font-style: normal; font-family: Georgia;"><em> </em></span></span></div>
</blockquote>
<p>and after that I am done with the design of the searchbox. Now If you have followed this tutorial, you can do all kind of designs for your search boxes. This is basically how everything with CSS work, there have just different techniques and you need a LOT of practice. Hope you’ve learned something here. Bye</p>
</div>


<p>Related posts:<ol><li><a href='http://www.forbetterdesigns.com/2010/02/01/design-theme-for-wordpress-web-site-tutorial/' rel='bookmark' title='Permanent Link: Design theme for wordpress web site tutorial.'>Design theme for wordpress web site tutorial.</a></li>
<li><a href='http://www.forbetterdesigns.com/2009/10/29/for-better-design-template-1-tutorial-5-simple-footer-design/' rel='bookmark' title='Permanent Link: Design simple footer design for your web site in photoshop.'>Design simple footer design for your web site in photoshop.</a></li>
<li><a href='http://www.forbetterdesigns.com/2009/10/16/for-better-design-template-1-tutorial-3-crop-the-template-and-add-the-images-to-this-web-site/' rel='bookmark' title='Permanent Link: Crop theme design in photoshop and add the images to your wordpress blog or web site.'>Crop theme design in photoshop and add the images to your wordpress blog or web site.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.forbetterdesigns.com/2009/09/30/for-better-design-template-1-design-a-simple-search-box-and-search-button-tutorial/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
