<?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>am i works? &#187; css</title>
	<atom:link href="http://amiworks.co.in/talk/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://amiworks.co.in/talk</link>
	<description>all about my work</description>
	<lastBuildDate>Sat, 10 Mar 2012 20:22:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>5 key skills of a successful web application developer</title>
		<link>http://amiworks.co.in/talk/5-key-skills-of-a-successful-web-application-developer/</link>
		<comments>http://amiworks.co.in/talk/5-key-skills-of-a-successful-web-application-developer/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 10:33:28 +0000</pubDate>
		<dc:creator>Amit Kumar Singh</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[skills for web development]]></category>
		<category><![CDATA[web app]]></category>
		<category><![CDATA[web developer]]></category>

		<guid isPermaLink="false">http://amiworks.co.in/talk/5-key-skills-of-a-successful-web-application-developer/</guid>
		<description><![CDATA[Most probably you will be knowing about all these skills already, it is common sense, still I have found so many developers who just know just one server side language(usually java or .net) and then they think themselves as superman/superwoman. In web application development, that is just one thing. You need to know about lot [...]]]></description>
			<content:encoded><![CDATA[<p>Most probably you will be knowing about all these skills already, it is common sense, still I have found so many developers who just know just one server side language(usually java or .net) and then they think themselves as superman/superwoman.</p>
<p>In web application development, that is just one thing. You need to know about lot more things before you can consider yourself successful.</p>
<p>So, if you know them already that&#8217;s good, you don&#8217;t need to read any further otherwise continue reading to know why each of these skills are important for you(the web developer).</p>
<p>Here are the skills</p>
<ol>
<li>the structure : HTML</li>
<li>the presentation: CSS</li>
<li>the behavior: JavaScript</li>
</ol>
<p>With these three skill you have ability to become the super cool static website developer or a front end developer</p>
<ol>
<li>the database: SQL</li>
<li>the server-side language : PHP( other options are JSP/ASP/PERL/RUBY choice is yours, as all the fight for best happens here)</li>
</ol>
<p>These two skill will make you a web developer.</p>
<p>All five of these skills will make you a most prized web developer, in your organization.</p>
<p><span id="more-102"></span></p>
<h3>HTML</h3>
<p>You think you know HTML, think again. I have been interviewing lot of people, they have all rated themselves nearing 7-8 out of 10, whenever I asked them to rate their knowledge of html. Every time I tried to verify their claim, they came down to 2-3, reason is simple, HTML is very simple and everyone thinks they can bluff their way through, After all what is HTML, just tables and forms isn&#8217;t?</p>
<p>Well you are wrong, HTML is the one of the most important skill that you should have, you should know HTML better then you know your server side language, why?</p>
<p>Simply because your server side language is optional, but HTML is must, even when you dream about a web page. It gives your website a structure and layout. This is what an end user see&#8217;s and care about. You don&#8217;t know HTML, you can&#8217;t fix the strange behaviors that you see in you website.</p>
<p>Without proper layout, you site/application is nothing.  With proper use of HTML you can not only create most accessible websites, you can also create a website which will look good in absence of css and will work without javascript.</p>
<p>So go and revise you HTML again, and remember just know is not enough, you have to understand where to use what.</p>
<h3>CSS</h3>
<p>CSS is used to give the look and feel to your website. You as a web developer need to know and understand how it works, and how you can simplify the html layout&#8217;s so that it becomes manageable. Design is what your users/client sees.</p>
<p>On the basis of your sites design, your ability is judged initially.</p>
<p>CSS is easy to learn, but it&#8217;s application is another story, all thanks to browser incompatibilities.  So to make your website look good in all the browser you need CSS. Just knowing CSS is not enough, you have to understand it&#8217;s application also.</p>
<h3>JavaScript</h3>
<p>JavaScript is not just for validations as many of you think, it is what gives you ability to do some nifty things with your webpage(like lightbox, rating&#8217;s , ajax).</p>
<p>It adds behavior to  your website, makes it interesting and improves the users experience. If you have still not chosen any framework, do it now. jQuery, prototype, YUI, Dojo are some of the interesting frameworks that make developers life easier.</p>
<p>If have master all the three skills above you can already consider your self above average web developer even if that person has 10 years of experience. Remember we are in IT industry. IT is Information Technology, where Information aka Knowledge is important.</p>
<h3>SQL</h3>
<p>The most neglected in the bunch, when this is the second most important skill that a web developer should have.</p>
<p>Why? what a question, we are building web applications that almost always relay on database, If you don&#8217;t understand the SQL how do you propose to get the data fast enough from your database? Almost all the websites can be distilled down to simple SELECT,INSERT, UPDATE operations. If you can master them, you can dictate your terms.</p>
<p>When I say SQL I don&#8217;t just mean queries but also the database schema and intricacies of database itself.</p>
<h3>PHP</h3>
<p>Before you get up in arms against me for suggesting PHP and not your favorite language, understand this, I am talking about web applications only, and their is no other scripting language which is so easy to learn and program with. At the same time, it provides functions for everything you can think off that is required in a web application development environment.</p>
<p>Please spare me the talk about java and .net they are platforms and/or programming language. If you understand  &#8220;you should not use sword to do the job of needle and vice versa&#8221; then you know what I mean.</p>
<p>Their are many frameworks that you can use. Also their are many ready to use open source packages that you can use and adapt to your needs, you don&#8217;t need to start from scratch all the time.</p>
<p>If you have read till here, then I would love to know your views on these skills and others that you think are important for a successful web development career.</p>
<!-- WP Boastful Plugin by WPoets Team --> <div id='boastful'><strong></strong></div><hr style="border-top:black solid 1px" /><a href="http://amiworks.co.in/talk/5-key-skills-of-a-successful-web-application-developer/">5 key skills of a successful web application developer</a> was first posted on June 3, 2008 at 10:33 am.<br />©2008 "<a href="http://amiworks.co.in/talk">am i works?</a>". <br />]]></content:encoded>
			<wfw:commentRss>http://amiworks.co.in/talk/5-key-skills-of-a-successful-web-application-developer/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Center align a container in IE</title>
		<link>http://amiworks.co.in/talk/center-align-a-container-in-ie/</link>
		<comments>http://amiworks.co.in/talk/center-align-a-container-in-ie/#comments</comments>
		<pubDate>Fri, 16 May 2008 06:45:09 +0000</pubDate>
		<dc:creator>Amit Kumar Singh</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[center align the div in Internet explorer]]></category>
		<category><![CDATA[css tip]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[IE&]]></category>
		<category><![CDATA[IE6]]></category>

		<guid isPermaLink="false">http://amiworks.co.in/talk/center-align-a-container-in-ie/</guid>
		<description><![CDATA[Today i faced a problem while trying to center align my main div in IE6. The Problem #main { width:960px; margin:0 auto; } This made my div to align itself in the center in firefox and Internet Explorer 7 but, it failed to do the trick for IE6. After some googling i found following solution [...]]]></description>
			<content:encoded><![CDATA[<p>Today i faced a problem while trying to center align my main div in IE6.</p>
<p><strong>The Problem</strong></p>
<pre class="akcode">
#main
{
    width:960px;
    margin:0 auto;
}</pre>
<p>This made my div to align itself in the center in firefox and Internet Explorer 7 but, it failed to do the trick for IE6.</p>
<p><span id="more-86"></span><br />
After some googling i found following solution on <a href="http://www.webcredible.co.uk/user-friendly-resources/css/internet-explorer.shtml">Webcredible.co.uk</a> website. I added my &#8220;<a href="http://amiworks.co.in/talk/simplest-css-hack-ever/">simple css hack</a>&#8221; to make sure it was available only in Internet Explorer.<br />
<strong><br />
The Solution</strong></p>
<pre class="akcode">
body
{
     _text-align:center;
}
#main
{
     width:960px;
     margin:0 auto;
     _text-align:left;

}</pre>
<p>That&#8217;s it, we are done this will center align the container in the center of the browser window</p>
<!-- WP Boastful Plugin by WPoets Team --> <div id='boastful'><strong></strong></div><hr style="border-top:black solid 1px" /><a href="http://amiworks.co.in/talk/center-align-a-container-in-ie/">Center align a container in IE</a> was first posted on May 16, 2008 at 6:45 am.<br />©2008 "<a href="http://amiworks.co.in/talk">am i works?</a>". <br />]]></content:encoded>
			<wfw:commentRss>http://amiworks.co.in/talk/center-align-a-container-in-ie/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Simplest Css Hack Ever</title>
		<link>http://amiworks.co.in/talk/simplest-css-hack-ever/</link>
		<comments>http://amiworks.co.in/talk/simplest-css-hack-ever/#comments</comments>
		<pubDate>Thu, 08 May 2008 16:29:15 +0000</pubDate>
		<dc:creator>Amit Kumar Singh</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[akhack]]></category>
		<category><![CDATA[comment hack]]></category>
		<category><![CDATA[css exploit for internet explorer]]></category>
		<category><![CDATA[css hack]]></category>
		<category><![CDATA[extended underscore hack]]></category>
		<category><![CDATA[underscore hack]]></category>

		<guid isPermaLink="false">http://amiworks.co.in/talk/simplest-css-hack-ever/</guid>
		<description><![CDATA[&#8220;What?!! the dawn of IE8 is upon us and someone is writing about css hack for IE&#8221; Well&#8230; my response is simple, you don&#8217;t need to use this it&#8217;s just for your knowledge. I have been using this trick for two years now, as most of the other magical css hack were above my head. [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;What?!!  the dawn of IE8 is upon us and someone is writing about css hack for IE&#8221;</p>
<p>Well&#8230; my response is simple,  you don&#8217;t need to use this it&#8217;s just for your knowledge.  <img src='http://amiworks.co.in/talk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I have been using this trick for two years now, as most of the other magical css hack were above my head.</p>
<p>I discovered this accidentally, and it might not be an hack also, but i use it a lot in my work.</p>
<p><strong>So what is this hack?</strong></p>
<p>Simple, just put <em>&#8216;//&#8217;  in front of any valid css declaration</em>, most of the other browser will treat this as comment and ignore it,  while  our friend Internet Explorer will not treat this  as comment and render the property.</p>
<pre>&lt;style&gt;

.test{
     color:red;
     //color:green;
}

&lt;/style&gt;

&lt;p class='test'&gt;I will be green in Internet Explorer, red in all other browsers&lt;/p&gt;</pre>
<p>The only thing that you must <em>note is the sequence of statements</em>.  The declaration that you want to override in IE should come after the declaration for other browsers.  What it means is that if you put the <em>//color:green</em> first in above example then even IE will show the color of text as red.</p>
<p>Example:</p>
<style>.test { color:red; //color:green; } </style>
<p class="test">I will be green in Internet Explorer, red in all other browsers.</p>
<p><span id="more-77"></span><br />
<strong>How it works?</strong></p>
<p>The idea is very simple  as second line is treated as comment by other browsers like firefox, they simply ignore it. Internet Explorer on the other hand does not treat second statement as comment, so it simply overrides the first statement. The only know limitation is that it does not provide you with any means to differentiate IE6 and IE7</p>
<p>This is kind of interesting, for once i think IE followed the right path while  others deviated to make writing comments easier for us developers.</p>
<p>I had googled to check if some one has already written about it, but i was surprised to see that no one had written anything about it, while they have listed all the big and complex hacks.</p>
<p>I thought it must be because this is so simple&#8230;  or may be nobody ever tried it?  who knows?</p>
<p>While writing this post i was even tempted to name this hack as <em>&#8216;akHack&#8217;,  </em>and thought better off it.</p>
<p>Any ways I just want to satisfy my curiosity,  did you knew about this?</p>
<p><span style="font-weight: bold">update</span> [10 may]: finally i know the name for this hack it is called <span style="font-style: italic">Underscore hack, </span>thanks to neil and chris. So what i am using is basically a variation of or <a href="http://annevankesteren.nl/2005/07/ie-hack" title="Internet Explorer extended underscore hack">extended underscore hack</a>.</p>
<!-- WP Boastful Plugin by WPoets Team --> <div id='boastful'><strong></strong></div><hr style="border-top:black solid 1px" /><a href="http://amiworks.co.in/talk/simplest-css-hack-ever/">Simplest Css Hack Ever</a> was first posted on May 8, 2008 at 4:29 pm.<br />©2008 "<a href="http://amiworks.co.in/talk">am i works?</a>". <br />]]></content:encoded>
			<wfw:commentRss>http://amiworks.co.in/talk/simplest-css-hack-ever/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
	</channel>
</rss>

