<?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>Developer Code book &#187; CSS</title> <atom:link href="http://wordpressapi.com/category/css/feed/" rel="self" type="application/rss+xml" /><link>http://wordpressapi.com</link> <description>Wordpressapi.com is focused on Wordpress API, wordpress news, wordpress themes, wordpress plugins, wordpress tips, wordpress tutorials, wordpress design wordpress templates, wordpress breaking news and web-development. We deliver useful information about wordpress,  wordpress latest trends and wordpress techniques, wordpress useful ideas, wordpress innovative approaches and wordpress tools. Social Media news blog covering cool new websites and social networks: Facebook, Google, Twitter, MySpace and YouTube.  The latest web technology news, via RSS daily.</description> <lastBuildDate>Thu, 09 Sep 2010 10:36:02 +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>JavaScript/CSS Compression</title><link>http://wordpressapi.com/2010/08/02/javascript-css-compression/</link> <comments>http://wordpressapi.com/2010/08/02/javascript-css-compression/#comments</comments> <pubDate>Mon, 02 Aug 2010 05:46:51 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[code]]></category> <category><![CDATA[compressor]]></category> <category><![CDATA[JS]]></category> <category><![CDATA[tools]]></category> <category><![CDATA[YUI]]></category><guid
isPermaLink="false">http://purab.wordpress.com/2009/09/09/javascriptcss-compression/</guid> <description><![CDATA[Many times we are searching for Javascript and css compression. Few days before i was searching for Jquery JS library compression. Yes there is compressed version available but i want to make some changes in JS files as per my project requirements. So i want to compress my JS and CSS files without getting any.....]]></description> <content:encoded><![CDATA[<p><img
class="alignnone size-full wp-image-4987" title="css-10" src="http://wordpressapi.com/files/css-10.jpg" alt="" width="199" height="253" /></p><p>Many times we are searching for Javascript and css compression.</p><p>Few days before i was searching for Jquery JS library compression.<br
/> Yes there is compressed version available but i want to make some changes in JS files as per my project requirements.<br
/> So i want to  compress my JS and CSS files without getting any error.<br
/> YUI Compressor 2.4.2. is the very nice tool for that. But i dont want to spend time on how YUI compressor is working.</p><p>So here is solution- I got online YUI compressor.<br
/> You can use that:<br
/> <span
style="color: #0000ff;"> http://refresh-sf.com/yui/</span><br
/> It has very nice options.</p><p><a
href="http://compressor.ebiene.de/" target="_blank">http://compressor.ebiene.de/</a></p><p><a
href="http://www.cssdrive.com/index.php/main/csscompressor" target="_blank">http://www.cssdrive.com/index.php/main/csscompressor</a></p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/08/02/javascript-css-compression/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>how to create text with shadow using css</title><link>http://wordpressapi.com/2010/06/27/create-text-shadow-css/</link> <comments>http://wordpressapi.com/2010/06/27/create-text-shadow-css/#comments</comments> <pubDate>Sun, 27 Jun 2010 10:47:03 +0000</pubDate> <dc:creator>Mahesh</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[tutorials]]></category> <category><![CDATA[css text shadow effect]]></category> <category><![CDATA[css tutorials]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=3746</guid> <description><![CDATA[This tutorial explains how to create a text with shadow using CSS. First let&#8217;s create a structure of our text container together with a text. HTML code: &#60;html &#62; &#60;head&#62; &#60;link href=&#8221;stylesheet.css&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; /&#62; &#60;/head&#62; &#60;body&#62; &#60;div id=&#8221;wrapper&#8221;&#62; &#60;span&#62; wordpressAPI.com&#60;/span&#62; &#60;span&#62; wordpressAPI.com&#60;/span&#62; &#60;/div&#62; &#60;/body&#62; &#60;/html&#62; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Now we are going to apply CSS.....]]></description> <content:encoded><![CDATA[<p>This tutorial explains how to create a text with shadow using CSS.</p><p><a
href="http://wordpressapi.com/files/text_to_shadow.jpg"><img
class="alignnone size-full wp-image-3747" title="text_to_shadow" src="http://wordpressapi.com/files/text_to_shadow.jpg" alt="" /></a></p><p>First let&#8217;s create a structure of our text container together with a  text.</p><p>HTML code:</p><p>&lt;html &gt;<br
/> &lt;head&gt;</p><p>&lt;link href=&#8221;stylesheet.css&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; /&gt;</p><p>&lt;/head&gt;</p><p>&lt;body&gt;<br
/> &lt;div id=&#8221;wrapper&#8221;&gt;<br
/> &lt;span&gt; wordpressAPI.com&lt;/span&gt;<br
/> &lt;span&gt; wordpressAPI.com&lt;/span&gt;<br
/> &lt;/div&gt;</p><p>&lt;/body&gt;<br
/> &lt;/html&gt;</p><p><span
style="color: #808000">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span></p><p>Now we are going to apply CSS code.</p><p>CSS code:</p><p>* {<br
/> margin: 0px;<br
/> padding: 0px;<br
/> }<br
/> body {<br
/> background-color:#9BCDFF;<br
/> font-family: Verdana, Arial, sans-serif;<br
/> font-size: 11px;<br
/> text-align: center;<br
/> }<br
/> #wrapper {<br
/> width: 700px;<br
/> height: 200px;<br
/> margin: 20px auto 20px auto;<br
/> padding: 0px;<br
/> text-align: left;<br
/> position: relative;<br
/> border: solid 1px #fff;<br
/> }<br
/> .firstlayer {<br
/> font-size: 30px;<br
/> font-weight: bold;<br
/> color: #fff;<br
/> position: absolute;<br
/> top: 20px;<br
/> left: 20px;<br
/> z-index: 1;<br
/> }<br
/> .secondlayer {<br
/> font-size: 30px;<br
/> font-weight: bold;<br
/> color:#666666;<br
/> position: absolute;<br
/> top: 22px;<br
/> left: 22px;<br
/> z-index: 0;<br
/> }</p><p><span
style="color: #808000">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span></p><p><span
style="color: #808000"><span
style="color: #000000">Thank you!</span></span></p><p><span
style="color: #808000"><span
style="color: #000000"><br
/> </span></span></p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/06/27/create-text-shadow-css/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>how to change opacity of image when mouseover with css</title><link>http://wordpressapi.com/2010/06/27/change-opacity-image-mouseover-css/</link> <comments>http://wordpressapi.com/2010/06/27/change-opacity-image-mouseover-css/#comments</comments> <pubDate>Sun, 27 Jun 2010 09:30:52 +0000</pubDate> <dc:creator>Mahesh</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[tutorials]]></category> <category><![CDATA[css tutorials]]></category> <category><![CDATA[mouseover opacity effect]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=3735</guid> <description><![CDATA[In this tutorial we will make an opacity rollover effect with css. It can use for menu items and much more. first create a folder to contain this whole project, save the three images above in the folder. Now open your favorite html editor, (notepad, dreamweaver etc). First we will add the css styles at.....]]></description> <content:encoded><![CDATA[<p>In this tutorial we will make an opacity rollover effect with css.</p><p>It can use for menu items and much more.</p><p><a
href="http://wordpressapi.com/files/flower1.jpg"><img
class="alignnone size-full wp-image-3739" src="http://wordpressapi.com/files/flower1.jpg" alt="" width="120" height="80" /></a><a
href="http://wordpressapi.com/files/flower2.jpg"><img
class="alignnone size-full wp-image-3740" src="http://wordpressapi.com/files/flower2.jpg" alt="" width="120" height="80" /></a><a
href="http://wordpressapi.com/files/flower3.jpg"><img
class="alignnone size-full wp-image-3741" src="http://wordpressapi.com/files/flower3.jpg" alt="" width="120" height="80" /></a></p><p>first create a folder to contain this whole project, save the three images above in the folder.</p><p>Now open your favorite html editor, (notepad, dreamweaver etc).</p><p>First we will add the css styles at the top.</p><p><a
href="http://wordpressapi.com/files/style-tag.jpg"><img
class="alignnone size-full wp-image-3738" src="http://wordpressapi.com/files/style-tag.jpg" alt="" width="499" height="70" /></a></p><p>That was the styles tag, you can do it in the html file, or export it to  an external .css file (then remember to delete the &lt;style&gt; and  &lt;/style&gt; tags).</p><p>Now we just need to place our elements with html code, and assign some  classes to them to make this effect work.</p><p><a
href="http://wordpressapi.com/files/opacity-mouseover-code.jpg"><img
class="alignnone size-full wp-image-3742" src="http://wordpressapi.com/files/opacity-mouseover-code.jpg" alt="" width="600" height="85" /></a></p><p>As you might see its quite simple, first I make a div box just as a  wrapper to hold the images.</p><p>then every image is shown in as a href link with an class calling for  the style &#8220;opacityit&#8221; rollover effect.</p><p>If you have trouble making it work you can download a project here,  remember if it still doesnt work, check if you use a browser that  supports the opacity filter effect.</p><p>Thank You!</p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/06/27/change-opacity-image-mouseover-css/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>how to create horizontal rollover list with css</title><link>http://wordpressapi.com/2010/06/18/create-horizontal-rollover-list-css/</link> <comments>http://wordpressapi.com/2010/06/18/create-horizontal-rollover-list-css/#comments</comments> <pubDate>Fri, 18 Jun 2010 15:23:54 +0000</pubDate> <dc:creator>Mahesh</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[tutorials]]></category> <category><![CDATA[web design]]></category> <category><![CDATA[css tutorials]]></category> <category><![CDATA[horizontal rollover list]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=3316</guid> <description><![CDATA[This tutorial explains how to build horizontal lists using &#8220;display: inline&#8221;. There are many methods that can be used to making a horizontal list. The main ingredient is &#8220;display: inline&#8221;, applied to the &#8220;LI&#8221; element. Step 1: Make a basic list Start with a basic unordered list. The list items are all active (wrapped in.....]]></description> <content:encoded><![CDATA[<p>This tutorial explains how to build horizontal lists using &#8220;display:  inline&#8221;.</p><p>There are many methods that can be used to making a horizontal list. The  main  		ingredient is &#8220;display: inline&#8221;, applied to the &#8220;LI&#8221; element.</p><h3>Step 1: Make a basic list</h3><p>Start with a basic unordered list. The list items are all active  (wrapped in  		&lt;a href=&#8221;#&#8221;&gt; &lt;/a&gt;) which is essential for this list to  work.  		Some CSS rules are written exclusively for the &#8220;a&#8221; element within the  list items.  		For this example a &#8220;#&#8221; is used as a dummy link.</p><p><a
href="http://wordpressapi.com/files/horizontal-list-with-css1.jpg"><img
class="alignnone size-full wp-image-3317" title="horizontal-list-with-css1" src="http://wordpressapi.com/files/horizontal-list-with-css1.jpg" alt="" width="300" height="232" /></a></p><p><code><span
style="color: #808000"><strong>HTML CODE</strong></span><br
/> &lt;div id="</code><code>topnav</code><code>"&gt;<br
/> &lt;ul&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Product&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Services&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Contact&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;<br
/> &lt;/ul&gt;<br
/> &lt;/div&gt; </code></p><h3>Step 2: Remove the bullets</h3><p>To remove the HTML list bullets, set the &#8220;list-style-type&#8221; to &#8220;none&#8221;.</p><p><a
href="http://wordpressapi.com/files/horizontal-list-with-css2.jpg"><img
class="alignnone size-full wp-image-3318" title="horizontal-list-with-css2" src="http://wordpressapi.com/files/horizontal-list-with-css2.jpg" alt="" width="300" height="232" /></a></p><p><code><span
style="color: #808000"><strong>CSS CODE</strong></span><br
/> #topnav ul </code></p><p><code>{ </code></p><p><code><span
style="color: #ff0000">list-style-type: none;</span> </code></p><p><code>}</code></p><p><span
style="color: #808000"><strong>HTML CODE</strong></span><br
/> &lt;div id=&#8221;<code>topnav</code><code>"&gt;<br
/> &lt;ul&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Product&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Services&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;</code><code>Contact</code><code>&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;<br
/> &lt;/ul&gt;<br
/> &lt;/div&gt; </code></p><h3>Step 3: Remove padding and margins</h3><p>Standard HTML lists have a certain amount of left-indentation. The  amount varies  		on each browser. Some browsers use padding (Mozilla, Netscape, Safari)  and  		others use margins (Internet Explorer, Opera) to set the amount of  indentation.</p><p>To remove this left-indentation consistently across all browsers, set  both  		padding and margins to &#8220;0&#8243; for the &#8220;UL&#8221;.</p><p><a
href="http://wordpressapi.com/files/horizontal-list-with-css3.jpg"><img
class="alignnone size-full wp-image-3321" title="horizontal-list-with-css3" src="http://wordpressapi.com/files/horizontal-list-with-css3.jpg" alt="" width="300" height="232" /></a></p><p><code><span
style="color: #808000"><strong>CSS CODE</strong></span><br
/> #topnav ul </code></p><p><code>{ </code></p><p><span
style="color: #ff0000"><code>margin: 0px;</code></span></p><p><span
style="color: #ff0000"><code>padding:  0px;</code></span></p><p><code>list-style-type: none; </code></p><p><code>}</code></p><p><span
style="color: #808000"><strong>HTML  CODE</strong></span><br
/> &lt;div id=&#8221;<code>topnav</code><code>"&gt;<br
/> &lt;ul&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Product&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Services&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;</code><code>Contact</code><code>&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;<br
/> &lt;/ul&gt;<br
/> &lt;/div&gt; </code></p><h3>Step 4: Display inline</h3><p>To force the list into one line, apply &#8220;display: inline;&#8221; to the &#8220;LI&#8221;.</p><p><a
href="http://wordpressapi.com/files/horizontal-list-with-css4.jpg"><img
class="alignnone size-full wp-image-3323" title="horizontal-list-with-css4" src="http://wordpressapi.com/files/horizontal-list-with-css4.jpg" alt="" width="300" height="232" /></a></p><p><span
style="color: #808000"><strong>CSS CODE</strong></span></p><p>#topnav ul<br
/> {<br
/> margin: 0px;<br
/> padding: 0px;<br
/> list-style-type: none;<br
/> }<br
/> <span
style="color: #ff0000">#topnav ul li<br
/> {<br
/> display: inline;<br
/> }</span></p><p><span
style="color: #808000"><strong>HTML   CODE</strong></span><br
/> &lt;div id=&#8221;<code>topnav</code><code>"&gt;<br
/> &lt;ul&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Product&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Services&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;</code><code>Contact</code><code>&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;<br
/> &lt;/ul&gt;<br
/> &lt;/div&gt;</code></p><h3>Step 5: Removing text decoration</h3><p>At this point you may wish to remove the text underline. It is a common  practice  		for navigation not to have underlines as their placement and other  feedback  		mechanisms make them more obviously links. However, you should be  aware that  		modifying standard hyperlink behaviour (such as underlines) can be  confusing for  		some users, who may not realise that the item is a link.</p><p><a
href="http://wordpressapi.com/files/horizontal-list-with-css5.jpg"><img
class="alignnone size-full wp-image-3325" title="horizontal-list-with-css5" src="http://wordpressapi.com/files/horizontal-list-with-css5.jpg" alt="" width="300" height="232" /></a></p><p><span
style="color: #808000">CSS CODE</span></p><p>#topnav ul<br
/> {<br
/> margin: 0px;<br
/> padding: 0px;<br
/> list-style-type: none;<br
/> }<br
/> #topnav ul li<br
/> {<br
/> display: inline;<br
/> }<br
/> <span
style="color: #ff0000">#topnav ul li a<br
/> {<br
/> text-decoration:none;<br
/> }</span></p><p><span
style="color: #808000"><strong>HTML    CODE</strong></span><br
/> &lt;div id=&#8221;<code>topnav</code><code>"&gt;<br
/> &lt;ul&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Product&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Services&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;</code><code>Contact</code><code>&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;<br
/> &lt;/ul&gt;<br
/> &lt;/div&gt;</code></p><h3>Step 6: Padding around list items</h3><p>To make each list item into a box, we need to add padding to the &#8220;a&#8221;  element.</p><p><a
href="http://wordpressapi.com/files/horizontal-list-with-css6.jpg"><img
class="alignnone size-full wp-image-3327" title="horizontal-list-with-css6" src="http://wordpressapi.com/files/horizontal-list-with-css6.jpg" alt="" width="473" height="178" /></a></p><p><span
style="color: #808000"><strong>CSS CODE</strong></span></p><p>#topnav ul<br
/> {<br
/> margin: 0px;<br
/> padding: 0px;<br
/> list-style-type: none;<br
/> }<br
/> #topnav ul li<br
/> {<br
/> display: inline;<br
/> }<br
/> #topnav ul li a<br
/> {<br
/> text-decoration:none;<br
/> <span
style="color: #ff0000">padding: 1em 1em;</span><br
/> }</p><p><span
style="color: #808000"><strong>HTML     CODE</strong></span><br
/> &lt;div id=&#8221;<code>topnav</code><code>"&gt;<br
/> &lt;ul&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Product&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Services&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;</code><code>Contact</code><code>&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;<br
/> &lt;/ul&gt;<br
/> &lt;/div&gt;</code></p><h3>Step 7: Adding background color</h3><p>At this point a background color and border can be applied. There are  many  		combinations of border and background colors that can be used.</p><p><a
href="http://wordpressapi.com/files/horizontal-list-with-css7.jpg"><img
class="alignnone size-full wp-image-3329" title="horizontal-list-with-css7" src="http://wordpressapi.com/files/horizontal-list-with-css7.jpg" alt="" width="473" height="178" /></a></p><p><span
style="color: #808000"><strong>CSS CODE</strong></span></p><p>#topnav ul<br
/> {<br
/> margin: 0px;<br
/> padding: 0px;<br
/> list-style-type: none;<br
/> }<br
/> #topnav ul li<br
/> {<br
/> display: inline;<br
/> }<br
/> #topnav ul li a<br
/> {<br
/> text-decoration:none;<br
/> padding:1em 1em;<br
/> <span
style="color: #ff0000">color:#fff;<br
/> background-color:#808000;</span><br
/> }</p><p><span
style="color: #808000"><strong>HTML      CODE</strong></span><br
/> &lt;div id=&#8221;<code>topnav</code><code>"&gt;<br
/> &lt;ul&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Product&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Services&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;</code><code>Contact</code><code>&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;<br
/> &lt;/ul&gt;<br
/> &lt;/div&gt;</code></p><h3>Step 8: Add a rollover color</h3><p>Use &#8220;a:hover&#8221; to set a second background color, as a rollover.  		Roll over the list now you will see how it works.</p><p><a
href="http://wordpressapi.com/files/horizontal-list-with-css8.jpg"><img
class="alignnone size-full wp-image-3331" title="horizontal-list-with-css8" src="http://wordpressapi.com/files/horizontal-list-with-css8.jpg" alt="" width="473" height="178" /></a></p><p><span
style="color: #808000"><strong>CSS CODE</strong></span></p><p>#topnav ul<br
/> {<br
/> margin: 0px;<br
/> padding: 0px;<br
/> list-style-type: none;<br
/> }<br
/> #topnav ul li<br
/> {<br
/> display: inline;<br
/> }<br
/> #topnav ul li a<br
/> {<br
/> text-decoration:none;<br
/> padding:1em 1em;<br
/> color:#fff;<br
/> background-color:#808000;<br
/> }<br
/> <span
style="color: #ff0000">#topnav ul li a:hover<br
/> {<br
/> color: #fff;<br
/> background-color:#000000;<br
/> }</span></p><p><span
style="color: #808000"><strong>HTML       CODE</strong></span><br
/> &lt;div id=&#8221;<code>topnav</code><code>"&gt;<br
/> &lt;ul&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Product&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Services&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;</code><code>Contact</code><code>&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;<br
/> &lt;/ul&gt;<br
/> &lt;/div&gt;</code></p><h3>Step 9: Center the list</h3><p>To center the list, add &#8220;text-align: center;&#8221; to the &#8220;UL&#8221;.</p><p><a
href="http://wordpressapi.com/files/horizontal-list-with-css9.jpg"><img
class="alignnone size-full wp-image-3333" title="horizontal-list-with-css9" src="http://wordpressapi.com/files/horizontal-list-with-css9.jpg" alt="" width="473" height="178" /></a></p><p><span
style="color: #808000"><strong>CSS CODE</strong></span></p><p>#topnav ul<br
/> {<br
/> margin: 0px;<br
/> padding: 0px;<br
/> list-style-type: none;<br
/> <span
style="color: #ff0000">text-align: center; </span><br
/> }<br
/> #topnav ul li<br
/> {<br
/> display: inline;<br
/> }<br
/> #topnav ul li a<br
/> {<br
/> text-decoration:none;<br
/> padding:1em 1em;<br
/> color:#fff;<br
/> background-color:#808000;<br
/> }<br
/> #topnav ul li a:hover<br
/> {<br
/> color: #fff;<br
/> background-color:#000000;<br
/> }</p><p><span
style="color: #808000"><strong>HTML        CODE</strong></span><br
/> &lt;div id=&#8221;<code>topnav</code><code>"&gt;<br
/> &lt;ul&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Product&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;Services&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;</code><code>Contact</code><code>&lt;/a&gt;&lt;/li&gt;<br
/> &lt;li&gt;&lt;a href="#"&gt;About&lt;/a&gt;&lt;/li&gt;<br
/> &lt;/ul&gt;<br
/> &lt;/div&gt;</code></p><p>And you done it.</p><p>Thank you!</p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/06/18/create-horizontal-rollover-list-css/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>how to make website search engine friendly</title><link>http://wordpressapi.com/2010/06/18/how-to-make-website-search-engine-friendly/</link> <comments>http://wordpressapi.com/2010/06/18/how-to-make-website-search-engine-friendly/#comments</comments> <pubDate>Fri, 18 Jun 2010 10:05:09 +0000</pubDate> <dc:creator>Mahesh</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[css tips]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=3297</guid> <description><![CDATA[Over 80% of consumers use search engines to find products and services. These days, no website owner can afford not to have a search engine friendly website. There are a lot of things which one should do to achieve high ranking like search engine friendly code, Link building, submit website to various directories, Sitemap, Meta.....]]></description> <content:encoded><![CDATA[<p>Over 80% of consumers use search engines to find products and services.<br
/> These days, no website owner can afford not to have a search engine  friendly website. There are a lot of things which one should do to  achieve high ranking like search engine friendly code, Link building,  submit website to various directories, Sitemap, Meta tags etc.<br
/> Writing quality code is the first step in making website search engine  friendly. In this article we are covering the points which should be  taken care of while coding the website:</p><p><a
href="http://wordpressapi.com/files/coding.jpg"><img
class="alignnone size-full wp-image-3298" title="coding" src="http://wordpressapi.com/files/coding.jpg" alt="" width="400" height="300" /></a></p><p><em><strong>1. </strong>Use HTML for the content as much as possible.  Avoid Flash, images, or other non-text formats. </em><br
/> Simple and cleanly coded website always rank higher than the flash based  website. The non-text formats must be avoided in order to yield greater  website accessibility. Not only the website becomes accessible to  larger audience (Visually impaired or cognitive impaired users) but also  can be accessed by a range of devices. The search spiders quickly spot  the HTML coded and search engine friendly pages. Other advantages of  using HTML are: faster loading, Cascading Style Sheet removing access  load from server, browser compatibility, easy updating and maintenance.</p><p><em><strong>2. </strong> Avoid login functionality to access the page  unless it’s required. Search engine cannot index the page that requires  login.</em></p><p><em><strong>3. </strong> Do not use frames.</em><br
/> Using frames are considered to be a blunder by webmasters. Frames  generally are not indexed by various search engines. Indexing leads to  display of the embedded web addresses in frames, as the users are unable  to navigate through the search results. Frames also create problem  while printing, refreshing or bookmarking the webpage. Frames are  becoming obsolete with the advent of AJAX and DIV layers.</p><p><em><strong>4. </strong> Navigation should be in plain html. Avoid  using flash.</em><br
/> Easy, simple coding in text like HTML facilitates the website to be  ranked higher by the search engines.</p><p><em><strong>5.</strong> Keep URL as short as possible. .</em><br
/> URL or the domain name is the essence of your website. Going by the KISS  (Keep It Short and Simple) rule, the URL ought to be short as it would  reduce the chances of misspelling and confusion by the visitors.</p><p><em><strong>6.</strong> Static URL is always preferred over dynamic  URL.</em><br
/> The search engines are able to index the static URLs in a comfortable  manner than the dynamic URLs. Search engines can not access the dynamic  and thus the websites lose on their market positioning.</p><p><em><strong>7.</strong> Do not use numbers in URL.</em><br
/> Use of numbers in URL must be avoided to circumvent any confusion.</p><p><em><strong>8. </strong> If possible, use keywords in URL.</em><br
/> Use of keywords communicates the basic crux of the website to the  visitor and also invokes interest in the website, forcing the visitor to  go through the website.</p><p><em><strong>9. </strong> Separate words using Hyphens in URL.</em><br
/> Use of hyphens should be made clear in the URL else it may puzzle the  visitor. Two words should be separated with the use of a hyphen as the  search engine reads it as two words.</p><p><em><strong>10. </strong> Always use lowercase in URL. </em><br
/> To maintain consistency and avoid any confusion, always use lowercase in  URL.</p><p><em><strong>11. </strong> Always add alt attribute for images, flash,  audio &amp; video file.</em><br
/> Alt attribute are a must while using images, flash, audio and video  files as they are alternative names of the images and describe the  files. The alt attribute basically lend a caption for such files and  helps in search engine ranking.</p><p><em><strong>12. </strong> Use Anchor text in links</em><br
/> The anchor text links are powerful tools for site optimization. Anchor  text links provide a theme for the entire website.</p><p><em><strong>13. </strong> Limit the length of title tag to 65  characters (including spaces) or less.</em><br
/> Different search engines accept different standards. Hence, to be on the  safer side, it is important to limit the length of the title tag  between 50-65 characters.</p><p><em><strong>14. </strong> Incorporate keyword phrases in title tags.</em><br
/> Including 2-3 important keyword phrases of the website in the title tag  facilitates good rankings by the search engines. However, the title tags  must not be over burdened with keyword phrases as the chances are that  the website would be blacklisted as spam. Each page with its own keyword  phrase lends higher readership. A helpful tool for choosing which keywords to target is the <a
href="https://adwords.google.com/select/KeywordToolExternal" target="_blank">Google Keyword Selection Tool</a>.</p><p><em><strong>15. </strong> Add Meta tags in the code. </em><br
/> Search engines use meta-tags to identify the objective of the website;  therefore, meta-tags help in optimizing the website. The search crawlers  determine the relevance of the meta-tags with respect to the content of  the webpage.</p><p><em><strong>16. </strong> Add Header Tags i.e, h1, h2, h3 etc.</em><br
/> Header tags as the name itself suggest are used to incorporate the  headings in the text. The h1 header can be used to determine the main  keyword and the h2 header tag can identify the next relevant keyword and  so on.</p><p><em><strong>17. </strong> Offload JavaScript and other non-text code  (style sheets, etc.) to external files </em></p><p><em><strong>18. </strong> Optimize images for fast loading</em><br
/> Larger images must be broken into smaller size images which enable  uploading smaller images simultaneously and faster. Cropping unnecessary  portions and reducing the image depth also help in loading the image  faster.</p><p><em><strong>19. </strong> Try to keep page size as low as possible</em><br
/> Lower the page size, lesser time will it take to load and thus would not  distract the visitor from the website. Sometimes pages with larger size  take ages to load and divert the potential user or client.</p><p><em><strong>20. </strong> Validate your markup &amp; CSS against w3c  standards</em><br
/> Validating markup helps to identify the flaws or wrong coding on the  webpage. The W3C standards are laid down to determine the errors and  make the code neat &amp; tidy.</p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/06/18/how-to-make-website-search-engine-friendly/feed/</wfw:commentRss> <slash:comments>19</slash:comments> </item> <item><title>how to create 3D push button effect using css</title><link>http://wordpressapi.com/2010/06/18/how-to-create-3d-push-button-effect-using-css/</link> <comments>http://wordpressapi.com/2010/06/18/how-to-create-3d-push-button-effect-using-css/#comments</comments> <pubDate>Fri, 18 Jun 2010 08:48:39 +0000</pubDate> <dc:creator>Mahesh</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[css tips]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=3290</guid> <description><![CDATA[Create a simple button with 3D look for your website using CSS. The main CSS commands you&#8217;ll need are: a { display: block; border: 1px solid; border-color: #aaa #000 #000 #aaa; width: 8em; background: #fc0; } a:hover { position: relative; top: 1px; left: 1px; border-color: #000 #aaa #aaa #000; } Aside from these commands, you.....]]></description> <content:encoded><![CDATA[<p>Create a simple button with 3D look for your website using CSS.</p><p><a
href="http://wordpressapi.com/files/3D-button1.jpg"><img
class="alignnone size-full wp-image-3295" title="3D button" src="http://wordpressapi.com/files/3D-button1.jpg" alt="" width="338" height="298" /></a><br
/> The main CSS commands you&#8217;ll need are:</p><p>a {<br
/> display: block;<br
/> border: 1px solid;<br
/> border-color: #aaa #000 #000 #aaa;<br
/> width: 8em;<br
/> background: #fc0;<br
/> }</p><p>a:hover<br
/> {<br
/> position: relative;<br
/> top: 1px;<br
/> left: 1px;<br
/> border-color: #000 #aaa #aaa #000;<br
/> }</p><p>Aside from these commands, you can insert any other commands to achieve  the desired presentation effect &#8211; the only limit is your imagination!</p><p>Thank You!</p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/06/18/how-to-create-3d-push-button-effect-using-css/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>how to create sticky footer using css or javascript</title><link>http://wordpressapi.com/2010/04/04/create-sticky-footer-css-javascript/</link> <comments>http://wordpressapi.com/2010/04/04/create-sticky-footer-css-javascript/#comments</comments> <pubDate>Sun, 04 Apr 2010 09:24:17 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[tutorials]]></category> <category><![CDATA[tutotials]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=1985</guid> <description><![CDATA[You can achieve the sticky footer using css very perfectly. Use following css code for creating the sticky footer. Many people gave example of google sticky footer. html{ height:100% } body{ height:100% } #footer{ position: relative; bottom: 0px; height: 100px;  //You must need to know your footer height margin-bottom:-100px; //here I am thinking footer will.....]]></description> <content:encoded><![CDATA[<p><a
href="http://wordpressapi.com/files/sticky-footer.png"><img
class="alignleft size-thumbnail wp-image-1986" style="margin: 5px" title="sticky-footer" src="http://wordpressapi.com/files/sticky-footer-150x150.png" alt="" width="150" height="150" /></a>You can achieve the sticky footer using css very perfectly. Use following css code for creating the sticky footer. Many people gave example of google sticky footer.</p><p></p><pre class="brush: css;">

html{

height:100%

}

body{

height:100%

}

#footer{

position: relative;

bottom: 0px;

height: 100px;  //You must need to know your footer height

margin-bottom:-100px; //here I am thinking footer will be 100 px

}
</pre><p>You can change the footer height as per your need or footer height.</p><p>Sticky footer you will also achieve using javscript code.</p><pre class="brush: jscript;">

&lt;script&gt;
document.body.onload = function () {
 var myWidth = 0, myHeight = 0;
 if( typeof( window.innerWidth ) == 'number' ) {
 //Non-IE
 myWidth = window.innerWidth;
 myHeight = window.innerHeight;
 } else if( document.documentElement &amp;&amp;
 ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
 //IE 6+ in 'standards compliant mode'
 myWidth = document.documentElement.clientWidth;
 myHeight = document.documentElement.clientHeight;
 } else if( document.body &amp;&amp; ( document.body.clientWidth || document.body.clientHeight ) ) {
 //IE 4 compatible
 myWidth = document.body.clientWidth;
 myHeight = document.body.clientHeight;
 }
 window.alert( 'Width = ' + myWidth );
 window.alert( 'Height = ' + myHeight );

 middle_container = myWidth - 150; // here I am thinking footer and header hight is 150px
 document.getElelmentByID(&quot;main&quot;).style.height = middle_container;
}

&lt;/script&gt;
</pre><p>You just need to minus the header and footer height from middle_container.</p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/04/04/create-sticky-footer-css-javascript/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How to change the image of on MouseOver Event using JavaScript or CSS</title><link>http://wordpressapi.com/2010/04/04/change-image-mouseover-event-javascript-css/</link> <comments>http://wordpressapi.com/2010/04/04/change-image-mouseover-event-javascript-css/#comments</comments> <pubDate>Sun, 04 Apr 2010 08:13:15 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[tutorials]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=1980</guid> <description><![CDATA[If you want to change the image on rollover or mouseover event. This is very old technique. You can achieve this using CSS or javascript. With CSS you can use the following code .yourimage { background-image: url('firstImage.jpeg'); } .yourimage:hover { background-image: url('secondImage.jpeg'); } &#60;div class=&#8221;yourimage&#8221; style=&#8221;height:100px;width:100px;min-height:100px;min-width:100px;&#8221;&#62;&#60;/div&#62; I am using the yourimage class for div element......]]></description> <content:encoded><![CDATA[<p><a
href="http://wordpressapi.com/files/javascript-event.png"><img
class="alignleft size-thumbnail wp-image-1983" style="margin: 5px" title="javascript-event" src="http://wordpressapi.com/files/javascript-event-150x150.png" alt="" width="150" height="150" /></a>If you want to change the image on rollover or mouseover event. This is very old technique. You can achieve this using CSS or javascript.</p><p>With CSS you can use the following code</p><pre class="brush: css;">

.yourimage { background-image: url('firstImage.jpeg'); }
.yourimage:hover { background-image: url('secondImage.jpeg'); }
</pre><p>&lt;div class=&#8221;yourimage&#8221; style=&#8221;height:100px;width:100px;min-height:100px;min-width:100px;&#8221;&gt;&lt;/div&gt;</p><p>I am using the yourimage class for div element.</p><p>With javascript you can use following code</p><pre class="brush: xml;">
&lt;div&gt;
&lt;img src=&quot;firstimage.jpeg&quot; onmouseover=&quot;this.src='secondimage.jpeg'&quot; onmouseout=&quot;this.src='firstimage.jpeg'&quot;/&gt;
</pre><p>If you are using the Jquery then use following code:</p><pre class="brush: xml;">
&lt;style&gt;
.imagediv{background-image:firstimage.jpg}
&lt;div class=&quot;imagediv&quot;/&gt;

 $(document).ready(function () {
            $('div.imagediv').mouseover(function () {
                $(this).css(background-image&quot;, &quot;url('secondimage.jpg')&quot;);
            });
        });
</pre>]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/04/04/change-image-mouseover-event-javascript-css/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>How to write inline conditional css</title><link>http://wordpressapi.com/2010/03/31/write-inline-conditional-css/</link> <comments>http://wordpressapi.com/2010/03/31/write-inline-conditional-css/#comments</comments> <pubDate>Wed, 31 Mar 2010 11:11:11 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=1960</guid> <description><![CDATA[We all know what is conditional css and how to write the conditional css. Here is few examples about conditional css. &#60;!&#8211;[if IE]&#62; &#60;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;style.css&#8221; /&#62; &#60;![endif]&#8211;&#62; With in style.css file a.button_active, a.button_unactive { display: inline-block; [if lte Gecko 1.8] display: -moz-inline-stack; [if lte Konq 3.1] float: left; height: 30px; [if IE 5.0].....]]></description> <content:encoded><![CDATA[<p><a
href="http://wordpressapi.com/files/css-hacks.jpg"><img
class="alignleft size-medium wp-image-1961" title="css-hacks" src="http://wordpressapi.com/files/css-hacks-300x222.jpg" alt="" width="300" height="222" /></a>We all know what is conditional css and how to write the conditional css.<br
/> Here is few examples about conditional css.</p><p>&lt;!&#8211;[if IE]&gt;<br
/> &lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;style.css&#8221; /&gt;<br
/> &lt;![endif]&#8211;&gt;</p><p>With in style.css file</p><pre class="brush: css;">
 a.button_active, a.button_unactive {
 display: inline-block;
 [if lte Gecko 1.8] display: -moz-inline-stack;
 [if lte Konq 3.1] float: left;
 height: 30px;
 [if IE 5.0] margin-top: -1px;
 text-decoration: none;
 outline: none;
 [if IE] text-decoration: expression(hideFocus='true');
 }
</pre><p>When we are use the inline css in document. If in that case we need to use conditional css then there is way</p><pre class="brush: xml;">
// Following is hack for all IE, including 7. It must go first, or it overrides the following hack
&lt;div style=&quot;width:15px;^width:13px;&quot;&gt;
some dynamic content
&lt;/div&gt;
// Following is hack for all IE6 + browsers
&lt;div style=&quot;width:15px;_width:14px;&quot;&gt;
some dynamic content
&lt;/div&gt;
</pre>]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/03/31/write-inline-conditional-css/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to do word wrap with css</title><link>http://wordpressapi.com/2010/03/31/word-wrap-css/</link> <comments>http://wordpressapi.com/2010/03/31/word-wrap-css/#comments</comments> <pubDate>Wed, 31 Mar 2010 10:14:39 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[tutorials]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=1956</guid> <description><![CDATA[Many times we need to do word wrap using lanugages. I recommend use css for word wrapping. You can force long (unbroken) text to wrap in a new line by specifying break-word with the word-wrap property. This is a problem with CSS layouts that use floated divs. Use following code for fix the word wrap.....]]></description> <content:encoded><![CDATA[<p><a
href="http://wordpressapi.com/files/xhtmlimage.jpg"><img
class="alignleft size-medium wp-image-1957" title="xhtmlimage" src="http://wordpressapi.com/files/xhtmlimage-300x221.jpg" alt="" width="300" height="221" /></a>Many times we need to do word wrap using lanugages. I recommend use css for word wrapping.<br
/> You can force long (unbroken) text to wrap in a new line by specifying break-word with the word-wrap property.<br
/> This is a problem with CSS layouts that use floated divs.<br
/> Use following code for fix the word wrap with all divs.</p><pre class="brush: css;">
div { word-wrap: break-word }
</pre><p>instead of this we always use following css code:</p><pre class="brush: css;">
overflow:hidden;
</pre><p>But this is not good practice. Use word-wrap css property.<br
/> Word-wrap is supported in IE 5.5+, Firefox 3.5+, and WebKit browsers such as Chrome and Safari.</p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/03/31/word-wrap-css/feed/</wfw:commentRss> <slash:comments>23</slash:comments> </item> <item><title>Best IDEs for WordPress, Joomla, Drupal Plugin and Theme development with Windows and Linux</title><link>http://wordpressapi.com/2010/02/27/ides-wordpress-joomla-drupal-plugin-theme-development-windows-linux/</link> <comments>http://wordpressapi.com/2010/02/27/ides-wordpress-joomla-drupal-plugin-theme-development-windows-linux/#comments</comments> <pubDate>Sat, 27 Feb 2010 09:21:05 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[Open source]]></category> <category><![CDATA[XML]]></category> <category><![CDATA[flex]]></category> <category><![CDATA[technology]]></category> <category><![CDATA[web design]]></category> <category><![CDATA[wordpress]]></category> <category><![CDATA[drupal]]></category> <category><![CDATA[IDE]]></category> <category><![CDATA[joomla]]></category> <category><![CDATA[wordpress plugin]]></category> <category><![CDATA[wordpress plugins]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=1567</guid> <description><![CDATA[Many developer who are experienced in development. But still that comes to another cms or project development. We are always search for good IDE which are free and open source that is first requirement. Our basic need are as follows in any IDE, the IDE need to support following things: CSS XHTML/HTML JavaScript PHP MySQL.....]]></description> <content:encoded><![CDATA[<p>Many developer who are experienced in development. But still that comes to another cms or project development. We are always search for good IDE which are free and open source that is first requirement.</p><p>Our basic need are as follows in any IDE, the IDE need to support following things:</p><ul><li>CSS</li><li>XHTML/HTML</li><li>JavaScript</li><li>PHP</li><li>MySQL</li></ul><p>I created a list of IDE which I used daily  to do a development. Here I need to clarify IDE is language specific. I work in PHP, Ruby on Rails, Adobe Air, Flex, Javascript, CSS.</p><p>I recommend following IDEs which I really found useful for all the developer who are working in wordpress, joomla, drupal development.</p><p>1. <a
href="http://www.eclipse.org" target="_blank">eclipse</a> (Compatible  on Windows and Linux)</p><p><a
href="http://wordpressapi.com/files/phpideeclipsephp.gif"><img
class="alignnone size-medium wp-image-1568" title="phpideeclipsephp" src="http://wordpressapi.com/files/phpideeclipsephp-300x256.gif" alt="" width="300" height="256" /></a></p><p><strong>Description: </strong>Eclipse is best IDE for all language development. Eclipse IdE is basically Java development but still that provides PHP, ROR and other language support. I like this IDE for java development but I did not recommend for PHP or Ruby on Rails.</p><p>2. <a
href="http://netbeans.org/downloads/" target="_blank">NetBeans</a> (Compatible  on Windows and Linux)</p><p><a
href="http://wordpressapi.com/files/Netbeans-ide.png"><img
class="alignnone size-medium wp-image-1569" title="Netbeans-ide" src="http://wordpressapi.com/files/Netbeans-ide-300x204.png" alt="" width="300" height="204" /></a></p><p><strong>Description: </strong>This IDE has also all language support. I specially like this IDE from Ruby on Rails development. I Used this IDE for Ruby on Rails development as well as some times for PHP development. Among the Ruby on Rails developer this IDE is so popular.</p><p>3. <a
href="http://www.activestate.com/komodo_edit/" target="_blank">Komodo</a> (Compatible  on Windows and Linux)</p><p><a
href="http://wordpressapi.com/files/komodo_ide-60294-1.jpeg"><img
class="alignnone size-medium wp-image-1570" title="komodo_ide-60294-1" src="http://wordpressapi.com/files/komodo_ide-60294-1-300x216.jpg" alt="" width="300" height="216" /></a></p><p><strong>Description :</strong> This IDE is also support for all languages. This IDE is really good support for PHP. I really love this IDE for PHP development. Simple and fast and still nice features about PHP. This IDE is really popular among the PHP developers.</p><p>4. <a
href="http://www.aptana.com/" target="_blank">Aptana</a> (Compatible  on Windows and Linux)</p><p><a
href="http://wordpressapi.com/files/aptana-ide.jpg"><img
class="alignnone size-medium wp-image-1571" title="aptana-ide" src="http://wordpressapi.com/files/aptana-ide-300x216.jpg" alt="" width="300" height="216" /></a></p><p><strong>Description : </strong>This IDE is mainly made for Ruby on Rails development. This is also popular among Ruby developers. This IDE has features like eclipse. I like this IDE for Adobe Air and flex development.  This IDE has also PHP support.</p><p>5. <a
href="http://www.editplus.com/" target="_blank">EditPlus</a> (Compatible  on Windows)</p><p><a
href="http://wordpressapi.com/files/editplus_development_source_editors-95.gif"><img
class="alignnone size-full wp-image-1572" title="editplus_development_source_editors-95" src="http://wordpressapi.com/files/editplus_development_source_editors-95.gif" alt="" width="250" height="233" /></a></p><p><strong>Description: </strong>This IDE is plain simple text editor. Shows you simple color highlight features. I specially recommend this IDE for PHP development and new PHP developer always start with this IDE so they will get filmier with PHP functions and methods because this IDE is does not provide any help. I love the use this IDE in daily use for any language development.</p><p>If you want to add any more IDEs. You can comments on this article.</p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/02/27/ides-wordpress-joomla-drupal-plugin-theme-development-windows-linux/feed/</wfw:commentRss> <slash:comments>13</slash:comments> </item> <item><title>How to do footer stickable to end of the browser window without fixed position</title><link>http://wordpressapi.com/2010/02/26/footer-stickable-browser-window-fixed-position/</link> <comments>http://wordpressapi.com/2010/02/26/footer-stickable-browser-window-fixed-position/#comments</comments> <pubDate>Fri, 26 Feb 2010 07:40:16 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[Open source]]></category> <category><![CDATA[tutorials]]></category> <category><![CDATA[web design]]></category> <category><![CDATA[footer]]></category> <category><![CDATA[layout]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=1552</guid> <description><![CDATA[Many web developer always think about why footer is not sticking to end of browser. This is senorio: If content is less then footer need to go bottom of browser and if content is more then footer will go down as per content. Many people think this is CSS developer&#8217;s But I am not think.....]]></description> <content:encoded><![CDATA[<p>Many web developer always think about why footer is not sticking to end of browser.</p><p>This is senorio:<br
/> If content is less then footer need to go bottom of browser and if content is more then footer will go down as per content.</p><p>Many people think this is CSS developer&#8217;s But I am not think that way. Becasue this is totally different problem.</p><p>Some people suggest to use header, middle container and footer height in percentage. But that is wont be possible for all the time.</p><p>Here I will give you the solution. Use following javascript in document.</p><pre class="brush: jscript;">
&lt;script type=&quot;text/javascript&quot;&gt;
 var header_height = 150;
 var footer_height = 100;
var reduce_height = header_height+footer_height;
 browserHeight = 0;
 if( typeof( window.innerHeight ) == 'number' ) {
 //Non-IE
 browserHeight = window.innerHeight;
 } else if( document.documentElement &amp;&amp; (  document.documentElement.clientHeight ) ) {
 //IE 6+ in 'standards compliant mode'
 browserHeight = document.documentElement.clientHeight;
 } else if( document.body &amp;&amp; (  document.body.clientHeight ) ) {
 //IE 4 compatible
 browserHeight = document.body.clientHeight;
 }
 // window.alert( 'Height = ' + browserHeight );
 var min_height = browserHeight-reduce_height+ +&quot;px&quot;
 document.write('&lt;style&gt;#middle_container{min-height:'+ min_height +'}&lt;/style&gt;');
 //document.getElementById(&quot;middle_container&quot;).style.minHeight = browserHeight-146+&quot;px&quot;;
&lt;/script&gt;
</pre><p>Here in this javscript I am assuming middle_container is your main block of content. You can change the variables as per your need.</p><p><a
href="http://wordpressapi.com/files/footer-layout.gif"><img
class="alignleft size-medium wp-image-1553" title="footer-layout" src="http://wordpressapi.com/files/footer-layout-292x300.gif" alt="" width="292" height="300" /></a></p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/02/26/footer-stickable-browser-window-fixed-position/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Web designers are saying what to do with IE6</title><link>http://wordpressapi.com/2010/02/24/web-designers-are-saying-what-to-do-with-ie6/</link> <comments>http://wordpressapi.com/2010/02/24/web-designers-are-saying-what-to-do-with-ie6/#comments</comments> <pubDate>Wed, 24 Feb 2010 19:23:09 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[facebook]]></category> <category><![CDATA[google]]></category> <category><![CDATA[news]]></category> <category><![CDATA[social]]></category> <category><![CDATA[technology]]></category> <category><![CDATA[twitter]]></category> <category><![CDATA[IE6]]></category> <category><![CDATA[microsoft]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=1519</guid> <description><![CDATA[In 2003,  Microsoft launched the Internet Explorer6 and it had dominated the market with 97 percent share that time. Over the years its market share has declined, and Now as per new.cnet.com in Jan 2010, IE6 has only holding 5 percents of internet users. Still Most of all web designers are fighting all the time.....]]></description> <content:encoded><![CDATA[<p><a
href="http://wordpressapi.com/files/IE6-burning.jpg"><img
class="alignleft size-medium wp-image-1520" title="IE6-burning" src="http://wordpressapi.com/files/IE6-burning-300x225.jpg" alt="" width="300" height="225" /></a>In 2003,  Microsoft launched the Internet Explorer6 and it had dominated the market with 97 percent share that time. Over the years its market share has declined, and Now as per new.cnet.com in Jan 2010, <strong>IE6 has only holding 5 percents of internet users</strong>.</p><p>Still Most of all web designers are fighting all the time for IE6 issues and hacks. All web designers and Web development companies are still spend so much to to solve the issue with IE6 browsers.</p><p>There is reason behind that. In all over the world, still some big corporate companies and offices are using IE6. Many big companies and brands announced to ban IE6 in 2009 itself.</p><p>The Google and March 1 references come from that company&#8217;s recent announcement that it would drop IE6 from the list of supported browsers for its Google Docs online applications and its Google Sites hosting services starting on Monday, March 1. Yesterday, Google&#8217;s popular video site YouTube named <a
href="http://www.computerworld.com/s/article/9161058/YouTube_sets_March_13_IE6_kill_date">March 13</a> as the end-of-support date for IE6.</p><p>There is big issue with IE6 browser but still some web developer are not aware of that. IE6 is majorly lacking to provide a web security. I can say, IE6 is kind of hackers browser.</p><p><a
href="http://www.computerworld.com/s/article/9137060/Microsoft_Update_Latest_news_features_reviews_opinions_and_more">Microsoft</a>&#8216;s browser has weathered a &#8220;kill IE6&#8243; campaign since February 2009, when <a
href="http://www.computerworld.com/s/article/9157638/Facebook_Complete_coverage">Facebook</a> prompted IE6 users to upgrade. It accelerated last summer when Digg announced it would curtail IE6 support, and an &#8220;IE6 Must Die&#8221; <a
href="http://www.computerworld.com/s/article/9157658/Twitter_update_News_blogs_opinions_and_more_about_the_microblogging_service">Twitter</a> petition collected thousands of names. Microsoft has endorsed the anti-IE6 efforts, going so far as to say that <a
href="http://www.computerworld.com/s/article/9136739/Microsoft_Friends_don_t_let_friends_use_IE6_">&#8220;Friends don&#8217;t let friends use IE6,&#8221;</a> although it has refrained from forcing users or companies to upgrade to IE7 or IE8, arguing that the old browser is still required by some enterprises.</p><p>There are new technologies are coming like HTML5, CSS3 but still IE8 is also not providing the basics of that. So web deverloper&#8217;s need to struggle for that. The biggest issue I will say here is project estimation. Due to IE6 browser estimation will go always wrong. This is really frustrating.</p><p>There are multiple issues with IE6. I will talk about some here.</p><ul><li>z-index issue &#8211; most bad part in IE6</li><li>inline-block &#8211; display property not work</li><li>min-height and max-height css property</li><li>child selectors in CSS</li><li>PNG transparent images- biggest issue</li><li>Poor Javascript support<strong><br
/> </strong></li></ul><p>Microsoft is planning to launch IE9 but still they are not included the some nice features of HTML5 and advanced javascript methods and CSS3 attributes.</p><p>What I say more.. Web designers are saying what to do with IE6&#8230;..</p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/02/24/web-designers-are-saying-what-to-do-with-ie6/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Create fixed side or top buttons in wordpress theme</title><link>http://wordpressapi.com/2010/02/19/create-fixed-side-top-buttons-wordpress-theme/</link> <comments>http://wordpressapi.com/2010/02/19/create-fixed-side-top-buttons-wordpress-theme/#comments</comments> <pubDate>Fri, 19 Feb 2010 21:42:57 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Open source]]></category> <category><![CDATA[seo]]></category> <category><![CDATA[social]]></category> <category><![CDATA[tutorials]]></category> <category><![CDATA[web design]]></category> <category><![CDATA[css tips]]></category> <category><![CDATA[fixed buttons]]></category> <category><![CDATA[tricks]]></category> <category><![CDATA[wordpress theme]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=1274</guid> <description><![CDATA[We can easily introduce the fixed side or top or bottoms in wordpress or any website. Fixing the position of any document element using CSS this is very old technique but still  I am going to give you some good trick to show the twitter button or search buttons or add new button on bottom.....]]></description> <content:encoded><![CDATA[<p>We can easily introduce the fixed side or top or bottoms in wordpress or any website.</p><p>Fixing the position of any document element using CSS this is very old technique but still  I am going to give you some good trick to show the twitter button or search buttons or add new button on bottom or sidebar.</p><p>Using following CSS code you can integrate the any button on sidebar.</p><pre class="brush: css;">

#submit_news { background:transparent url(images/submit-news.png) no-repeat scroll 0px 0px; height:170px; left:0; position:fixed; top:180px; width:40px; }
div#submit_news:hover { background-position:-41px 0px; }
#submit_news a{ display:block; height:170px; width:40px; }
</pre><p>In this tutorial we are using the only one image as a button. As we know we are using the sprite image css here.</p><p>Open your header.php file from wordpres theme. and under body tag put following code.</p><p>&lt;div id=&#8221;submit_news&#8221;&gt;&lt;a href=&#8221;/submit-news&#8221; &gt;&lt;/a&gt;&lt;/div&gt;</p><p>First you need to create the submit news page in wordpress.</p><p>If you want to add the submit news button for your site you can download from here.</p><p><a
href="http://wordpressapi.com/files/submit-news.png"><img
class="alignnone size-full wp-image-1275" title="submit-news" src="http://wordpressapi.com/files/submit-news.png" alt="" width="78" height="168" /></a></p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/02/19/create-fixed-side-top-buttons-wordpress-theme/feed/</wfw:commentRss> <slash:comments>30</slash:comments> </item> <item><title>Advanced rounded corner with only css and not using images and with border</title><link>http://wordpressapi.com/2010/02/16/advanced-rounded-corner-css-images-border/</link> <comments>http://wordpressapi.com/2010/02/16/advanced-rounded-corner-css-images-border/#comments</comments> <pubDate>Tue, 16 Feb 2010 16:56:57 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[Open source]]></category> <category><![CDATA[news]]></category> <category><![CDATA[seo]]></category> <category><![CDATA[technology]]></category> <category><![CDATA[web design]]></category> <category><![CDATA[advanced rounded corner]]></category> <category><![CDATA[html]]></category> <category><![CDATA[no image]]></category> <category><![CDATA[rounded corner]]></category> <category><![CDATA[rounded corner with css]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=1140</guid> <description><![CDATA[In one of my project I got requirement about half rounded corner in header and footer. I got so many scripts which had solution with javascripts and some are given solutions with images. But I want customize every thing like color of rounded corner header background, footer background and border also. I did so much.....]]></description> <content:encoded><![CDATA[<p>In one of my project I got requirement about half rounded corner in header and footer.<br
/> I got so many scripts which had solution with javascripts and some are given solutions with images.</p><p>But I want customize every thing like color of rounded corner header background, footer background and border also.</p><p>I did so much R&amp;D about same but did not found any solution.</p><p>So I tried to code myself in CSS and I got succeed in that.<br
/> In this article I am going to share the code with you.</p><p>first put my style sheet in your webpage.</p><pre class="brush: css;">
&lt;style type=&quot;text/css&quot;&gt;
body {background-color: #fff;font: normal 10pt ,Arial,sans-serif;}

img{border:none;}

.wordpressapi-main{
 clear:both;
 float:left;
 width:300px;
 /*border:1px solid #f00;*/
}

.wordpressapi_round_header {
 background-color: #ddd;

 -moz-border-radius: 15px 15px 0px 0px;
 -webkit-border-radius: 15px 15px 0px 0px;
 border-radius: 15px 15px 0px 0px;
 /*behavior: url(border-radius.htc);*/
 text-align:center;
 padding:5px 0px 5px 0px;
 clear:both;
 float:left;
}

.wordpressapi_round_footer {
 background-color: #ddd;

 -moz-border-radius: 0px 0px 15px 15px;
 -webkit-border-radius: 0px 0px 15px 15px;
 border-radius: 0px 0px 15px 15px;

 /*behavior: url(border-radius.htc);*/
 text-align:right;

 clear:both;
 float:left;

}
.wordpressapi_round_middle {
 text-align:center;
 color:blue;
 clear:both;
 float:left;
}
.inner_ad {
 padding:10px;
 text-align:left;
 color:black;
 font-size:12px;
 vertical-align: middle;

}
.round_heading{
font-size:16px;
line-height:26px;
font-weight:bold;

}

/* rounded corners */
.wordpressapi-blue-round-container{ /*margin-top:10px;*/}
.wordpressapi-blue-round-container-top, .wordpressapi-blue-round-container-bot, .wordpressapi-acco-top, .wordpressapi-acco-bot {
 display:block;
 background:#fff;
 font-size:1px;
 clear:both;

}
.blue-round-t1, .blue-round-t2, .blue-round-t3, .blue-round-t4 {display:block; overflow:hidden;}
.blue-round-t1, .blue-round-t2, .blue-round-t3 {height:1px;}
.blue-round-t2, .blue-round-t3, .blue-round-t4 {
 background:#0000FF;
 border-left:1px solid #ccc;
 border-right:1px solid #ccc;
}
.blue-round-t1 {
 margin:0 5px;
 background:#0000FF;
 border-top:1px solid #ccc;
 height:0px;
}
.blue-round-t2 {margin:0 3px; border-width:0 2px;}
.blue-round-t3 {margin:0 2px;}
.blue-round-t4 {height:2px; margin:0 1px;}

.white-round-t1, .white-round-t2, .white-round-t3, .white-round-t4 {display:block; overflow:hidden;}
.white-round-t1, .white-round-t2, .white-round-t3 {height:1px;}
.white-round-t2, .white-round-t3, .white-round-t4 {
 background:#FFF;
 border-left:1px solid #ccc;
 border-right:1px solid #ccc;
}
.white-round-t1 {
 margin:0 5px;
 background:#FFF;
 border-top:1px solid #ccc;
 height:0px;
}
.white-round-t2 {margin:0 3px; border-width:0 2px;}
.white-round-t3 {margin:0 2px;}
.white-round-t4 {height:2px; margin:0 1px;}

.wordpressapi-blue-round-contents{
 display:block;
 border:1px solid #000;
 border-width:0 1px;
 padding: 0 15px;
 background:#0000FF;
 color:#000;
 text-align:justify;
 width: 878px;
 clear:both;
 float:left;

}

.hold{
 border-left:1px solid #ccc;
 border-right:1px solid #ccc;
 clear:both;
 float:left;
 width:298px;
}

.inner-adds-bottom{
 padding-top:1px;
 clear:both;
 float:left;
}

/* rounded corners */

.cross-img, .cross-img:link, .cross-img:hover{
 background:url(close_button.gif) no-repeat center;
 width:12px;
 height:12px;
 display:inline-block;
}

.info-img, .info-img:link, .info-img:hover{
 background:url(information_btn.gif) no-repeat center;
 width:12px;
 height:12px;
 display:inline-block;
}
&lt;/style&gt;</pre><p>Then Put following code in your HTML body.</p><p><a
href="http://wordpressapi.com/files/advanced-rounded-corner-html-code.jpg"><img
class="alignnone size-medium wp-image-1141" title="advanced-rounded-corner-html-code" src="http://wordpressapi.com/files/advanced-rounded-corner-html-code-300x209.jpg" alt="" width="300" height="209" /></a></p><p>You will get the following result as follows:<br
/> <a
href="http://wordpressapi.com/files/advanced-rounded-corner-wordpressapi.png"><img
class="alignnone size-full wp-image-1142" title="advanced-rounded-corner-wordpressapi" src="http://wordpressapi.com/files/advanced-rounded-corner-wordpressapi.png" alt="" width="311" height="275" /></a></p><p>Download the main html file from  here: <a
href="http://wordpressapi.com/files/advanced-rounded-corner-wordpressapi.zip" target="_blank">Advanced rounded corner with CSS</a></p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/02/16/advanced-rounded-corner-css-images-border/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>How to append the html code using javascript and php</title><link>http://wordpressapi.com/2010/02/16/append-html-code-javascript-php/</link> <comments>http://wordpressapi.com/2010/02/16/append-html-code-javascript-php/#comments</comments> <pubDate>Tue, 16 Feb 2010 13:13:21 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[Open source]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[news]]></category> <category><![CDATA[seo]]></category> <category><![CDATA[technology]]></category> <category><![CDATA[web design]]></category> <category><![CDATA[ad management]]></category> <category><![CDATA[Ajax]]></category> <category><![CDATA[html]]></category> <category><![CDATA[web development]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=1124</guid> <description><![CDATA[In this example I am going to show you how to add the dynamic HTML code into Document using javascript and PHP &#60;?php $random_id = 125845465; // PUTTING SOME RANDOM ID YOU CAN USE YOURSELF. $DYNAMIC_HTML = '&#60;div&#62; &#60;b&#62;Sponsored Links&#60;/b&#62; &#60;div&#62; &#60;span&#62;&#60;a style=&#34;font-size:12px;font-weight:bold;&#34; href=&#34;http://www.ucoz.com/&#34; rel=&#34;nofollow&#34;&#62;Create a website for free - uCoz&#60;/a&#62;&#60;/span&#62;&#60;br /&#62; Build a website.....]]></description> <content:encoded><![CDATA[<p>In this example I am going to show you how to add the dynamic HTML code into Document using javascript and PHP</p><pre class="brush: php;">
&lt;?php

$random_id = 125845465; // PUTTING SOME RANDOM ID YOU CAN USE YOURSELF.

$DYNAMIC_HTML = '&lt;div&gt;
&lt;b&gt;Sponsored Links&lt;/b&gt;

&lt;div&gt;
 &lt;span&gt;&lt;a style=&quot;font-size:12px;font-weight:bold;&quot; href=&quot;http://www.ucoz.com/&quot; rel=&quot;nofollow&quot;&gt;Create a website for free - uCoz&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
Build a website quickly and easily
Customizable templates and graphics

&lt;/div&gt;

&lt;div&gt;
 &lt;span&gt;&lt;a style=&quot;font-size:12px;font-weight:bold;&quot; href=&quot;http://www.wordpressapi.com/domain_names/&quot;&gt;$1.99 Domain Names&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
 With every new non-domain purchase thru &lt;a href=&quot;http://www.wordpressapi.com/domain_names/&quot; rel=&quot;nofollow&quot;&gt;wordpressapi&lt;/a&gt;, you get a domain name for only $1.99.
&lt;/div&gt;

&lt;div&gt;
 &lt;span&gt;&lt;a style=&quot;font-size:12px;font-weight:bold;&quot; href=&quot;http://www.wordpressapi.com/&quot; rel=&quot;nofollow&quot;&gt;FREE Hosting!&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
 With every domain you register with &lt;a href=&quot;http://www.wordpressapi.com/&quot; rel=&quot;nofollow&quot;&gt;wordpressapi&lt;/a&gt; you get FREE hosting.
&lt;/div&gt;
&lt;/div&gt;';

 $HTML = &quot;var objHead = document.getElementsByTagName('head');
 var objCSS = objHead[0].appendChild(document.createElement('link'));
 objCSS.id = '.$random_id.';
 objCSS.rel = 'stylesheet';
 objCSS.href = 'http://YOURSITE/STYLE.css';
 objCSS.type = 'text/css';&quot;;

 $HTML .= '
 var WORDPRESAPI_html_'.$random_id.' = document.createElement(&quot;div&quot;);
 WORDPRESAPI_html_'.$random_id.'.id = &quot;WORDPRESAPI_html_'.$random_id.'&quot;;
 WORDPRESAPI_html_'.$random_id.'.style.position = &quot;absolute&quot;;
 WORDPRESAPI_html_'.$random_id.'.style.zIndex = &quot;100&quot;;
 WORDPRESAPI_html_'.$random_id.'.style.left = &quot;0px&quot;;
 WORDPRESAPI_html_'.$random_id.'.style.top = &quot;0px&quot;;
 WORDPRESAPI_html_'.$random_id.'.style.visibility = &quot;hidden&quot;;
 WORDPRESAPI_html_'.$random_id.'.style.filter = &quot;progid:DXImageTransform.Microsoft.Alpha(opacity=100)&quot;;
 WORDPRESAPI_html_'.$random_id.'.innerHTML = &quot;'.addcslashes($DYNAMIC_HTML,&quot;\\\'\&quot;&amp;\n\r&lt;&gt;&quot;).'&quot;;
 document.body.appendChild(WORDPRESAPI_html_'.$random_id.');';

echo $HTML;

?&gt;</pre><p>In this code if you observe then following line is very important.</p><pre class="brush: php;">
 WORDPRESAPI_html_'.$uniqid.'.innerHTML = &quot;'.addcslashes($HTML,&quot;\\\'\&quot;&amp;\n\r&lt;&gt;&quot;).'&quot;; </pre><p><a
href="http://wordpressapi.com/files/php.png"><img
class="alignnone size-medium wp-image-1132" title="php" src="http://wordpressapi.com/files/php-300x195.png" alt="php" width="300" height="195" /></a></p><p>Whenever you are using javascript and PHP both together then use following way to push your HTML in Dom.</p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/02/16/append-html-code-javascript-php/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>How to create the rounded corner using css or javascript</title><link>http://wordpressapi.com/2010/02/16/create-rounded-corner-css-javascript/</link> <comments>http://wordpressapi.com/2010/02/16/create-rounded-corner-css-javascript/#comments</comments> <pubDate>Mon, 15 Feb 2010 19:44:01 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Open source]]></category> <category><![CDATA[news]]></category> <category><![CDATA[seo]]></category> <category><![CDATA[technology]]></category> <category><![CDATA[tutorials]]></category> <category><![CDATA[web design]]></category> <category><![CDATA[wordpress]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[rounded corner]]></category> <category><![CDATA[rounded corner with css]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=1102</guid> <description><![CDATA[We always need the rounded corners for our various web projects. W3C has offered some new options for borders in CSS3, of which one is border-radius. Both Mozila/Firefox and Safari 3 have implemented this function. There are many javascripts are available to create the rounded corner using scripts. But specially recommend use pur css to.....]]></description> <content:encoded><![CDATA[<p>We always need the rounded corners for our various web projects.</p><p>W3C has offered some new options for borders in CSS3, of which one is border-radius. Both Mozila/Firefox and Safari 3 have implemented this function.</p><p>There are many javascripts are available to create the rounded corner using scripts. But specially recommend use pur css to avoid unnecessary script loading. So many sites uses the background image also, We need to avoid that also.</p><p>Following css will give you the rounded corners using only css:</p><pre class="brush: css;">
.main_container {background:#ccc; color:#fff; margin:0 15px;}
.wordpressapitop, .wordpressapibottom{
display:block;
background:#fff;
}
.wordpressapitop *, .wordpressapibottom *{
display: block;
height: 1px;
overflow: hidden;
background:#ccc;
}
.wordpressapi1{margin: 0 5px}
.wordpressapi2{margin: 0 3px}
.wordpressapi3{margin: 0 2px}
.wordpressapi4{
margin: 0 1px;
height: 2px
}
</pre><p>Use following code in your html file and you are able to use rounded corners without using the javascript</p><p><a
href="http://wordpressapi.com/files/round-code.JPG"><img
class="alignnone size-full wp-image-1107" title="round-code" src="http://wordpressapi.com/files/round-code.JPG" alt="round-code" width="455" height="211" /></a></p><div
class="main_container"><strong> </strong></div><p>Above script will work on all browsers FF, Chrome, Safari, IE6, IE7, IE8.<br
/> <a
href="http://wordpressapi.com/files/roundtotal.png"><img
class="alignnone size-medium wp-image-1106" title="roundtotal" src="http://wordpressapi.com/files/roundtotal-266x300.png" alt="roundtotal" width="266" height="300" /></a></p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2010/02/16/create-rounded-corner-css-javascript/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>In page pop up javascripts or modalbox</title><link>http://wordpressapi.com/2009/09/07/in-page-pop-up-javascripts-or-modalbox/</link> <comments>http://wordpressapi.com/2009/09/07/in-page-pop-up-javascripts-or-modalbox/#comments</comments> <pubDate>Mon, 07 Sep 2009 10:22:30 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[Open source]]></category> <category><![CDATA[technology]]></category> <category><![CDATA[web design]]></category> <category><![CDATA[5 scripts]]></category> <category><![CDATA[in page pop up]]></category> <category><![CDATA[modelbox]]></category> <category><![CDATA[popup]]></category><guid
isPermaLink="false">http://purab.wordpress.com/2009/09/07/in-page-pop-up-javascripts-or-modalbox/</guid> <description><![CDATA[I got requirement to create in-page pop up in my project. I got many open source javascripts and CSS libraries. I found some of them are useful. Here i given the list of libraries: 1.  lightbox2.04 Lightbox is a simple, unobtrusive script used to overlay images on the current page. It&#8217;s a snap to setup.....]]></description> <content:encoded><![CDATA[<p>I got requirement to create in-page pop up in my project.</p><p>I got many open source javascripts and CSS libraries. I found some of them are useful. Here i given the list of libraries:</p><p>1.  lightbox2.04</p><p>Lightbox is a <em>simple, unobtrusive</em> script used to overlay images on the current page. It&#8217;s a <em>snap to setup</em> and works on <em>all modern browsers</em>.</p><p>URL: <a
href="http://www.lokeshdhakar.com/projects/lightbox2/" target="_blank">http://www.lokeshdhakar.com/projects/lightbox2/</a></p><p>My comments: useful for image slideshow.  Not useful for custom requirements.</p><p>2. modalbox_1.5.5</p><div><p>My comments: Very nice and simple, You can use this JS for multiple requirements.</p></div><p>URL : <a
href="http://okonet.ru/projects/modalbox/" target="_blank">http://okonet.ru/projects/modalbox/</a></p><p>3. tinybox</p><p>My comments: simple and good, really tiny JS, you can modify and create custom events and effects.</p><p>URL: <a
href="http://www.leigeber.com/2009/05/javascript-popup-box/" target="_blank">http://www.leigeber.com/2009/05/javascript-popup-box/</a></p><p>4. Good URL for Reference</p><p><a
href="http://www.emanueleferonato.com/2007/08/22/create-a-lightbox-effect-only-with-css-no-javascript-needed/" target="_blank">http://www.emanueleferonato.com/2007/08/22/create-a-lightbox-effect-only-with-css-no-javascript-needed/</a></p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2009/09/07/in-page-pop-up-javascripts-or-modalbox/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Basic CSS rules for development of WordPress themes</title><link>http://wordpressapi.com/2008/06/13/basic-css-rules-for-development-of-wordpress-themes/</link> <comments>http://wordpressapi.com/2008/06/13/basic-css-rules-for-development-of-wordpress-themes/#comments</comments> <pubDate>Fri, 13 Jun 2008 20:17:33 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Wordpress Themes]]></category> <category><![CDATA[wordpress]]></category> <category><![CDATA[wordpress api]]></category> <category><![CDATA[wordpress tutorials]]></category> <category><![CDATA[wordpress category]]></category> <category><![CDATA[wordpress hacks]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=469</guid> <description><![CDATA[Whenever you are developing the new wordpress theme, you need to put some css in your style.css file. If you are not adding that css in your theme then there is lot of changes to break your theme view. Some classes which are needful for image and alignment purpose. You need to just copy paste.....]]></description> <content:encoded><![CDATA[<p>Whenever you are developing the new wordpress theme, you need to put some css in your style.css file. If you are not adding that css in your theme then there is lot of changes to break your theme view.</p><p>Some classes which are needful for image and alignment purpose. You need to just copy paste following CSS code in your style.css file.</p><p>.aligncenter,</p><p>div.aligncenter {</p><p>display: block;</p><p>margin-left: auto;</p><p>margin-right: auto;</p><p>}</p><p>.alignleft {</p><p>float: left;</p><p>}</p><p>.alignright {</p><p>float: right;</p><p>}</p><p>.wp-caption {</p><p>border: 1px solid #ddd;</p><p>text-align: center;</p><p>background-color: #f3f3f3;</p><p>padding-top: 4px;</p><p>margin: 10px;</p><p>/* optional rounded corners for browsers that support it */</p><p>-moz-border-radius: 3px;</p><p>-khtml-border-radius: 3px;</p><p>-webkit-border-radius: 3px;</p><p>border-radius: 3px;</p><p>}</p><p>.wp-caption img {</p><p>margin: 0;</p><p>padding: 0;</p><p>border: 0 none;</p><p>}</p><p>.wp-caption p.wp-caption-text {</p><p>font-size: 11px;</p><p>line-height: 17px;</p><p>padding: 0 4px 5px;</p><p>margin: 0;</p><p>}</p><p>You can edit some CSS as per theme requirement also.</p><p>Following CSS classes are also useful for creating the WordPress theme. You can create these CSS classes as per your theme requirement.</p><p>.categories {&#8230;}</p><p>.cat-item {&#8230;}</p><p>.current-cat {&#8230;}</p><p>.current-cat-parent {&#8230;}</p><p>.children {&#8230;}</p><p>.pagenav {&#8230;}</p><p>.page_item {&#8230;}</p><p>.current_page_item {&#8230;}</p><p>.current_page_parent {&#8230;}</p><p>.current_page_ancestor {&#8230;}</p><p>.widget {&#8230;}</p><p>.widget_text {&#8230;}</p><p>.blogroll {&#8230;}</p><p>.linkcat{&#8230;}</p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2008/06/13/basic-css-rules-for-development-of-wordpress-themes/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to set Media Icons in wordpress theme</title><link>http://wordpressapi.com/2008/06/07/how-to-set-media-icons-in-wordpress-theme/</link> <comments>http://wordpressapi.com/2008/06/07/how-to-set-media-icons-in-wordpress-theme/#comments</comments> <pubDate>Sat, 07 Jun 2008 19:26:46 +0000</pubDate> <dc:creator>Sony</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Wordpress Themes]]></category> <category><![CDATA[wordpress]]></category> <category><![CDATA[wordpress api]]></category> <category><![CDATA[media icons]]></category> <category><![CDATA[wordpress category]]></category> <category><![CDATA[wordpress hacks]]></category> <category><![CDATA[wordpress theme]]></category><guid
isPermaLink="false">http://wordpressapi.com/?p=453</guid> <description><![CDATA[Just put some jpg, png or gif files in your theme images folder. your_theme/images/audio.jpg your_theme/images/audio.gif your_theme/images/audio.png your_theme/images/mpeg.jpg your_theme/images/mpeg.gif your_theme/images/mpeg.png your_theme/images/audio_mpeg.jpg your_theme/images/audio_mpeg.gif your_theme/images/audio_mpeg.png Whenever you are putting the media files in post above icons will appear in your theme.]]></description> <content:encoded><![CDATA[<p>Just put some jpg, png or gif files in your theme images folder.</p><ol><li><var>your_theme</var>/images/audio.jpg</li><li><var>your_theme</var>/images/audio.gif</li><li><var>your_theme</var>/images/audio.png</li><li><var>your_theme</var>/images/mpeg.jpg</li><li><var>your_theme</var>/images/mpeg.gif</li><li><var>your_theme</var>/images/mpeg.png</li><li><var>your_theme</var>/images/audio_mpeg.jpg</li><li><var>your_theme</var>/images/audio_mpeg.gif</li><li><var>your_theme</var>/images/audio_mpeg.png</li></ol><p>Whenever you are putting the media files in post above icons will appear in your theme.</p> ]]></content:encoded> <wfw:commentRss>http://wordpressapi.com/2008/06/07/how-to-set-media-icons-in-wordpress-theme/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 138/223 queries in 8.776 seconds using disk

Served from: wordpressapi.com @ 2010-09-09 20:57:51 -->