<?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>Techtracer &#187; CSS</title>
	<atom:link href="http://techtracer.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://techtracer.com</link>
	<description>Tracing the course of Web Technology</description>
	<lastBuildDate>Tue, 06 Jan 2009 12:14:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
  <link>http://techtracer.com</link>
  <url>http://techtracer.com/wp-includes/images/favicon.png</url>
  <title>Techtracer</title>
</image>
		<item>
		<title>5 Rules For A Good Web Design</title>
		<link>http://techtracer.com/2007/12/10/5-rules-for-a-good-web-design/</link>
		<comments>http://techtracer.com/2007/12/10/5-rules-for-a-good-web-design/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 16:09:57 +0000</pubDate>
		<dc:creator>nitinpai</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://techtracer.com/2007/12/10/5-rules-for-a-good-web-design/</guid>
		<description><![CDATA[Designing a theme or a website can be a nightmare if done in a haste. I am currently trying to develop a good theme for Techtracer and found out that designing is typing in some HTML and CSS to bring out what you are visualizing. Web Design should follow some rules and it requires proper [...]]]></description>
			<content:encoded><![CDATA[<p>Designing a theme or a website can be a nightmare if done in a haste. I am currently trying to develop a good theme for <a href="http://techtracer.com/">Techtracer</a> and found out that designing is typing in some <strong>HTML</strong> and <strong>CSS</strong> to bring out what you are visualizing. Web Design should follow some rules and it requires proper planning to do so. I have taken down some rules that I realized they should have been followed while I began designing the new theme. I would like to share those with you.</p>
<p style="font-size: 9px" align="center"><img src="http://techtracer.com/wp-content/uploads/2007/12/web-design.gif" alt="Web Designing Rules" /><br />
Image Credit &#8211; <a href="http://www.flickr.com/photos/louisedesign" target="_blank">louisedesign </a></p>
<p><strong>Rule #1 : Lay out the Blueprint First</strong></p>
<p>This is a <strong>must</strong>. Do not start your web design just on the assumption of a that you have a design in mind and you would want to see it  in reality. Believe me, it <strong>never</strong> happens this way and if it doesn&#8217;t then you would just get frustrated at the failure and give up on the design in the mid way. What you must do is plan the <strong>design on paper</strong>. Some tips to follow,</p>
<ol>
<li>Take a ruler, pen and paper and draw the design line by line properly with specific measurements.</li>
<li>Make it a point to consider even the length of the divisions in the layout. The length can then be easily mapped to the pixel length in your CSS</li>
<li>Describe your divisions so that you don&#8217;t forget any thing. This will be helpful because last minute additions to the design might be disastrous.</li>
</ol>
<p><strong>Rule #2  : </strong><strong>Finalize your Color Scheme<br />
</strong></p>
<p>This is the second and will form the <strong>heart</strong> for your design. Your web design will turn out good only if the color scheme is good else it will look boring. To decide on your color schemes first chose what the main color will be. The main color means the color which you will be using maximum in your design. Choose <strong>2 secondary colors </strong>which suit with the main color. Do not choose more than 3 in total or your design will look messy. If you want more colors go for the lighter and darker <strong>shades</strong> to compliment your main color. To finalize upon your color scheme,</p>
<ol>
<li>Surf the internet for 10 designs which have the same color scheme.</li>
<li>Show those designs to a few people and take their feedback. This is because ultimately you do not your first impression to be negative in your case.</li>
<li>From the feedback and websites you will be in a good position to finally prepare filling the colors in your blueprint. You will be more confident this time.</li>
</ol>
<p><strong>Rule #3 : </strong><strong>Start With The Basic Building Blocks</strong></p>
<p>Once your color scheme and layout is finalized its time to implement it. Start building the <strong>basic</strong> layout structure. By basic layout structure, I mean to say is<strong> no text</strong> should be put in to the layout. Remember, having any text in the layout will not give you a proper idea because text itself might change the structure which might be misleading. Think about a situation if you don&#8217;t have the text but have only images. Your design will behave differently in such a case. Basic blocks can be made further easier by,</p>
<ol>
<li>Putting a border around each of your divisions so as to visualize it perfectly to the point.</li>
<li>Initially having a different color for each block and on completion replacing it with the desired color scheme</li>
</ol>
<p><strong>Rule #4 : </strong><strong>Know your CSS and Handle it with Care</strong></p>
<p>Never hard code your styling elements in your HTML files because at a later point of time you won&#8217;t have to keep searching which HTML file to correct in case you have to make any change. So it is always beneficial to have all the styling elements in a <strong>separate CSS file</strong>.</p>
<p>Also, before styling study your CSS so that you don&#8217;t get too messy by repeating the same thing over and over again. CSS supports <strong>inheritance</strong>. This means that the style given to a parent block will also be applicable to the child block. Use this feature to its full effect. Plan  your CSS class names so they are understandable.</p>
<p>For example use the name &#8220;<em>main_content</em>&#8221; instead of something lile &#8220;<em>div_1</em>&#8221; because your CSS file will outgrow in its length quickly and you would be lost in trying out to recall which element points out to which block in the layout.</p>
<p><strong>Rule #5 : </strong><strong>Make Multiple CSS files</strong></p>
<p>The nightmare which I had mentioned in the beginning starts here. It is very much easier to check the output of your design right at the moment in the browser. Do not use any tools for viewing the output because they cant be trusted always. Even if you use a browser for viewing the output it is possible that the design crashes in another browser. Do not panic. It is a<strong> normal</strong> thing because every browser renders the HTML and CSS <strong>differently</strong>.</p>
<p>It is for this case you should have one CSS file per browser so as to be sure that your design looks proper in all browsers. Of course this is not easy. But you <strong>MUST NOT</strong> try to make all the browsers happy with a single CSS file. This wont happen. If you try too much then you would be compromising more on the design. Having one CSS file will give you the flexibility to change a style for one browser without thinking of what effect it might have in another browser.</p>
<p>These 5 basic rules are the ground rules which will lead to a well executed design. If you want your design to be fool proof and reduce your headaches, then these rules will definitely convert your effort to success. Web designing can be a painful job if you do it in haste, so put these simple rules into practice and ease out your work.</p>
<h2>Related posts:</h2><ul><li><a href="http://techtracer.com/2007/12/12/choosing-fixed-layout-over-fluid-layout/" rel="bookmark" title="Permanent Link: Choosing Fixed Layout Over Fluid Layout">Choosing Fixed Layout Over Fluid Layout</a></li><li><a href="http://techtracer.com/2007/06/10/design-patterns-building-blocks-for-your-application/" rel="bookmark" title="Permanent Link: Design Patterns &#8211; Building blocks for your application">Design Patterns &#8211; Building blocks for your application</a></li><li><a href="http://techtracer.com/2007/11/24/css-builder-fast-and-easy-stylesheets/" rel="bookmark" title="Permanent Link: CSS Builder &#8211; Fast and Easy StyleSheets">CSS Builder &#8211; Fast and Easy StyleSheets</a></li><li><a href="http://techtracer.com/2007/03/17/scdjws-study-material-and-resources-the-most-searched-thing/" rel="bookmark" title="Permanent Link: SCDJWS study material and resources &#8211; The most searched thing">SCDJWS study material and resources &#8211; The most searched thing</a></li><li><a href="http://techtracer.com/2007/03/25/techtracer-goes-live-from-today/" rel="bookmark" title="Permanent Link: TechTracer goes Live from today!">TechTracer goes Live from today!</a></li></ul><br /><a href="http://techtracer.com/">Techtracer.com</a> Copyright &copy; 2008<br /> ]]></content:encoded>
			<wfw:commentRss>http://techtracer.com/2007/12/10/5-rules-for-a-good-web-design/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>CSS Builder &#8211; Fast and Easy StyleSheets</title>
		<link>http://techtracer.com/2007/11/24/css-builder-fast-and-easy-stylesheets/</link>
		<comments>http://techtracer.com/2007/11/24/css-builder-fast-and-easy-stylesheets/#comments</comments>
		<pubDate>Sat, 24 Nov 2007 07:13:05 +0000</pubDate>
		<dc:creator>nitinpai</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://techtracer.com/2007/11/24/css-builder-fast-and-easy-stylesheets/</guid>
		<description><![CDATA[How many times you have cursed the feeling of finding fault in your CSS stylesheet and unnecessarily scanning the internet for searching the proper technique and ended up messing up your site design? If you were like me, then it wouldnt be less than every five minutes getting frustrated over minor mistakes in CSS. There [...]]]></description>
			<content:encoded><![CDATA[<p>How many times you have cursed the feeling of finding fault in your <strong>CSS stylesheet</strong> and unnecessarily scanning the internet for searching the proper technique and ended up messing up your site design? If you were like me, then it wouldnt be less than every five minutes getting frustrated over minor mistakes in CSS. There are in fact softwares which can help you to quickly develop your CSS stylesheet and move ahead with your design. But such softwares often are confusing enough to give you the confidence that the CSS will work out properly on the finalized design.</p>
<p>Manually making the stylesheets certainly gives you more freedom. It does also take out your time to properly remember all of the syntax and produce them correctly. But there is a <strong>simple solution</strong> out there on the web and it is <a href="http://www.metatitan.com/cssbuilder.php" target="_blank">Meta Titan CSS Builder</a>. It does not actually give you the output but it <strong>builds</strong> the tag for you without you having to type anything. Presto! within minutes you would be ready with your style.</p>
<p style="text-align: center"><img src="http://techtracer.com/wp-content/uploads/2007/11/cssbuilder.gif" alt="CSSBuilder" /></p>
<p>Be it anchor tags, the positioning, the background or the boxing. It includes everything. The creator is still on the verge of improvising it. I definitely would like to see the inclusion of a <strong>live preview</strong> on how the final output would be displayed. The important part of the utility is that you can learn out how to make different style by trying out many combinations. This is not possible when you do it manually. Try it out. I loved it, you would too!</p>
<h2>Related posts:</h2><ul><li><a href="http://techtracer.com/2007/04/09/web-and-desktop-apps-the-3rd-world-war/" rel="bookmark" title="Permanent Link: Web and Desktop Apps &#8211; the 3rd World War!">Web and Desktop Apps &#8211; the 3rd World War!</a></li><li><a href="http://techtracer.com/2007/08/15/jax-ws-jaxp-tutorial-building-a-stockquote-web-service-client/" rel="bookmark" title="Permanent Link: JAX-WS + JAXP Tutorial &#8211; Building A StockQuote Web Service Client">JAX-WS + JAXP Tutorial &#8211; Building A StockQuote Web Service Client</a></li><li><a href="http://techtracer.com/2007/09/06/google-reader-search-goes-live/" rel="bookmark" title="Permanent Link: Google Reader Search Goes Live!">Google Reader Search Goes Live!</a></li><li><a href="http://techtracer.com/2007/03/25/techtracer-goes-live-from-today/" rel="bookmark" title="Permanent Link: TechTracer goes Live from today!">TechTracer goes Live from today!</a></li><li><a href="http://techtracer.com/2007/08/13/java-ee-exhaustive-yet-enchanting/" rel="bookmark" title="Permanent Link: Java EE &#8211; Exhaustive yet Enchanting">Java EE &#8211; Exhaustive yet Enchanting</a></li></ul><br /><a href="http://techtracer.com/">Techtracer.com</a> Copyright &copy; 2008<br /> ]]></content:encoded>
			<wfw:commentRss>http://techtracer.com/2007/11/24/css-builder-fast-and-easy-stylesheets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Tip: Important Property!</title>
		<link>http://techtracer.com/2007/04/03/css-tip-important-property/</link>
		<comments>http://techtracer.com/2007/04/03/css-tip-important-property/#comments</comments>
		<pubDate>Tue, 03 Apr 2007 17:37:44 +0000</pubDate>
		<dc:creator>nitinpai</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://techtracer.com/2007/04/03/css-tip-important-property/</guid>
		<description><![CDATA[If you have worked in CSS (Cascading Style Sheets), you might have noticed that the nested  styles take precedence over the global ones. For Example, consider the following,

.box{
 	width:100px;
 	height:100px;
 	background:silver;
 	border:1px solid black;
}

And I use the above style in my page as follows,

&#60;div class=&#34;box&#34;&#62;&#60;/div&#62;
&#60;div class=&#34;box&#34; style=&#34;width:200px&#34;&#62;&#60;/div&#62;

Here, the width of the second will be [...]]]></description>
			<content:encoded><![CDATA[<p>If you have worked in <strong>CSS (Cascading Style Sheets)</strong>, you might have noticed that the nested  styles take precedence over the global ones. For Example, consider the following,</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">.box{
 	width:100px;
 	height:100px;
 	background:silver;
 	border:1px solid black;
}</pre></div></div>

<p>And I use the above style in my page as follows,</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div class=&quot;box&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;box&quot; style=&quot;width:200px&quot;&gt;&lt;/div&gt;</pre></div></div>

<p>Here, the width of the second will be <strong>200px</strong> since the inline style overrides the globally declared style. But the CSS trick to still enforce the global style is to make the concerned style attribute <strong>IMPORTANT</strong>. In the above example if I have to keep my second <strong>div</strong> restricted to<strong> 100px</strong> then I will declare it as IMPORTANT as follows,</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">.box{
 	width:100px !important;   /*width restricted to 100px. This is final*/
 	height:100px;
 	background:silver;
 	border:1px solid black;
 }</pre></div></div>

<p>Its simple to co relate the <strong>!important</strong> property as a final variable in java. Sometimes you do not your styles to be overridden by other designers either through javascript or inline style. The <strong>!important</strong> property is the thing which would help in this case.</p>
<h2>Related posts:</h2><ul><li><a href="http://techtracer.com/2007/04/16/the-great-ant-tutorial-a-great-jump-start/" rel="bookmark" title="Permanent Link: The Great Ant Tutorial &#8211; a great jump start">The Great Ant Tutorial &#8211; a great jump start</a></li><li><a href="http://techtracer.com/2008/12/30/the-great-hibernate-tutorial-a-great-jump-start-for-beginners/" rel="bookmark" title="Permanent Link: The Great Hibernate Tutorial &#8211; a great jump start for beginners">The Great Hibernate Tutorial &#8211; a great jump start for beginners</a></li><li><a href="http://techtracer.com/2008/03/17/key-points-for-choosing-the-best-framework/" rel="bookmark" title="Permanent Link: Key Points for Choosing the Best framework">Key Points for Choosing the Best framework</a></li><li><a href="http://techtracer.com/2007/10/07/do-books-inspire-you-to-excel/" rel="bookmark" title="Permanent Link: Do Books Inspire You To Excel?">Do Books Inspire You To Excel?</a></li><li><a href="http://techtracer.com/2007/06/21/learn-the-servlet-api-a-step-by-step-approach/" rel="bookmark" title="Permanent Link: Learn the Servlet API &#8211; A step by step approach">Learn the Servlet API &#8211; A step by step approach</a></li></ul><br /><a href="http://techtracer.com/">Techtracer.com</a> Copyright &copy; 2008<br /> ]]></content:encoded>
			<wfw:commentRss>http://techtracer.com/2007/04/03/css-tip-important-property/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
