<?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>Website Ideas &#187; CSS Tricks</title>
	<atom:link href="http://www.website-ideas.co.uk/category/css-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.website-ideas.co.uk</link>
	<description>All the design inspiration you will need</description>
	<lastBuildDate>Sat, 12 Nov 2011 06:54:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Creating Slick Forms Using Ajax, jQuery &amp; CSS</title>
		<link>http://www.website-ideas.co.uk/2010/05/16/creating-slick-forms-using-ajax-jquery-css/</link>
		<comments>http://www.website-ideas.co.uk/2010/05/16/creating-slick-forms-using-ajax-jquery-css/#comments</comments>
		<pubDate>Sun, 16 May 2010 17:48:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles By Others]]></category>
		<category><![CDATA[CSS Tricks]]></category>
		<category><![CDATA[Website Ideas]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[forms]]></category>

		<guid isPermaLink="false">http://www.website-ideas.co.uk/?p=671</guid>
		<description><![CDATA[Here is 10 Impressive techniques using some jQuery magic to spice up those old registrations forms and any form you might have on your website. View them here!]]></description>
			<content:encoded><![CDATA[<p>Here is 10 Impressive techniques using some <strong>jQuery</strong> magic to spice up those old registrations forms and any form you might have on your website.</p>
<p><a href="http://devsnippets.com/article/creating-slick-forms-using-ajax-jquery.html">View them here!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.website-ideas.co.uk/2010/05/16/creating-slick-forms-using-ajax-jquery-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make fancy buttons using CSS sliding doors technique</title>
		<link>http://www.website-ideas.co.uk/2008/05/26/make-fancy-buttons-using-css-sliding-doors-technique/</link>
		<comments>http://www.website-ideas.co.uk/2008/05/26/make-fancy-buttons-using-css-sliding-doors-technique/#comments</comments>
		<pubDate>Mon, 26 May 2008 13:01:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Website Ideas]]></category>

		<guid isPermaLink="false">http://www.website-ideas.co.uk/2008/05/26/make-fancy-buttons-using-css-sliding-doors-technique/</guid>
		<description><![CDATA[This article will show you how to create fancy buttons using CSS sliding doors technique. It is much better to use this technique than to use image buttons because you can apply the style to any link and at the same time you don&#8217;t have to create an image for each button. The ultimate Css for your website. website ideas with great inspiration What is sliding doors technique? The technique is very simple. If we want to have a dynamic-width button, we have to find a way to stretch it horizontally. We will accomplish this if we create two background images that will define the button: one for the left side and one for the right side &#8211; like in the example below. LEFT                                                                            RIGHT Smaller, right image will slide on the top of the larger, left image (that why it is called sliding doors). The more right image slides to the left, the narrower button will be and vice versa. The image below shows the technique. Styling the button First, let&#8217;s take a look at the HTML elements that will simulate button. We have &#60;span&#62; element within the &#60;a&#62; element. Span element contains left, wider image and text. The... ]]></description>
			<content:encoded><![CDATA[<p>This article will show you how to create fancy buttons using <strong>CSS sliding doors technique</strong>. It is much better to use this technique than to use image buttons because you can apply the style to any link and at the same time you don&#8217;t have to create an image for each button. The ultimate Css for your website. <strong>website ideas</strong> with great inspiration</p>
<p><strong>What is sliding doors technique?</strong></p>
<p>The technique is very simple. If we want to have a dynamic-width button, we have to find a way to stretch it horizontally. We will accomplish this if we create two background images that will define the button: one for the left side and one for the right side &#8211; like in the example below.</p>
<p>LEFT                                                                            RIGHT</p>
<p><img src="http://www.website-ideas.co.uk/wp-content/uploads/2008/05/14.jpg" alt="14.jpg" /><span id="more-180"></span></p>
<p>Smaller, right image will slide on the top of the larger, left image (that why it is called sliding doors). The more right image slides to the left, the narrower button will be and vice versa. The image below shows the technique.</p>
<p><img src="http://www.website-ideas.co.uk/wp-content/uploads/2008/05/21.jpg" alt="21.jpg" /></p>
<p><strong>Styling the button</strong></p>
<p>First, let&#8217;s take a look at the HTML elements that will simulate button. We have &lt;span&gt; element within the &lt;a&gt; element. Span element contains left, wider image and text. The width of the text will determine the size of the button.</p>
<pre class="code"><span style="color: blue">&lt;</span><span style="color: #a31515">a </span><span style="color: red">class</span><span style="color: blue">="button" </span><span style="color: red">href</span><span style="color: blue">="#"&gt;&lt;</span><span style="color: #a31515">span</span><span style="color: blue">&gt;</span>Submit<span style="color: blue">&lt;/</span><span style="color: #a31515">span</span><span style="color: blue">&gt;&lt;/</span><span style="color: #a31515">a</span><span style="color: blue">&gt;</span></pre>
<p>Now let&#8217;s take a look at the CSS code. We have a <strong>.button</strong> class that will be applied to &lt;a&gt; element and <strong>.button span</strong> class that will be applied to &lt;span&gt; element within &lt;a&gt; element. We also have <strong>.button:hover span</strong> that will change the font style within &lt;span&gt; element.  And that&#8217;s all. Simple, eh? The comments in the code below describes each element.<br />
<quote><br />
</quote></p>
<pre class="code"><span style="color: #a31515">a.button </span>{<span style="color: green">    /* Sliding right image */</span><span style="color: red">background</span>:</pre>
<pre class="code"><span style="color: blue">transparent url('button_right.png') no-repeat scroll top right</span>; <span style="color: green"></span>

<span style="color: red">display</span>: <span style="color: blue">block</span>;

<span style="color: red">float</span>: <span style="color: blue">left</span>;

<span style="color: red">height</span>: <span style="color: blue">32px</span>; <span style="color: green">/* </span></pre>
<pre class="code"><span style="color: green">CHANGE THIS VALUE ACCORDING TO IMAGE HEIGHT */</span>

<span style="color: red">margin-right</span>: <span style="color: blue">6px</span>;

<span style="color: red">padding-right</span>: <span style="color: blue">20px</span>; <span style="color: green">/* </span></pre>
<pre class="code"><span style="color: green">CHENGE THIS VALUE ACCORDING TO RIGHT IMAGE WIDTH */</span>

/* FONT PROPERTIES */

<span style="color: red">text-decoration</span>: <span style="color: blue">none</span>;

<span style="color: red">color</span>: <span style="color: blue">#000000</span>;

<span style="color: red">font-family</span>: <span style="color: blue">Arial, Helvetica, sans-serif</span>;

<span style="color: red">font-size</span>:<span style="color: blue">12px</span>;

<span style="color: red">font-weight</span>:<span style="color: blue">bold</span>;

}<span style="color: #a31515">a.button span </span>{

<span style="color: green">/* Background left image */ </span>

<span style="color: red">background</span>: <span style="color: blue">transparent url('button_left.png') no-repeat</span>;

<span style="color: red">display</span>: <span style="color: blue">block</span>;

<span style="color: red">line-height</span>: <span style="color: blue">22px</span>; <span style="color: green">/* </span></pre>
<pre class="code"><span style="color: green">CHANGE THIS VALUE ACCORDING TO BUTTONG HEIGHT */</span>

<span style="color: red">padding</span>: <span style="color: blue">7px 0 5px 18px</span>;

}

<span style="color: #a31515">a.button:hover span</span>{

<span style="color: red">text-decoration</span>:<span style="color: blue">underline</span>;</pre>
<pre class="code">
}</pre>
<pre class="code"></pre>
<pre class="code"></pre>
<p>The result will look like the examples below.</p>
<p><img src="http://www.website-ideas.co.uk/wp-content/uploads/2008/05/41.jpg" alt="41.jpg" /></p>
<p>Please visit  www.jankoatwarpspeed.com for more information with regards to this technique.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.website-ideas.co.uk/2008/05/26/make-fancy-buttons-using-css-sliding-doors-technique/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CSS tricks and tips</title>
		<link>http://www.website-ideas.co.uk/2008/04/09/css-tricks-and-tips/</link>
		<comments>http://www.website-ideas.co.uk/2008/04/09/css-tricks-and-tips/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 13:44:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles By Others]]></category>
		<category><![CDATA[CSS Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.website-ideas.co.uk/2008/04/09/css-tricks-and-tips/</guid>
		<description><![CDATA[I have compiled a list of articles that better explain valid CSS and xHTML code. It&#8217;s becoming more commonly to use valid CSS. And we all know how much time we are spending in all those hacks and fixes for various browsers. I will keep adding to this list, so stay tuned. 1. Rounded corners without images &#60;div id=”container”&#62; &#60;b class=”rtop”&#62; &#60;b class=”r1″&#62;&#60;/b&#62; &#60;b class=”r2″&#62;&#60;/b&#62; &#60;b class=”r3″&#62;&#60;/b&#62; &#60;b class=”r4″&#62;&#60;/b&#62; &#60;/b&#62; &#60;!–content goes here –&#62; &#60;b class=”rbottom”&#62; &#60;b class=”r4″&#62;&#60;/b&#62; &#60;b class=”r3″&#62;&#60;/b&#62; &#60;b class=”r2″&#62;&#60;/b&#62; &#60;b class=”r1″&#62;&#60;/b&#62; &#60;/b&#62; &#60;/div&#62; .rtop, .rbottom{display:block} .rtop *, .rbottom *{display: block; height: 1px; overflow: hidden} .r1{margin: 0 5px} .r2{margin: 0 3px} .r3{margin: 0 2px} .r4{margin: 0 1px; height: 2px} 2. Style your order list &#60;ol&#62; &#60;li&#62; &#60;p&#62;This is line one&#60;/p&#62; &#60;/li&#62; &#60;li&#62; &#60;p&#62;Here is line two&#60;/p&#62; &#60;/li&#62; &#60;li&#62; &#60;p&#62;And last line&#60;/p&#62; &#60;/li&#62; &#60;/ol&#62; ol { font: italic 1em Georgia, Times, serif; color: #999999; } ol p { font: normal .8em Arial, Helvetica, sans-serif; color: #000000; } 3. Tableless forms &#60;form&#62; &#60;label for=”name”&#62;Name&#60;/label&#62; &#60;input id=”name” name=”name”&#62;&#60;br&#62; &#60;label for=”address”&#62;Address&#60;/label&#62; &#60;input id=”address” name=”address”&#62;&#60;br&#62; &#60;label for=”city”&#62;City&#60;/label&#62; &#60;input id=”city” name=”city”&#62;&#60;br&#62; &#60;/form&#62; label,input { display: block; width: 150px; float: left; margin-bottom: 10px; } label { text-align: right; width: 75px; padding-right: 20px; } br {... ]]></description>
			<content:encoded><![CDATA[<p>I have compiled a list of articles that better explain valid CSS and xHTML code. It&#8217;s becoming more commonly to use valid CSS. And we all  know how much time we are spending in all those hacks and fixes for various browsers. I will keep adding to this list, so stay tuned.<span id="more-82"></span></p>
<h5>1. Rounded corners without images</h5>
<p class="kod"> &lt;div id=”container”&gt;<br />
&lt;b class=”rtop”&gt;<br />
&lt;b class=”r1″&gt;&lt;/b&gt; &lt;b class=”r2″&gt;&lt;/b&gt; &lt;b class=”r3″&gt;&lt;/b&gt; &lt;b class=”r4″&gt;&lt;/b&gt;<br />
&lt;/b&gt;<br />
&lt;!–content goes here –&gt;<br />
&lt;b class=”rbottom”&gt;<br />
&lt;b class=”r4″&gt;&lt;/b&gt; &lt;b class=”r3″&gt;&lt;/b&gt; &lt;b class=”r2″&gt;&lt;/b&gt; &lt;b class=”r1″&gt;&lt;/b&gt;<br />
&lt;/b&gt;<br />
&lt;/div&gt;</p>
<p>.rtop, .rbottom{display:block}<br />
.rtop *, .rbottom *{display: block; height: 1px; overflow: hidden}<br />
.r1{margin: 0 5px}<br />
.r2{margin: 0 3px}<br />
.r3{margin: 0 2px}<br />
.r4{margin: 0 1px; height: 2px}</p>
<h5>2.    Style your order list</h5>
<p class="kod"> &lt;ol&gt;<br />
&lt;li&gt;<br />
&lt;p&gt;This is line one&lt;/p&gt;<br />
&lt;/li&gt;<br />
&lt;li&gt;<br />
&lt;p&gt;Here is line two&lt;/p&gt;<br />
&lt;/li&gt;<br />
&lt;li&gt;<br />
&lt;p&gt;And last line&lt;/p&gt;<br />
&lt;/li&gt;<br />
&lt;/ol&gt;</p>
<p>ol {<br />
font: italic 1em Georgia, Times, serif;<br />
color: #999999;<br />
}</p>
<p>ol p {<br />
font: normal .8em Arial, Helvetica, sans-serif;<br />
color: #000000;<br />
}</p>
<h5>3.    Tableless forms</h5>
<p class="kod"> &lt;form&gt;<br />
&lt;label for=”name”&gt;Name&lt;/label&gt;<br />
&lt;input id=”name” name=”name”&gt;&lt;br&gt;<br />
&lt;label for=”address”&gt;Address&lt;/label&gt;<br />
&lt;input id=”address” name=”address”&gt;&lt;br&gt;<br />
&lt;label for=”city”&gt;City&lt;/label&gt;<br />
&lt;input id=”city” name=”city”&gt;&lt;br&gt;<br />
&lt;/form&gt;</p>
<p>label,input {<br />
display: block;<br />
width: 150px;<br />
float: left;<br />
margin-bottom: 10px;<br />
}</p>
<p>label {<br />
text-align: right;<br />
width: 75px;<br />
padding-right: 20px;<br />
}</p>
<p>br {<br />
clear: left;<br />
}</p>
<h5>4.    Double blockquote</h5>
<p class="kod"> blockquote:first-letter {<br />
background: url(images/open-quote.gif) no-repeat left top;<br />
padding-left: 18px;<br />
font: italic 1.4em Georgia, “Times New Roman”, Times, serif;<br />
}</p>
<h5>5. Gradient text effect</h5>
<p class="kod"> &lt;h1&gt;&lt;span&gt;&lt;/span&gt;CSS Gradient Text&lt;/h1&gt;</p>
<p>h1 {<br />
font: bold 330%/100% “Lucida Grande”;<br />
position: relative;<br />
color: #464646;<br />
}<br />
h1 span {<br />
background: url(gradient.png) repeat-x;<br />
position: absolute;<br />
display: block;<br />
width: 100%;<br />
height: 31px;<br />
}</p>
<p>&lt;!–[if lt IE 7]&gt;<br />
&lt;style&gt;<br />
h1 span {<br />
background: none;<br />
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=’gradient.png’, sizingMethod=’scale’);<br />
}<br />
&lt;/style&gt;<br />
&lt;![endif]–&gt;</p>
<p>For more in depth look please visit <a href="http://stylizedweb.com/2008/02/14/10-best-css-hacks/">stylized web</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.website-ideas.co.uk/2008/04/09/css-tricks-and-tips/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

