<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-5632709848824800889</atom:id><lastBuildDate>Wed, 14 Oct 2009 10:46:46 +0000</lastBuildDate><title>surajnaikin</title><description>web design &amp; developer from India</description><link>http://surajnaikin.blogspot.com/</link><managingEditor>noreply@blogger.com (surajnaikin)</managingEditor><generator>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Surajnaikin" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5632709848824800889.post-2285772245328398851</guid><pubDate>Sun, 06 Jul 2008 09:03:00 +0000</pubDate><atom:updated>2008-07-31T02:49:18.173-07:00</atom:updated><title>How to manage your style sheet?</title><description>&lt;div style="font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 100%; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;&lt;br /&gt;&lt;p style="line-height: 150%;"&gt;This article is for all enthusiasts working in the field of web development. New comers provided that you know basics of HTML &amp;amp; CSS to understand this article. Working in Web site Development projects, managing your stylesheets can help you in the long run. As any projects moves ahead, Its hard to remember everything. So lets start to understand how you can make your life easier by managing you css file. At &lt;a href="http://www.cssaglobal.com/" target="" _blank=""&gt;CSSAGlobal&lt;/a&gt; we strictly follow this. Now first of all it is more important to think of all the inner pages, layouts, reusable factors while generating HTML (at least home page) &amp;amp; main CSS file out of your Photoshop or any other template file. This kind of attitude lacks in new comers. They might think of that individual page only &amp;amp; create CSS accordingly &amp;amp; may not able to do optimize the code. So understanding basic things like difference between a static website &amp;amp; a dynamic one might help us. Now see the following categorization. You might not understand what exactly this is unless you completely read the article.&lt;/p&gt;&lt;br /&gt;&lt;ul style="margin: 0pt; padding: 0pt; list-style-type: circle; list-style-image: none; list-style-position: inside;"&gt;&lt;li style="margin: 0pt; padding: 0pt;"&gt;Global declarations = &lt;span style="font-weight: bold;"&gt;GENERIC&lt;/span&gt;&lt;/li&gt;&lt;li style="margin: 0pt; padding: 0pt;"&gt;H1 TO H6 styling = &lt;span style="font-weight: bold;"&gt;HEAD&lt;/span&gt;&lt;/li&gt;&lt;li style="margin: 0pt; padding: 0pt;"&gt;Changeable content = &lt;span style="font-weight: bold;"&gt;CONTENT&lt;/span&gt;&lt;/li&gt;&lt;li style="margin: 0pt; padding: 0pt;"&gt;Navigations / listings = &lt;span style="font-weight: bold;"&gt;NAVS&lt;/span&gt;&lt;/li&gt;&lt;li style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-weight: bold;"&gt;Modules = ARTICLE&lt;/span&gt;&lt;/li&gt;&lt;li style="margin: 0pt; padding: 0pt;"&gt;Plain bg colors = &lt;span style="font-weight: bold;"&gt;BGS&lt;/span&gt;&lt;/li&gt;&lt;li style="margin: 0pt; padding: 0pt;"&gt;Gradients = &lt;span style="font-weight: bold;"&gt;GRADS&lt;/span&gt;&lt;/li&gt;&lt;li style="margin: 0pt; padding: 0pt;"&gt;Borders = &lt;span style="font-weight: bold;"&gt;BORDERS&lt;/span&gt;&lt;/li&gt;&lt;li style="margin: 0pt; padding: 0pt;"&gt;Visual containers = &lt;span style="font-weight: bold;"&gt;ROUNDS&lt;/span&gt;&lt;/li&gt;&lt;li style="margin: 0pt; padding: 0pt;"&gt;Text, fonts, = &lt;span style="font-weight: bold;"&gt;TEXTALL&lt;/span&gt;&lt;/li&gt;&lt;li style="margin: 0pt; padding: 0pt;"&gt;Form, input = &lt;span style="font-weight: bold;"&gt;INPUT&lt;/span&gt;&lt;/li&gt;&lt;li style="margin: 0pt; padding: 0pt;"&gt;Footer = &lt;span style="font-weight: bold;"&gt;FOOTER&lt;/span&gt;&lt;/li&gt;&lt;li style="margin: 0pt; padding: 0pt;"&gt;Miscellaneous = &lt;span style="font-weight: bold;"&gt;MISC&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;Categorize your css into few sections like above. This comment will appear on top of your css file. After this comment you can start writing for your css file.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;First of all, you may need to declare some global settings or declarations in order to set a look &amp;amp; feel throughout all the pages of a website. Eg. Font, text colors, Link colors, Line heights for paragraphs. So this section will have a name “GENERIC”.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;code&gt;/* BODY, FONT AND COLOR, GLOBAL (id=&lt;span style="font-weight: bold;"&gt;GENERIC&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;**********************************************************/&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;code&gt;body {font:normal 11px Arial; color:#000000; text-align:left; background:url(../images/bigger-project-holder.jpg) top no-repeat center;}&lt;br /&gt;&lt;br /&gt;body,form,h1,h2,h3,h4,h5,h6,p {padding:0; margin:0;}&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;amp; so on all the global declarations.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Then you ma start with main container div &amp;amp; header div styling&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;code&gt;/* BODY WRAPPER / HEADER / TOP MENU (id=&lt;span style="font-weight: bold;"&gt;HEAD&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;**********************************************************/&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;code&gt;#mainWrapper {margin:0 auto; width:960px;}&lt;br /&gt;#header {width:100%; padding-top:10px;}&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;amp; so on for others…&lt;/p&gt;&lt;br /&gt;&lt;p&gt;like wise for each section you can denote an ID, place it to the end of the small description.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Like wise I have categorized it for h1 to h6 elements, borders, form tags, visual containers for example rounded corner expandable tables, gradient backgrounds, plain backgrounds &amp;amp; then modules like Calenders, Latest update news where you need to write css for that individual module.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Now we all know a designer creates main css file &amp;amp; fewer html pages. But some times according to programming requirements, you need to tweak this css a little. After a long span of time you may now remember which class or an id you have written for one particular purpose. Here the top commented declaration helps you to go to exact number line, because you have already categorized your css.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Check out some examples..&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;code&gt;/* ALL TEXT CSS (id=&lt;span style="font-weight: bold;"&gt;TEXTAll&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;**********************************************************/&lt;br /&gt;&lt;br /&gt;/* font SIZES */&lt;br /&gt;.vsmlTxt                       {font-size:10px;}&lt;br /&gt;.smlTxt                  {font-size:11px;}&lt;br /&gt;.para                                 {font-size:12px;}&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;code&gt;/* ALL INPUT &amp;amp; FORM CLASSES    (id=&lt;span style="font-weight: bold;"&gt;INPUT&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;**********************************************************/&lt;br /&gt;&lt;br /&gt;.input                         {background:url(../images/input.gif) repeat-x top; border:1px solid #666666; padding:3px;}&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Let me know if you like this kind of approach or not..!&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Some of the website examples done using same strategy&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.cssaglobal.com/demos/html/newenglandvibe/" target="_blank"&gt;http://www.cssaglobal.com/demos/html/newenglandvibe/&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.cssaglobal.com/demos/html/redandsilver/" target="_blank"&gt;http://www.cssaglobal.com/demos/html/redandsilver/&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.cssaglobal.com/demos/html/schlagmich/" target="_blank"&gt;http://www.cssaglobal.com/demos/html/schlagmich/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.cssaglobal.com/demos/html/schlagmich/" target="_blank"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;Some live websites as&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.drivelocker.com/"&gt;www.drivelocker.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.favorask.com/"&gt;www.favorask.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.boondogglen.com/"&gt;www.boondogglen.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.hiremycoder.com/"&gt;www.hiremycoder.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.idcs.usa.org/"&gt;www.idcs.usa.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.styledout.com/"&gt;www.styledout.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.suturemd.com/"&gt;www.suturemd.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5632709848824800889-2285772245328398851?l=surajnaikin.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Surajnaikin/~4/dhmT1Jh_6cg" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Surajnaikin/~3/dhmT1Jh_6cg/how-to-manage-your-style-sheet.html</link><author>noreply@blogger.com (surajnaikin)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">13</thr:total><feedburner:origLink>http://surajnaikin.blogspot.com/2008/07/how-to-manage-your-style-sheet.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5632709848824800889.post-3035248720759684570</guid><pubDate>Mon, 09 Jun 2008 16:31:00 +0000</pubDate><atom:updated>2008-06-09T09:33:50.443-07:00</atom:updated><title>Some social networking websites..</title><description>I have taken some efforts to list out some social networking websites..&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cssaglobal.com/demos/html/sns/"&gt;http://www.cssaglobal.com/demos/html/sns/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;please go through this &amp;amp; enjoy..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5632709848824800889-3035248720759684570?l=surajnaikin.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Surajnaikin/~4/olFetMZtBLA" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Surajnaikin/~3/olFetMZtBLA/some-social-networking-websites.html</link><author>noreply@blogger.com (surajnaikin)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://surajnaikin.blogspot.com/2008/06/some-social-networking-websites.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5632709848824800889.post-4431891865044720139</guid><pubDate>Sun, 04 May 2008 10:23:00 +0000</pubDate><atom:updated>2008-05-04T04:44:38.426-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">graphic design</category><title>new css rule we can add in next css version</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_LsQWPU8vSMA/SB2X74jA39I/AAAAAAAAAA8/doZIjUE_d_Y/s1600-h/visual-container.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_LsQWPU8vSMA/SB2X74jA39I/AAAAAAAAAA8/doZIjUE_d_Y/s320/visual-container.gif" alt="" id="BLOGGER_PHOTO_ID_5196476600102739922" border="0" /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;p&gt;Well this workout is all about creating visual containers, which we often use for creating web pages. Consider a case where in there is a web page with various visual container like above image. Now With current version of css &amp;amp; browser compatibility, at last what we can do is create three separate images &amp;amp; using them as background image or either we can even use css sprites.&lt;/p&gt;
&lt;br /&gt;&lt;p&gt;But can we put it this way. I have considered a image format (may be adobe can come up with this) which can save images like above with layers &amp;amp; the browsers (or say other computer program)  starts  understanding them pretty well &amp;amp; if we can come up with a css version where in we can write the following code. (I have slightly offset the images in order to see the layers)&lt;/p&gt;
&lt;br /&gt;&lt;p&gt;
&lt;br /&gt;&lt;span&gt;&lt;strong&gt;First layer for the first visual container&lt;/strong&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;.myVisualContianerOne {background-image:url(../images/visual-container.gif) center top no-repeat; background-image-layer-position:top;}&lt;/p&gt;
&lt;br /&gt;&lt;p&gt;&lt;span&gt;&lt;strong&gt;Second layer for the second visual container&lt;/strong&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;.myVisualContianerTwo {background-image:url(../images/visual-container.gif) center top no-repeat; background-image-layer-position:middle;}&lt;/p&gt;
&lt;br /&gt;&lt;p&gt;
&lt;br /&gt;&lt;span&gt;&lt;strong&gt;Third layer for the third visual container&lt;/strong&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;.myVisualContianerThr {background-image:url(../images/visual-container.gif) center top no-repeat; background-image-layer-position:bottom;}&lt;/p&gt;
&lt;br /&gt;&lt;p&gt;
&lt;br /&gt;&lt;/p&gt;&lt;h2&gt;How this workout will be helpful&lt;/h2&gt;
&lt;br /&gt;&lt;ol&gt;
&lt;br /&gt;&lt;li&gt;It is beneficial in order to reduce the no of images required for visual Containers&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 10"&gt;&lt;meta name="Originator" content="Microsoft Word 10"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;.&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman";} &lt;/style&gt; &lt;![endif]--&gt;&lt;/li&gt;
&lt;br /&gt;&lt;li&gt;Reducing the HTTP requests to server.&lt;/li&gt;
&lt;br /&gt;&lt;li&gt;Lesser download time&lt;/li&gt;
&lt;br /&gt;&lt;/ol&gt; &lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5632709848824800889-4431891865044720139?l=surajnaikin.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Surajnaikin/~4/t6i7EjQ9P8I" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Surajnaikin/~3/t6i7EjQ9P8I/new-css-rule-we-can-add-in-next-css.html</link><author>noreply@blogger.com (surajnaikin)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_LsQWPU8vSMA/SB2X74jA39I/AAAAAAAAAA8/doZIjUE_d_Y/s72-c/visual-container.gif" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://surajnaikin.blogspot.com/2008/05/new-css-rule-we-can-add-in-next-css.html</feedburner:origLink></item></channel></rss>
