<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6129124813937839383</atom:id><lastBuildDate>Thu, 12 Sep 2024 06:13:25 +0000</lastBuildDate><category>CSS</category><category>Cascading Style Sheets</category><category>Style Sheets</category><category>css presentation</category><category>css properties</category><category>Data Formats</category><category>HTML</category><category>Website</category><category>css layout</category><category>Android</category><category>Blackberry</category><category>CSS - important rules</category><category>CSS Author</category><category>CSS Debugging</category><category>CSS Diagnostics</category><category>CSS Troubleshooting</category><category>CSS User</category><category>CSS User Agent</category><category>CSS import</category><category>CSS important</category><category>CSS link</category><category>CSS rounded corners</category><category>CSS three bigs</category><category>Cascade Order</category><category>External css</category><category>Firebug</category><category>Firebug Lite</category><category>Firefox Addon</category><category>Font</category><category>Hypertext Transfer Protocol</category><category>Inline css</category><category>Internet Explorer 6</category><category>Ipad</category><category>Iphone</category><category>JQuery</category><category>JQuery CSS</category><category>JQuery Plugins</category><category>Microsoft</category><category>Portable Network Graphics</category><category>Sprite</category><category>Tutorials</category><category>Web design</category><category>carriage return</category><category>character space</category><category>css blockquotes</category><category>css clip</category><category>css text style</category><category>css white-space</category><category>embedded css</category><category>inherit</category><category>lanscape view</category><category>line feed</category><category>nowrap</category><category>portrait veiw</category><category>pre-line</category><category>prewrap</category><category>tab</category><category>webpage lyout</category><title>CSS Tips</title><description>For CSS tips and tricks and free css codes with detailed discussion visit and follow cssuniverse.blogspot.com</description><link>http://cssuniverse.blogspot.com/</link><managingEditor>noreply@blogger.com (Zain)</managingEditor><generator>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><language>en-us</language><itunes:explicit>no</itunes:explicit><copyright>All right reserved to ansarizulqarnain@gmail.com</copyright><itunes:image href="http://lh3.ggpht.com/_I0l7TBUHy_s/Sg1TyL5Vt4I/AAAAAAAAAVM/i8SHw3pmXRI/s144/Formulatrix.png"/><itunes:keywords>css,css1,0,css2,0,css3,0,css4,0,css,sprites,css,table,of,content,css,articles,xhtml,w3c,valid,code,designing,template,theme,jquery,css,worpress,blogspot,css,yui,css,advance,css</itunes:keywords><itunes:summary>css articles with free download source code</itunes:summary><itunes:subtitle>designing with css</itunes:subtitle><itunes:category text="Arts"><itunes:category text="Visual Arts"/></itunes:category><itunes:author>zain ansari</itunes:author><itunes:owner><itunes:email>noreply@blogger.com</itunes:email><itunes:name>zain ansari</itunes:name></itunes:owner><xhtml:meta content="noindex" name="robots" xmlns:xhtml="http://www.w3.org/1999/xhtml"/><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-5428602826096257376</guid><pubDate>Mon, 19 Jul 2010 14:32:00 +0000</pubDate><atom:updated>2010-07-19T11:46:49.575-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Android</category><category domain="http://www.blogger.com/atom/ns#">Blackberry</category><category domain="http://www.blogger.com/atom/ns#">Ipad</category><category domain="http://www.blogger.com/atom/ns#">Iphone</category><category domain="http://www.blogger.com/atom/ns#">lanscape view</category><category domain="http://www.blogger.com/atom/ns#">portrait veiw</category><category domain="http://www.blogger.com/atom/ns#">webpage lyout</category><title>Design iPhone, Android, Blackberry and iPad web page interfaces using CSS media queries</title><description>1) Include the following DTD &lt;br /&gt;&lt;b&gt;&lt;i&gt;&amp;lt; !DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd" &amp;gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;2) Include meta tag &lt;b&gt;&lt;i&gt;&amp;lt; meta name="viewport" content="initial-scale=1.0" &amp;gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;3) than u need media queries for portrait version and landscape version against the main classes which sets your main width.&lt;br /&gt;these are called media queries.&lt;br /&gt;&lt;br /&gt;For instance, Referring to my code I added following code in bottom area of my CSS&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;@media only screen and (max-width: 999px) {&lt;br /&gt; /* rules that only apply for canvases narrower than 1000px */&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;@media only screen and (device-width: 768px) and (orientation: landscape) {&lt;br /&gt; /* rules for iPad in landscape orientation */&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {&lt;br /&gt; /* iPhone, Android, Blackberry rules here */&lt;br /&gt;}&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Enjoy HTML and CSS powers for layout presentation</description><link>http://cssuniverse.blogspot.com/2010/07/design-iphone-android-blackberry-and.html</link><thr:total>1</thr:total><author>noreply@blogger.com (zain ansari)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-3664289495218645267</guid><pubDate>Mon, 22 Jun 2009 12:05:00 +0000</pubDate><atom:updated>2009-06-22T05:12:34.609-07:00</atom:updated><title>YUI css - UML Diagram</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZlmh1Y-NWorsxhBJS0Yn0KK7hKZ0No_EKk0_Sln39G8ffN0NMwktXvFMKJYgl_GEg50QSo_XdXvFJ_uLAReNGVbOSRkBbcx-PfK88dIivzzPCRenL9zFbt-Dv-KtlyyvO2muh55q1VKBP/s1600-h/YUI-UML.png" target="_blank"&gt;&lt;img style="cursor: pointer; width: 400px; height: 263px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZlmh1Y-NWorsxhBJS0Yn0KK7hKZ0No_EKk0_Sln39G8ffN0NMwktXvFMKJYgl_GEg50QSo_XdXvFJ_uLAReNGVbOSRkBbcx-PfK88dIivzzPCRenL9zFbt-Dv-KtlyyvO2muh55q1VKBP/s400/YUI-UML.png" alt="" id="BLOGGER_PHOTO_ID_5350122292330462978" border="0" /&gt;&lt;/a&gt;</description><link>http://cssuniverse.blogspot.com/2009/06/yui-uml-diagram.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZlmh1Y-NWorsxhBJS0Yn0KK7hKZ0No_EKk0_Sln39G8ffN0NMwktXvFMKJYgl_GEg50QSo_XdXvFJ_uLAReNGVbOSRkBbcx-PfK88dIivzzPCRenL9zFbt-Dv-KtlyyvO2muh55q1VKBP/s72-c/YUI-UML.png" width="72"/><thr:total>1</thr:total><author>noreply@blogger.com (zain ansari)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-1110073770225471735</guid><pubDate>Mon, 22 Jun 2009 11:57:00 +0000</pubDate><atom:updated>2009-06-22T04:57:06.925-07:00</atom:updated><title/><description>&lt;img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bHQ9MTI*NTY3MTc3OTI3NyZwdD*xMjQ1NjcxODE3MzI2JnA9MTAxOTEmZD1zc19lbWJlZCZuPWJsb2dnZXImZz*yJnQ9Jm89NWY1Mjc5MDAwOGZlNGU2MmJlMGI1NWJjNTMzNzg3Njgmb2Y9MA==.gif" /&gt;&lt;div style="width:425px;text-align:left" id="__ss_990405"&gt;&lt;a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/stubbornella/object-oriented-css?type=presentation" title="Object Oriented CSS"&gt;Object Oriented CSS&lt;/a&gt;&lt;object style="margin:0px" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=oocss-1233786987806904-3&amp;stripped_title=object-oriented-css" /&gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;param name="allowScriptAccess" value="always"/&gt;&lt;embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=oocss-1233786987806904-3&amp;stripped_title=object-oriented-css" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;"&gt;View more &lt;a style="text-decoration:underline;" href="http://www.slideshare.net/"&gt;PDF documents&lt;/a&gt; from &lt;a style="text-decoration:underline;" href="http://www.slideshare.net/stubbornella"&gt;Nicole Sullivan&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;</description><link>http://cssuniverse.blogspot.com/2009/06/object-oriented-css-view-more-pdf.html</link><thr:total>0</thr:total><author>noreply@blogger.com (zain ansari)</author><enclosure length="3332" type="application/x-shockwave-flash" url="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=oocss-1233786987806904-3&amp;stripped_title=object-oriented-css"/><itunes:explicit>no</itunes:explicit><itunes:subtitle>Object Oriented CSSView more PDF documents from Nicole Sullivan.</itunes:subtitle><itunes:author>zain ansari</itunes:author><itunes:summary>Object Oriented CSSView more PDF documents from Nicole Sullivan.</itunes:summary><itunes:keywords>css,css1,0,css2,0,css3,0,css4,0,css,sprites,css,table,of,content,css,articles,xhtml,w3c,valid,code,designing,template,theme,jquery,css,worpress,blogspot,css,yui,css,advance,css</itunes:keywords></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-1041335851532872427</guid><pubDate>Thu, 11 Jun 2009 09:24:00 +0000</pubDate><atom:updated>2009-06-11T09:29:20.689-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Cascading Style Sheets</category><category domain="http://www.blogger.com/atom/ns#">css blockquotes</category><category domain="http://www.blogger.com/atom/ns#">css layout</category><category domain="http://www.blogger.com/atom/ns#">css presentation</category><category domain="http://www.blogger.com/atom/ns#">css properties</category><category domain="http://www.blogger.com/atom/ns#">css text style</category><title>blockquotes CSS</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://sites.google.com/site/expertsdesksite/Home/css-blockquote/bq.zip"&gt;&lt;img style="cursor: pointer; width: 395px; height: 102px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4sL4mHa3LQGsoioWaYfdbadSFP0btFYZY9rv4Es99gwqFzqJpsdFs9yDf443UoqIihQ87GhBSm3J5g3NuS0IOBs1PEpx0TRHfLKkxiZR5KwmbZHLM1tUkcPZv01T4rG6UPd0VJKBhx3w_/s400/Untitled-1.gif" alt="" id="BLOGGER_PHOTO_ID_5346001986542641010" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Source Code is:&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;background:#efefef;"  &gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;style&amp;gt;&lt;br /&gt;blockquote{background:transparent url(quoleft.gif) left top no-repeat;}&lt;br /&gt;blockquote .blockDiv{padding:0 48px;background:transparent url(quoright.gif) right bottom no-repeat;}&lt;br /&gt;.blockDiv{width:300px;font:11px/1.1em Arial, Helvetica, sans-serif;color:#777;text-align:justify;}&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;body&gt;&amp;gt;&lt;br /&gt;  &amp;lt;blockquote cite="http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.1"&amp;gt;&lt;br /&gt;      &amp;lt;div class="blockDiv"&amp;gt;&lt;br /&gt;           Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;br /&gt;       &amp;lt;/div&amp;gt;&lt;br /&gt;   &amp;lt;/blockquote&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sites.google.com/site/expertsdesksite/Home/css-blockquote/bq.zip"&gt;Download the blockquote source code from here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There’s a simple trick at work here. CSS backgrounds are extremely powerful but in CSS2 only one background can be applied to any single element. The blockquote effect requires two background images, one for the quote mark on the left hand side and one for the one on the right. The additional nested &amp;lt;div&amp;gt; &amp;lt;/div&amp;gt; allows us to do this, by applying one background image to the &amp;lt;blockquote&amp;gt;&amp;lt;/blockquote&amp;gt; and one to the &amp;lt;div&amp;gt; &amp;lt;/div&amp;gt;.&lt;br /&gt;&lt;br /&gt;The padding is applied to the &amp;lt;div&amp;gt; &amp;lt;/div&amp;gt; rather than the &amp;lt;blockquote&amp;gt;&amp;lt;/blockquote&amp;gt; because the &amp;lt;div&amp;gt; &amp;lt;/div&amp;gt; needs to stretch the entire width of the &amp;lt;blockquote&amp;gt;&amp;lt;/blockquote&amp;gt; in order for the background image to appear in the right place. The images are 38 pixels wide, so a padding is applied to the left and right hand sides of the &amp;lt;div&amp;gt; &amp;lt;/div&amp;gt; to allow space for the images and give an extra 10 pixels of whitespace.&lt;br /&gt;&lt;br /&gt;You can see the technique being used by &lt;a href="http://sites.google.com/site/expertsdesksite/Home/css-blockquote/bq.zip"&gt;downloading the free source code from here&lt;/a&gt;.</description><link>http://cssuniverse.blogspot.com/2009/06/blockquotes-css.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4sL4mHa3LQGsoioWaYfdbadSFP0btFYZY9rv4Es99gwqFzqJpsdFs9yDf443UoqIihQ87GhBSm3J5g3NuS0IOBs1PEpx0TRHfLKkxiZR5KwmbZHLM1tUkcPZv01T4rG6UPd0VJKBhx3w_/s72-c/Untitled-1.gif" width="72"/><thr:total>0</thr:total><author>noreply@blogger.com (zain ansari)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-2172287580201626440</guid><pubDate>Thu, 21 May 2009 08:48:00 +0000</pubDate><atom:updated>2009-05-21T02:51:42.644-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">carriage return</category><category domain="http://www.blogger.com/atom/ns#">character space</category><category domain="http://www.blogger.com/atom/ns#">CSS</category><category domain="http://www.blogger.com/atom/ns#">css presentation</category><category domain="http://www.blogger.com/atom/ns#">css properties</category><category domain="http://www.blogger.com/atom/ns#">css white-space</category><category domain="http://www.blogger.com/atom/ns#">inherit</category><category domain="http://www.blogger.com/atom/ns#">line feed</category><category domain="http://www.blogger.com/atom/ns#">nowrap</category><category domain="http://www.blogger.com/atom/ns#">pre-line</category><category domain="http://www.blogger.com/atom/ns#">prewrap</category><category domain="http://www.blogger.com/atom/ns#">tab</category><title>CSS Property: white-space</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;div class="topiccontent"&gt;&lt;br /&gt;&lt;div class="section"&gt;&lt;h2 class="sectiontitle"&gt;&lt;small&gt;White Space &lt;small&gt;&lt;small&gt;&lt;small&gt;&lt;small&gt;(CSS Property) - white-space: { normal  |  nowrap  |  pre  |  pre-line  |  pre-wrap  |  inherit  };&lt;/small&gt;&lt;/small&gt;&lt;/small&gt;&lt;/small&gt;&lt;/small&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2 class="sectiontitle"&gt;&lt;small&gt;Description&lt;/small&gt;&lt;/h2&gt;&lt;p&gt;This property controls the handling of whitespace inside an element. &lt;b&gt;&lt;dfn class="firstterm"&gt;Whitespace&lt;/dfn&gt;&lt;/b&gt; is a collective name for one or more occurrences of the characters space, tab, line feed, carriage return, and form feed. Typically, within an HTML element, user agents will collapse a sequence of whitespace characters into a single space character.&lt;/p&gt;Note that this property only handles whitespace characters; a common beginner’s mistake is to try to use it to prevent floated elements from dropping down if there isn’t enough room on a&lt;br /&gt;   line.&lt;/div&gt;&lt;div class="example"&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;h2 class="sectiontitle"&gt;&lt;small&gt;Example&lt;/small&gt;&lt;/h2&gt;&lt;p&gt;This style rule makes elements that belong to the &lt;code class="attvalue"&gt;"poetry"&lt;/code&gt; class retain and render all&lt;br /&gt;   whitespace in the document markup:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;code class="css"&amp;gt;.poetry {&lt;br /&gt; white-space: pre;&lt;br /&gt;}&amp;lt;/code&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section"&gt;&lt;h2 class="sectiontitle"&gt;&lt;small&gt;Value&lt;/small&gt;&lt;/h2&gt;&lt;dl&gt;&lt;dt class="dlterm"&gt;&lt;code class="cssvalue"&gt;normal&lt;/code&gt;&lt;/dt&gt;&lt;dd&gt;A value of &lt;code class="cssvalue"&gt;normal&lt;/code&gt; dictates that sequences&lt;br /&gt;         of whitespace will collapse into a single space character. Line&lt;br /&gt;         breaks will occur wherever necessary to fill line boxes.&lt;/dd&gt;&lt;dt class="dlterm"&gt;&lt;code class="cssvalue"&gt;nowrap&lt;/code&gt;&lt;/dt&gt;&lt;dd&gt;Specifying &lt;code class="cssvalue"&gt;nowrap&lt;/code&gt; ensures that sequences of&lt;br /&gt;         whitespace will collapse into a single space character, but line&lt;br /&gt;         breaks will be suppressed.&lt;/dd&gt;&lt;dt class="dlterm"&gt;&lt;code class="cssvalue"&gt;pre&lt;/code&gt;&lt;/dt&gt;&lt;dd&gt;Specifying &lt;code class="cssvalue"&gt;pre&lt;/code&gt; ensures that sequences of&lt;br /&gt;         whitespace won’t collapse. Lines are only broken at new lines in the&lt;br /&gt;         markup (or at occurrences of &lt;code class="cssvalue"&gt;"\a"&lt;/code&gt; in generated&lt;br /&gt;         content).&lt;/dd&gt;&lt;dt class="dlterm"&gt;&lt;code class="cssvalue"&gt;pre-line&lt;/code&gt;&lt;/dt&gt;&lt;dd&gt;This value will cause sequences of whitespace to collapse into a&lt;br /&gt;         single space character. Line breaks will occur wherever necessary to&lt;br /&gt;         fill line boxes, and at new lines in the markup (or at occurrences&lt;br /&gt;         of &lt;code class="cssvalue"&gt;"\a"&lt;/code&gt; in generated content). In other words,&lt;br /&gt;         it’s like &lt;code class="cssvalue"&gt;normal&lt;/code&gt; except that it’ll honor&lt;br /&gt;         explicit line breaks.&lt;/dd&gt;&lt;dt class="dlterm"&gt;&lt;code class="cssvalue"&gt;pre-wrap&lt;/code&gt;&lt;/dt&gt;&lt;dd&gt;Specify &lt;code class="cssvalue"&gt;pre-wrap&lt;/code&gt; to ensure that sequences&lt;br /&gt;         of whitespace won’t collapse. Line breaks will occur wherever&lt;br /&gt;         necessary to fill line boxes, and at new lines in the markup (or at&lt;br /&gt;         occurrences of &lt;code class="cssvalue"&gt;"\a"&lt;/code&gt; in generated content). In&lt;br /&gt;         other words, it’s like &lt;code class="cssvalue"&gt;pre&lt;/code&gt; except that it’ll&lt;br /&gt;         wrap the text at the end of line boxes.&lt;/dd&gt;&lt;/dl&gt;&lt;/div&gt;&lt;div class="section" id="compatibilitysection"&gt;&lt;h2 class="sectiontitle"&gt;&lt;small&gt;Compatibility&lt;/small&gt;&lt;/h2&gt;&lt;p&gt;Internet Explorer: 5.5,6.0.7.0 (Partial)&lt;/p&gt;&lt;p&gt;Firefox 1.0,2.0,3.0 (Partial)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Safari 1.3,2.0,3.0 (Full)&lt;/p&gt;&lt;p&gt;Opera 9.2 (Partial) ,9.5 (Full)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Internet Explorer for Windows versions up to and including 7 don’t support the values&lt;br /&gt;   &lt;code class="cssvalue"&gt;pre-line&lt;/code&gt; or &lt;code class="cssvalue"&gt;pre-wrap&lt;/code&gt;. The values &lt;code class="cssvalue"&gt;normal&lt;/code&gt; and &lt;code class="cssvalue"&gt;pre&lt;/code&gt; behave like &lt;code class="cssvalue"&gt;pre-wrap&lt;/code&gt; on &lt;code class="element"&gt;textarea&lt;/code&gt; elements. The value &lt;code class="cssvalue"&gt;nowrap&lt;/code&gt; behaves like &lt;code class="cssvalue"&gt;pre-line&lt;/code&gt; on &lt;code class="element"&gt;textarea&lt;/code&gt; elements.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Internet Explorer for Windows versions up to and including 7 don’t support the value &lt;code class="cssvalue"&gt;inherit&lt;/code&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Firefox versions up to and including 2 don’t support the values &lt;code class="cssvalue"&gt;pre-line&lt;/code&gt; and &lt;code class="cssvalue"&gt;pre-wrap&lt;/code&gt; (although &lt;code class="cssvalue"&gt;-moz-pre-wrap&lt;/code&gt; is similar to the latter). The values &lt;code class="cssvalue"&gt;normal&lt;/code&gt;, &lt;code class="cssvalue"&gt;nowrap&lt;/code&gt;, and &lt;code class="cssvalue"&gt;pre&lt;/code&gt; behave like &lt;code class="cssvalue"&gt;pre-wrap&lt;/code&gt; on &lt;code class="element"&gt;textarea&lt;/code&gt; elements.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Opera 9.2 and prior versions don’t support the value &lt;code class="cssvalue"&gt;pre-line&lt;/code&gt;. The values &lt;code class="cssvalue"&gt;normal&lt;/code&gt; and &lt;code class="cssvalue"&gt;pre&lt;/code&gt; behave like &lt;code class="cssvalue"&gt;pre-wrap&lt;/code&gt; on &lt;code class="element"&gt;textarea&lt;/code&gt; elements. The value &lt;code class="cssvalue"&gt;nowrap&lt;/code&gt; behaves like &lt;code class="cssvalue"&gt;pre-line&lt;/code&gt; on &lt;code class="element"&gt;textarea&lt;/code&gt; elements.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cssuniverse.blogspot.com/2009/05/css-property-white-space.html</link><thr:total>0</thr:total><author>noreply@blogger.com (zain ansari)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-1243203921884248728</guid><pubDate>Thu, 21 May 2009 07:29:00 +0000</pubDate><atom:updated>2009-05-21T02:32:31.229-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">css clip</category><category domain="http://www.blogger.com/atom/ns#">css properties</category><title>CSS Property - Clip</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;div class="topiccontent"&gt;&lt;br /&gt;&lt;div class="section"&gt;&lt;h2 class="sectiontitle"&gt;&lt;small&gt;Clip &lt;small&gt;&lt;small&gt;&lt;small&gt;&lt;small&gt;(CSS Property) - clip: {shape | auto | inherit};&lt;/small&gt;&lt;/small&gt;&lt;/small&gt;&lt;/small&gt;&lt;/small&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2 class="sectiontitle"&gt;&lt;small&gt;Description&lt;/small&gt;&lt;/h2&gt;&lt;p&gt;For all the absolutely positioned elements this property sets the clipping region. Any part of an element that would render outside the clipping region will be invisible. This includes the content of the element and its children, backgrounds, borders, outlines, and even any visible scrolling mechanism.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Clipping may be further influenced by any clipping regions that are set for the element’s ancestors, and whether or not those have a &lt;code class="cssprop"&gt;visibility&lt;/code&gt; property whose value is something other than &lt;code class="cssvalue"&gt;visible&lt;/code&gt;. Clipping may also occur at the edges of the browser window, or the margins of the paper (when printing).&lt;/p&gt;The default clipping region is a rectangle with the samedimensions as the element’s border box.&lt;br /&gt;&lt;/div&gt;&lt;div class="example"&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;h2 class="sectiontitle"&gt;&lt;small&gt;Example&lt;/small&gt;&lt;/h2&gt;&lt;p&gt;This style rule assigns a clipping region of 200×100 pixels for the element with ID &lt;code class="attvalue"&gt;"tunnel-vision"&lt;/code&gt;. The upper left-hand corner of the clipping region is at position (50,50) with respect to the element’s box:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;code class="css"&amp;gt;#tunnel-vision {&lt;br /&gt;width: 400px;&lt;br /&gt;height: 200px;&lt;br /&gt;clip: rect(50px, 250px, 150px,50px);&lt;br /&gt;}&amp;lt;/code&amp;gt;  &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section"&gt;&lt;h2 class="sectiontitle"&gt;&lt;small&gt;Value&lt;/small&gt;&lt;/h2&gt;&lt;p&gt;If the value is specified as &lt;code class="cssvalue"&gt;auto&lt;/code&gt;, no clipping will be applied.&lt;/p&gt;The only shape value that’s allowed in CSS2.1 is a rectangle, which must be specified using the &lt;code class="cssvalue"&gt;rect()&lt;/code&gt; functional notation. The function takes four comma-separated arguments—top, right, bottom, and left—in the usual TRouBLe order. Each argument is either &lt;code class="cssvalue"&gt;auto&lt;/code&gt; or a length, and negative length values are allowed. The top and bottom positions are relative to the top border edge of the element’s box. The left and right positions are relative to the left border edge in a left-to-right environment, or to the right border edge in a right-to-left environment. When specified as &lt;code class="cssvalue"&gt;auto&lt;/code&gt;, the position is that of the corresponding border edge.&lt;br /&gt;&lt;p&gt;Note that the interpretation of positions specified in the &lt;code class="cssvalue"&gt;rect()&lt;/code&gt; functional notation changed between CSS2 and CSS2.1. In CSS2, each value specified the offset from the corresponding border edge.&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;div id="compatibilitysection" class="section"&gt;&lt;h2 class="sectiontitle"&gt;&lt;small&gt;Compatibility&lt;/small&gt;&lt;/h2&gt;&lt;p&gt;Internet Explorer: 5.5,6.0.7.0 (Partial)&lt;/p&gt;&lt;p&gt;Firefox 1.0,2.0,3.0 (Full)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Safari 1.3,2.0,3.0 (Full)&lt;/p&gt;&lt;p&gt;Opera 9.2,9.5 (Full)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Internet Explorer for Windows versions up to and including 7 do not support the recommended&lt;br /&gt;syntax for the &lt;code class="cssvalue"&gt;rect()&lt;/code&gt; notation. However, they do support a deprecated syntax where the arguments are separated by whitespace rather than commas.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Internet Explorer for Windows versions up to and including 7 don’t support the value &lt;code class="cssvalue"&gt;inherit&lt;/code&gt;.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://cssuniverse.blogspot.com/2009/05/clip-css-property-clip-shape-auto.html</link><thr:total>1</thr:total><author>noreply@blogger.com (zain ansari)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-1836637083625489088</guid><pubDate>Tue, 12 May 2009 20:19:00 +0000</pubDate><atom:updated>2009-06-05T01:45:32.753-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Cascading Style Sheets</category><category domain="http://www.blogger.com/atom/ns#">CSS</category><category domain="http://www.blogger.com/atom/ns#">Hypertext Transfer Protocol</category><category domain="http://www.blogger.com/atom/ns#">Sprite</category><category domain="http://www.blogger.com/atom/ns#">Style Sheets</category><category domain="http://www.blogger.com/atom/ns#">Web design</category><category domain="http://www.blogger.com/atom/ns#">Website</category><title>CSS Sprites</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4ndnyXHM2kdzcH3aF2gj_TBNJ5cHROoeXeMLTZJ4PJ4TehelpzcRIn1L5eqY9UTBBnqmuPi_e8_iprSBKMUGi4zknMogYeb8bmK017EXP8r3qIPtlBMqgDURmpmO4lnc1JngVZj-N0xQi/s1600-h/image_nav.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 39px; height: 400px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4ndnyXHM2kdzcH3aF2gj_TBNJ5cHROoeXeMLTZJ4PJ4TehelpzcRIn1L5eqY9UTBBnqmuPi_e8_iprSBKMUGi4zknMogYeb8bmK017EXP8r3qIPtlBMqgDURmpmO4lnc1JngVZj-N0xQi/s400/image_nav.png" alt="" id="BLOGGER_PHOTO_ID_5335041194295460594" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;As a &lt;/span&gt;&lt;a style="font-weight: bold;" class="zem_slink" href="http://en.wikipedia.org/wiki/Web_design" title="Web design" rel="wikipedia"&gt;web designer&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;, Are you still slicing your images (icons, buttons, layout and mouse over images) and think that this slicing will make pages load faster.&lt;/span&gt; All that technique did was of dark ages of &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/World_Wide_Web" title="World Wide Web" rel="wikipedia"&gt;www&lt;/a&gt; and fool the eye to make it look like the page was loading faster by loading bits and pieces all over at once. Each one of those images is a separate HTTP-Request, and the more of those, the less efficient your page is.&lt;br /&gt;&lt;br /&gt;Let’s look at a quote from the article &lt;a href="http://yuiblog.com/blog/2006/11/28/performance-research-part-1/"&gt;“Performance Research, Part 1: What the 80/20 Rule Tells Us about Reducing HTTP Requests”&lt;/a&gt; by &lt;span style="font-weight: bold;"&gt;Tenni Theurer&lt;/span&gt; on the &lt;span style="font-weight: bold;"&gt;&lt;a class="zem_slink" href="http://www.yahoo.com/" title="Yahoo!" rel="homepage"&gt;Yahoo!&lt;/a&gt; &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/User_interface" title="User interface" rel="wikipedia"&gt;User Interface&lt;/a&gt; Blog&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Every single image, whether it’s an &lt;&gt; tag or an background-image from your &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets" title="Cascading Style Sheets" rel="wikipedia"&gt;CSS&lt;/a&gt; is a separate HTTP-Request, so you can image how quickly those requests can wrack up.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;So what are the CSS &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Sprite_%28computer_graphics%29" title="Sprite (computer graphics)" rel="wikipedia"&gt;Sprites&lt;/a&gt;?&lt;/span&gt; CSS &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Sprite_%28soft_drink%29" title="Sprite (soft drink)" rel="wikipedia"&gt;Sprite&lt;/a&gt; is a single image containing set of images used in &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Website" title="Website" rel="wikipedia"&gt;website&lt;/a&gt; the only thing is to place your image set in css sprite and on one image at a time and off all other images. The image will load at once instead of loading all images one by one and save not only HTTP requests but also total size of images. &lt;span style="font-size:130%;"&gt;&lt;a style="font-weight: bold;" href="http://sites.google.com/site/expertsdesksite/css-sprite/css-sprites.zip?attredirects=0"&gt;&lt;blockquote&gt;You can quickly preview the CSS-Sprite example in action by downloading the source code from here&lt;/blockquote&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;The comparison of old sliced images and this CSS-sprite images load time according to the above example is as follows.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;OLD Slicing technique (10 HTTP Requests, 21KB image size)&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;CSS Sprite Method (1 HTTP Request, 13KB image size)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"&gt;&lt;span class="zem-script more-related pretty-attribution"&gt;&lt;script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"&gt;&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;!-- Include the Google Friend Connect javascript library. --&gt;&lt;br /&gt;&lt;script type="text/javascript" src="http://www.google.com/friendconnect/script/friendconnect.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;!-- Define the div tag where the gadget will be inserted. --&gt;&lt;br /&gt;&lt;div id="div-2266626083988558133" style="border: 1px solid rgb(204, 204, 204); width: 100%;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;!-- Render the gadget into a div. --&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;br /&gt;var skin = {};&lt;br /&gt;skin['HEIGHT'] = '73';&lt;br /&gt;skin['BORDER_COLOR'] = '#cccccc';&lt;br /&gt;skin['ENDCAP_BG_COLOR'] = '#e0ecff';&lt;br /&gt;skin['ENDCAP_TEXT_COLOR'] = '#333333';&lt;br /&gt;skin['BUTTON_STYLE'] = 'modular';&lt;br /&gt;skin['BUTTON_TEXT'] = 'Recommend it!';&lt;br /&gt;skin['BUTTON_ICON'] = 'default';&lt;br /&gt;skin['BUTTON_MODULE_PROMO_TEXT'] = 'Did you like this page?';&lt;br /&gt;google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);&lt;br /&gt;google.friendconnect.container.renderOpenSocialGadget(&lt;br /&gt; { id: 'div-2266626083988558133',&lt;br /&gt;   url:'http://www.google.com/friendconnect/gadgets/recommended_pages.xml',&lt;br /&gt;   height: 73,&lt;br /&gt;   site: '07553354498496708146',&lt;br /&gt;   'view-params':{"pageUrl":location.href,"pageTitle":(document.title ? document.title : location.href),"docId":"recommendedPages"}&lt;br /&gt; },&lt;br /&gt;  skin);&lt;br /&gt;&lt;/script&gt;</description><link>http://cssuniverse.blogspot.com/2009/05/css-sprites.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4ndnyXHM2kdzcH3aF2gj_TBNJ5cHROoeXeMLTZJ4PJ4TehelpzcRIn1L5eqY9UTBBnqmuPi_e8_iprSBKMUGi4zknMogYeb8bmK017EXP8r3qIPtlBMqgDURmpmO4lnc1JngVZj-N0xQi/s72-c/image_nav.png" width="72"/><thr:total>4</thr:total><author>noreply@blogger.com (zain ansari)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-5286155790229033004</guid><pubDate>Fri, 08 May 2009 13:35:00 +0000</pubDate><atom:updated>2009-05-08T14:45:50.722-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Cascading Style Sheets</category><category domain="http://www.blogger.com/atom/ns#">CSS</category><category domain="http://www.blogger.com/atom/ns#">Data Formats</category><category domain="http://www.blogger.com/atom/ns#">Font</category><category domain="http://www.blogger.com/atom/ns#">HTML</category><category domain="http://www.blogger.com/atom/ns#">Style Sheets</category><category domain="http://www.blogger.com/atom/ns#">Tutorials</category><category domain="http://www.blogger.com/atom/ns#">Website</category><title>Clean CSS Writing</title><description>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;font-family:'Times New Roman';font-size:16;"  &gt;&lt;div   style="border-width: 0px; margin: 0px; padding: 3px; width: auto; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal; text-align: left;font-family:Georgia,serif;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre-wrap;font-family:Arial;font-size:13;"  &gt;&lt;div&gt;As a css designer.&lt;span style="font-weight: bold;"&gt; "How to write &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets" title="Cascading Style Sheets" rel="wikipedia"&gt;CSS&lt;/a&gt;"&lt;/span&gt; is a question from beginners but&lt;span style="font-weight: bold;"&gt; "How to write a Clean &amp;amp; optimized CSS"&lt;/span&gt; is a question often asked by the experts. Here is My coding style sample with the help of which you can understand and off course able to write the CSS in clean and optimized way and I also share some tips to clean your CSS after finalyzing your css code.&lt;/div&gt;&lt;div style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;Clean your CSS through code&lt;/span&gt;&lt;br /&gt;In case of huge websites I always use different css files for achieving different purposes (i.e. type.css, theme.css and default.css). But in case of small or medium &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Website" title="Website" rel="wikipedia"&gt;website&lt;/a&gt; in use only one css and segregate my css file into following areas / sections&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. global reset &lt;/span&gt;&lt;br /&gt;---------------------&lt;br /&gt;- Under this section, I always reset the box issues of IE by grouping the &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/HTML" title="HTML" rel="wikipedia"&gt;html&lt;/a&gt; box tags in the scene of padding, margins and &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Font" title="Font" rel="wikipedia"&gt;fonts&lt;/a&gt;.&lt;br /&gt;- Also I always apply same&lt;br /&gt;fonts&lt;br /&gt;colors&lt;br /&gt;boxes&lt;br /&gt;positioning &amp;amp;&lt;br /&gt;widths&lt;br /&gt;under this section by grouping the 3rd level &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Table_of_contents" title="Table of contents" rel="wikipedia"&gt;TOC&lt;/a&gt; classes i.e. In case of width .w100,#mHdr,#mMnu,#mCnt,#mFtr{Width:100%;}&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2. global hacks &lt;/span&gt;&lt;br /&gt;-----------------------&lt;br /&gt;The browser specific hacks which i have to use in almost every website include in this section i.e. &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Portable_Network_Graphics" title="Portable Network Graphics" rel="wikipedia"&gt;PNG&lt;/a&gt;-IE hack, hack for outlining, opacity and curves are placed here.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3. layout basic &lt;/span&gt;&lt;br /&gt;----------------------&lt;br /&gt;- The website first level TOC placed there i.e. wrapper, header, menu, content, news, footer e.t.c. &amp;amp; only floats, backgrounds and borders are entertained here.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4. layout deep &lt;/span&gt;&lt;br /&gt;----------------------&lt;br /&gt;- The website all levels TOC inclusive of first one which is already entertained in Layout Basic placed here i.e. In case of footer the main id is already defined in layout basic i.e #mFtr now I placed all child classes here&lt;br /&gt;A simple example for it is footer griding&lt;br /&gt;&lt;br /&gt;#mFtr .mnu (for footer menu container)&lt;br /&gt;#mFtr .mnu ul, #mFtr .mnu ul li (for footer menu styling treatment individually)&lt;br /&gt;#mFtr .mnu ul li a (footer menu links)&lt;br /&gt;&lt;br /&gt;#mFtr .cR (copyrighting area / Privacy policy or terms and conditions styling treatment)&lt;br /&gt;#mFtr .cR a (footer copyrighting links)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5. fonts &lt;/span&gt;&lt;br /&gt;-----------&lt;br /&gt;All fonts sizes, family and decorations are entertained here.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6. datasets&lt;/span&gt;&lt;br /&gt;----------------&lt;br /&gt;All datasets properties along with the hover effects and speeding effects are entertained under this section&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;7. forms&lt;/span&gt;&lt;br /&gt;------------&lt;br /&gt;This section is dedicated for the form elements. All form properties are entertained here.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CONCLUSION&lt;/span&gt;&lt;br /&gt;*****************&lt;br /&gt;Above &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Racial_segregation" title="Racial segregation" rel="wikipedia"&gt;segregation&lt;/a&gt; will help me to avoid redundancy and repetition of css code. for instance. I never use float:left / right in each and every class which is most common in practice instead of this i group all classes and apply the style float:left by this way a lot of extra css space is cleaned. Same in the case of widths, colors and font properties are applied. Also I never use font and color properties together in a class. Instead of this I always call both classes in my html so that i can use same font in different color or different colors in same fonts without making extra classes. NOTE that this is not only in the case of just fonts or colors. This is the main reason to utilize the sections defined above appropriately. In the end I always remove all comments and space areas by using dreamveaver find and replace option. css &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/White_space_%28visual_arts%29" title="White space (visual arts)" rel="wikipedia"&gt;white space&lt;/a&gt; optimization&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Clean your css after code&lt;/span&gt;&lt;br /&gt;You can check&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(51, 51, 51); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;font-family:Verdana;font-size:12;"  &gt; unused CSS selectors with the help of &lt;span style="font-weight: bold;"&gt;firefox extension&lt;/span&gt; &lt;/span&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/5392"&gt;https://addons.mozilla.org/en-US/firefox/addon/5392&lt;/a&gt;&lt;br /&gt;You can use csstidy to optimize and compress your css. You can download css tidy from &lt;a href="http://sourceforge.net/project/showfiles.php?group_id=148404&amp;amp;package_id=166585"&gt;http://sourceforge.net/project/showfiles.php?group_id=148404&amp;amp;package_id=166585&lt;/a&gt; OR you can use its online optimizer from &lt;a href="http://floele.flyspray.org/csstidy//css_optimiser.php"&gt;http://floele.flyspray.org/csstidy//css_optimiser.php&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;    &lt;div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"&gt;&lt;a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/2aae7c6c-4491-4d85-b500-f8a52278c73d/" title="Reblog this post [with Zemanta]"&gt;&lt;img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=2aae7c6c-4491-4d85-b500-f8a52278c73d" alt="Reblog this post [with Zemanta]" /&gt;&lt;/a&gt;&lt;span class="zem-script more-related pretty-attribution"&gt;&lt;script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"&gt;&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://cssuniverse.blogspot.com/2009/05/clean-css-writing.html</link><thr:total>6</thr:total><author>noreply@blogger.com (zain ansari)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-3017052313016232541</guid><pubDate>Tue, 28 Apr 2009 08:45:00 +0000</pubDate><atom:updated>2009-05-02T22:26:05.797-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Cascading Style Sheets</category><category domain="http://www.blogger.com/atom/ns#">CSS</category><category domain="http://www.blogger.com/atom/ns#">CSS Debugging</category><category domain="http://www.blogger.com/atom/ns#">CSS Diagnostics</category><category domain="http://www.blogger.com/atom/ns#">CSS Troubleshooting</category><category domain="http://www.blogger.com/atom/ns#">Firebug</category><category domain="http://www.blogger.com/atom/ns#">Firebug Lite</category><category domain="http://www.blogger.com/atom/ns#">Firefox Addon</category><title>CSS Troubleshooting</title><description>Many people asked me about &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets" title="Cascading Style Sheets" rel="wikipedia"&gt;CSS&lt;/a&gt; troubleshooting / debugging. This article is specifically written for those who are coding using DIV approach but facing issues and they don't know how to trouble shoot the issues.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;The first and simplistic method is using &lt;a class="zem_slink" href="http://www.adobe.com/products/dreamweaver" title="Adobe Dreamweaver" rel="homepage"&gt;Adobe Dreamweaver&lt;/a&gt; CSS Panel. Just click on your &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/HTML" title="HTML" rel="wikipedia"&gt;HTML&lt;/a&gt; code and you will able to find all &lt;a href="http://www.w3.org/TR/CSS2/selector.html"&gt;selectors &lt;/a&gt;and their values in CSS Panel. You can find CSS Panel from Menu Bar &amp;gt; windows &amp;gt; CSS Style (Shift + F11).&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Second Method is also a simple one, Use multi level selectors for defining outlines by uncommeting following code one by one/*  * { outline: 2px dotted red }&lt;br /&gt;&lt;br /&gt;/*  * { outline: 1px solid red }*/&lt;br /&gt;/*  * * { outline: 2px dotted green }*/&lt;br /&gt;/*  * * * { outline: 2px dotted orange }*/&lt;br /&gt;/*  * * * * { outline: 2px dotted blue }*/&lt;br /&gt;/*  * * * * * { outline: 1px solid red }*/&lt;br /&gt;/*  * * * * * * { outline: 1px solid green }*/&lt;br /&gt;/*  * * * * * * * { outline: 1px solid orange }*/&lt;br /&gt;/*  * * * * * * * * { outline: 1px solid blue }*/&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Third Method is commonly used by &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Web_design" title="Web design" rel="wikipedia"&gt;web designers&lt;/a&gt; and developers. "&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/60"&gt;Firefox Addon - Web Developer Toolkit&lt;/a&gt;" You can download it by following the link above &lt;a href="http://getfirebug.com/"&gt;&lt;/a&gt;. You can troubleshoot your CSS by enable / disable CSS OR Apply Border Function.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The most widely and my favorite one "&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/1843"&gt;Firefox Addon - Firebug&lt;/a&gt;", You can download it by following the link above OR visit its official &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Website" title="Website" rel="wikipedia"&gt;website&lt;/a&gt; to explore what can you do with firebug &lt;a href="http://getfirebug.com/"&gt;http://getfirebug.com/&lt;/a&gt;. You can check any website presentation, user behaviour code , edit it and can even duplicate it with the help of this tool. &lt;a class="zem_slink" href="http://maps.google.com/maps?ll=45.1238,-123.1138&amp;amp;spn=1.0,1.0&amp;amp;q=45.1238,-123.1138%20%28Mozilla%20Firefox%29&amp;amp;t=h" title="Mozilla Firefox" rel="geolocation"&gt;Firefox&lt;/a&gt; also have a Lite version for other browsers such as I.E, &lt;a class="zem_slink" href="http://www.opera.com" title="Opera Software" rel="homepage"&gt;Opera&lt;/a&gt; and &lt;a class="zem_slink" href="http://www.apple.com/safari/" title="Safari (web browser)" rel="homepage"&gt;Safari&lt;/a&gt; e.t.c you can download it from &lt;a href="http://getfirebug.com/lite.html"&gt;http://getfirebug.com/lite.html&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr73gf5wKv_vc9wXPtiQDy5tq1d9-NOmzb9tcKN5CKfd88SsFQUSKFZhRGLPFlraR6sTlZ1ZgbTuKy6ghjk4SPUZoj7Du4vX7wmnr6CwmBiNQPIinFZPCwRbkVt-4yXGr4VQHnU0PKLA0T/s1600-h/firebug-css-tip-start-html-inspector+copy.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 296px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr73gf5wKv_vc9wXPtiQDy5tq1d9-NOmzb9tcKN5CKfd88SsFQUSKFZhRGLPFlraR6sTlZ1ZgbTuKy6ghjk4SPUZoj7Du4vX7wmnr6CwmBiNQPIinFZPCwRbkVt-4yXGr4VQHnU0PKLA0T/s400/firebug-css-tip-start-html-inspector+copy.png" alt="" id="BLOGGER_PHOTO_ID_5329667732557357234" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMqk1dPpmEiWFV-9dd6Y_XXTReHMne-EokklHkM8fipstOcLOulg2M4wS7o2MYoombStO0boHSW9zGQuTnSe9_VKjfVVa2wN8deBkkqHZcumXaxOQ-nnbCwNabkdQEY4D3OBmNIgXDDwXn/s1600-h/firebug-css-bugfix-toggle.gif"&gt;&lt;img style="cursor: pointer; width: 400px; height: 304px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMqk1dPpmEiWFV-9dd6Y_XXTReHMne-EokklHkM8fipstOcLOulg2M4wS7o2MYoombStO0boHSW9zGQuTnSe9_VKjfVVa2wN8deBkkqHZcumXaxOQ-nnbCwNabkdQEY4D3OBmNIgXDDwXn/s400/firebug-css-bugfix-toggle.gif" alt="" id="BLOGGER_PHOTO_ID_5329667907776500626" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"&gt;&lt;a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/538c035e-64a2-4837-bfd8-a296a2e93fd0/" title="Reblog this post [with Zemanta]"&gt;&lt;img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=538c035e-64a2-4837-bfd8-a296a2e93fd0" alt="Reblog this post [with Zemanta]"&gt;&lt;/a&gt;&lt;span class="zem-script more-related pretty-attribution"&gt;&lt;script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"&gt;&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://cssuniverse.blogspot.com/2009/04/css-troubleshooting.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr73gf5wKv_vc9wXPtiQDy5tq1d9-NOmzb9tcKN5CKfd88SsFQUSKFZhRGLPFlraR6sTlZ1ZgbTuKy6ghjk4SPUZoj7Du4vX7wmnr6CwmBiNQPIinFZPCwRbkVt-4yXGr4VQHnU0PKLA0T/s72-c/firebug-css-tip-start-html-inspector+copy.png" width="72"/><thr:total>4</thr:total><author>noreply@blogger.com (zain ansari)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-8838918469209879887</guid><pubDate>Tue, 28 Apr 2009 08:29:00 +0000</pubDate><atom:updated>2009-04-28T02:26:31.415-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Cascade Order</category><category domain="http://www.blogger.com/atom/ns#">CSS Author</category><category domain="http://www.blogger.com/atom/ns#">CSS User</category><category domain="http://www.blogger.com/atom/ns#">CSS User Agent</category><title>The cascade</title><description>Style sheets may have three different origins: author, user, and user agent.&lt;br /&gt;&lt;br /&gt; &lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Author:&lt;/span&gt; The author specifies style sheets for a source document according to the conventions of the document language. For instance, in HTML, style sheets may be included in the document or linked externally.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;User:&lt;/span&gt; The user may be able to specify style information for a particular document. For example, the user may specify a file that contains a style sheet or the user agent may provide an interface that generates a user style sheet (or behaves as if it did).&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;User agent:&lt;/span&gt; Conforming user agents must apply a default style sheet (or behave as if they did). A user agent's default style sheet should present the elements of the document language in ways that satisfy general presentation expectations for the document language (e.g., for visual browsers, the EM element in HTML is presented using an italic font). See A sample style sheet for HTML for a recommended default style sheet for HTML documents.&lt;/li&gt;&lt;/ul&gt;     &lt;br /&gt;   &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;Note: &lt;/span&gt;that the user may modify system settings (e.g. system colors) that affect the default style sheet. However, some user agent implementations make it impossible to change the values in the default style sheet. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Style sheets from these three origins will overlap in scope, and they interact according to the cascade.&lt;br /&gt;&lt;br /&gt;The CSS cascade assigns a weight to each style rule. When several rules apply, the one with the greatest weight takes precedence.&lt;br /&gt;&lt;br /&gt;By default, rules in author style sheets have more weight than rules in user style sheets. Precedence is reversed, however, for "!important" rules. All user and author rules have more weight than rules in the UA's default style sheet.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Cascading Order&lt;/span&gt;&lt;br /&gt;To find the value for an element/property combination, user agents must apply the following sorting order:&lt;br /&gt;&lt;br /&gt; 1. Find all declarations that apply to the element and property in question, for the target media type. Declarations apply if the associated selector matches the element in question and the target medium matches the media list on all @media rules containing the declaration and on all links on the path through which the style sheet was reached.&lt;br /&gt; 2. Sort according to importance (normal or important) and origin (author, user, or user agent). In ascending order of precedence:&lt;br /&gt;       1. user agent declarations&lt;br /&gt;       2. user normal declarations&lt;br /&gt;       3. author normal declarations&lt;br /&gt;       4. author important declarations&lt;br /&gt;       5. user important declarations&lt;br /&gt; 3. Sort rules with the same importance and origin by specificity of selector: more specific selectors will override more general ones. Pseudo-elements and pseudo-classes are counted as normal elements and classes, respectively.&lt;br /&gt; 4. Finally, sort by order specified: if two declarations have the same weight, origin and specificity, the latter specified wins. Declarations in imported style sheets are considered to be before any declarations in the style sheet itself.&lt;br /&gt;&lt;br /&gt;Apart from the "!important" setting on individual declarations, this strategy gives author's style sheets higher weight than those of the reader. User agents must give the user the ability to turn off the influence of specific author style sheets, e.g., through a pull-down menu. Conformance to UAAG 1.0 checkpoint 4.14 satisfies this condition</description><link>http://cssuniverse.blogspot.com/2009/04/cascade.html</link><thr:total>0</thr:total><author>noreply@blogger.com (zain ansari)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-2567989502089316010</guid><pubDate>Mon, 27 Apr 2009 14:39:00 +0000</pubDate><atom:updated>2009-04-27T07:52:32.631-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Cascading Style Sheets</category><category domain="http://www.blogger.com/atom/ns#">CSS</category><category domain="http://www.blogger.com/atom/ns#">Data Formats</category><category domain="http://www.blogger.com/atom/ns#">HTML</category><category domain="http://www.blogger.com/atom/ns#">Internet Explorer 6</category><category domain="http://www.blogger.com/atom/ns#">Microsoft</category><category domain="http://www.blogger.com/atom/ns#">Portable Network Graphics</category><category domain="http://www.blogger.com/atom/ns#">Style Sheets</category><title/><description>A simple solution for &lt;a class="zem_slink" href="http://www.microsoft.com/windows/ie/ie6/" title="Internet Explorer 6" rel="homepage"&gt;IE6&lt;/a&gt; &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Portable_Network_Graphics" title="Portable Network Graphics" rel="wikipedia"&gt;PNG&lt;/a&gt; support is&lt;br /&gt;&lt;u&gt;&lt;b&gt;HTML Code:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&amp;lt div class="iePng_logo" id="ieBg"&amp;gt &amp;ltimg src="images/logo_png.png" class="ieHide" /&amp;gt &amp;lt/div&amp;gt&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;CSS Code:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;.iePng_logo {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/logo_png.png',sizingMethod='scale'); width:307px; height:34px;}&lt;br /&gt;.iePng {filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/screenshot.png',sizingMethod='scale'); width:438px; height:230px;}&lt;br /&gt;.ieHide {border:0 solid #fff; _display:none;}&lt;br /&gt;#ieBg {border:0;}&lt;br /&gt;&lt;br /&gt;You can check its working demo from the following &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Uniform_Resource_Locator" title="Uniform Resource Locator" rel="wikipedia"&gt;URL&lt;/a&gt;, Check top left logo in all browsers its transparent PNG, you can save it and check its &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Transparency_%28graphic%29" title="Transparency (graphic)" rel="wikipedia"&gt;transparency&lt;/a&gt;&lt;br /&gt;&lt;a href="http://expertsdesk.net/novotech/"&gt;http://expertsdesk.net/novotech/&lt;/a&gt;&lt;br /&gt;  &lt;div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"&gt;&lt;a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/9a0f3435-c904-42e5-8883-7b8346dcfe34/" title="Reblog this post [with Zemanta]"&gt;&lt;img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=9a0f3435-c904-42e5-8883-7b8346dcfe34" alt="Reblog this post [with Zemanta]" /&gt;&lt;/a&gt;&lt;span class="zem-script more-related pretty-attribution"&gt;&lt;script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"&gt;&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://cssuniverse.blogspot.com/2009/04/simple-solution-for-ie6-png-support-is.html</link><thr:total>0</thr:total><author>noreply@blogger.com (zain ansari)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-1852924660638370464</guid><pubDate>Fri, 24 Apr 2009 07:29:00 +0000</pubDate><atom:updated>2009-05-02T00:19:10.779-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Cascading Style Sheets</category><category domain="http://www.blogger.com/atom/ns#">CSS</category><category domain="http://www.blogger.com/atom/ns#">JQuery</category><category domain="http://www.blogger.com/atom/ns#">JQuery CSS</category><category domain="http://www.blogger.com/atom/ns#">JQuery Plugins</category><title>CSS for JQuery Plugins</title><description>jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. &lt;strong&gt;jQuery is designed to change the way that you write JavaScript.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;If you wanted to change the layout of JQuery plugins according to your design, then you have to  learn from where to search JQuery Plugins first&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Enter in JQuery world / Search for the most suitable plugins&lt;/span&gt;&lt;br /&gt;Open the JQuery official website from &lt;a href="http://jquery.com/"&gt;http://jquery.com/&lt;/a&gt; then click on plugins section from where you can search the appropriate plugin. The direct link for JQuery plugins is &lt;a href="http://plugins.jquery.com/"&gt;http://plugins.jquery.com/&lt;/a&gt;. Here you can find thousands of attractive plugins.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Explore and Preview the plugins in action&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;For instance we are searching for menu plugin. Enter in menu category or search menu from search box. You will find the list of JQuery menus.&lt;/li&gt;&lt;li&gt;Open differnet menus in new windows, Click on "Try out demonstration".&lt;/li&gt;&lt;li&gt;Here you will find the "Demonstration page", You can check the plugins output&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;"&gt;Download the Plugin and Understand the existing folder structure&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Follow the "Download Example" page to download the source code &lt;span style="font-style: italic;"&gt;(in zip format normally)&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Folder structure of the source code varies. But the common used folder structure of JQuery plugins is as follows&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;"index.html" / "demo.html" file&lt;/li&gt;&lt;li&gt;"css" folder includes the css of that particular plugin&lt;/li&gt;&lt;li&gt;"images" folder includes all the images used by the plugin and referent from HTML and/or CSS files&lt;br /&gt;&lt;/li&gt;&lt;li&gt;"include" / "js" folder this folder contains all javascripts used by that particular plugin, NOTE: Move Jquery.js (main file 1.1 - 1.3.2) if you are using multiple JQuery plugins from every plugins folder to some other location and refer all plugins to that file.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Embed the Plugin's Source code in your website&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Now copy the plugin folder to your root folder&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Considerable changes are &amp;lt head &amp;gt section for metadata reference locations&lt;/li&gt;&lt;li&gt;&amp;lt script &amp;gt section (embeded) if any&lt;/li&gt;&lt;li&gt;and &amp;lt div &amp;gt section (finally)&lt;/li&gt;&lt;/ol&gt;</description><link>http://cssuniverse.blogspot.com/2009/04/css-for-jquery-plugins.html</link><thr:total>2</thr:total><author>noreply@blogger.com (zain ansari)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-6716655442494268341</guid><pubDate>Thu, 23 Apr 2009 12:25:00 +0000</pubDate><atom:updated>2009-04-28T02:52:54.735-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">CSS - important rules</category><category domain="http://www.blogger.com/atom/ns#">CSS important</category><title>CSS - !important rules</title><description>Cascading Style Sheets cascade. This means that the styles are applied in order as they are read by the browser. The first style is applied and then the second and so on. What this means is that if a style appears at the top of a style sheet and then is changed lower down in the document, the second instance of that style will be the one applied, not the first. For example, in the following style sheet, the paragraph text will be black, even though the first style property applied is red:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;p { color: #ff0000; }&lt;/li&gt;&lt;li&gt; p { color: #000000; }&lt;/li&gt;&lt;/ul&gt;The !important rule is a way to make your CSS cascade but also have the rules you feel are most crucial always be applied. A rule that has the !important property will always be applied no matter where that rule appears in the CSS document. So if you wanted to make sure that a property always applied, you would add the !important property to the tag. So, to make the paragraph text always red, in the above example, you would write:&lt;ul&gt;&lt;li&gt;p { color: #ff0000 !important; }&lt;/li&gt;&lt;li&gt;p { color: #000000; }&lt;/li&gt;&lt;/ul&gt;NOTE: Do not use too many !important rules in your CSS this will cause unexpected issues in yuor HTML output. For instance If you had applied !important rule in &lt;p&gt; tag with color red and than you are assigning some container's &lt;/p&gt;&lt;p&gt; color green with !important rule applying in it  and in the end of CSS again you are applying CSS rule to P tag with color black. What do you expect from browsers for exact output? OR How User agents will able to know what do you wanted to do?&lt;/p&gt;</description><link>http://cssuniverse.blogspot.com/2009/04/css-important-rules.html</link><thr:total>0</thr:total><author>noreply@blogger.com (zain ansari)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-1083948709633724299</guid><pubDate>Thu, 23 Apr 2009 11:00:00 +0000</pubDate><atom:updated>2009-05-03T05:00:03.626-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Cascading Style Sheets</category><category domain="http://www.blogger.com/atom/ns#">CSS</category><category domain="http://www.blogger.com/atom/ns#">CSS three bigs</category><category domain="http://www.blogger.com/atom/ns#">embedded css</category><category domain="http://www.blogger.com/atom/ns#">External css</category><category domain="http://www.blogger.com/atom/ns#">Inline css</category><category domain="http://www.blogger.com/atom/ns#">Style Sheets</category><title>CSS - The three Bigs</title><description>In &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Metadata" title="Metadata" rel="wikipedia"&gt;Meta Data&lt;/a&gt; Section of &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/HTML" title="HTML" rel="wikipedia"&gt;HTML&lt;/a&gt; portion, where you include external referral code for styling or adding user behavior to the &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Website" title="Website" rel="wikipedia"&gt;website&lt;/a&gt;, You can use &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets" title="Cascading Style Sheets" rel="wikipedia"&gt;CSS&lt;/a&gt; code in following three ways which is called the three bigs CSS documents.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Inline CSS / Inline Styles&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Embedded CSS / Embedded Styles&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;External CSS / External Styles&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;"&gt;1) Inline CSS / Inline Styles&lt;/span&gt;&lt;br /&gt;Inline styles are styles that are written directly in the tag on the document. Inline styles affect only the tag they are applied to&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_UL1CnHh8SX59xQcOaIeydFcxejFGln6mCpr4m3hZSmK_xbhGkF8kYPBYOF8RZFKNERmVjhtZgHD9AeXWFW5tNDu8hWGwJf5Bvy5xKVrT5Lti5_QddyB1G1Pzp1ADiv6RD7XDLaSMylVN/s1600-h/cssInlineStyles.jpg"&gt;&lt;img style="cursor: pointer; width: 330px; height: 98px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_UL1CnHh8SX59xQcOaIeydFcxejFGln6mCpr4m3hZSmK_xbhGkF8kYPBYOF8RZFKNERmVjhtZgHD9AeXWFW5tNDu8hWGwJf5Bvy5xKVrT5Lti5_QddyB1G1Pzp1ADiv6RD7XDLaSMylVN/s400/cssInlineStyles.jpg" alt="" id="BLOGGER_PHOTO_ID_5327842640038473394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) &lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;Embedded CSS / Embedded Styles&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;Embedded styles are styles that are written in a similar document within style tag under &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/HTML_element" title="HTML element" rel="wikipedia"&gt;head tag&lt;/a&gt;  Embedded styles affect only the page / document where they are applied to&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbQP1Du69iPLH_m1dfLX6efaELjtZTafZaVs-l_nvNtKUTzansaCZOQlo0_JzNYri-ipDSMMs-TFwbOYPVCUC4uDg9Cee5PRNuiLBvEEvsvxNB2xF1C6ALeWct9dH-cPggZZIYv292HN5y/s1600-h/cssEmbedStyle.jpg"&gt;&lt;img style="cursor: pointer; width: 330px; height: 317px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbQP1Du69iPLH_m1dfLX6efaELjtZTafZaVs-l_nvNtKUTzansaCZOQlo0_JzNYri-ipDSMMs-TFwbOYPVCUC4uDg9Cee5PRNuiLBvEEvsvxNB2xF1C6ALeWct9dH-cPggZZIYv292HN5y/s400/cssEmbedStyle.jpg" alt="" id="BLOGGER_PHOTO_ID_5327843277168368866" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;3) External CSS / External Styles&lt;/span&gt;&lt;br /&gt;External styles are styles that are written in a separate document and then attached to various &lt;a class="zem_slink" href="http://en.wikipedia.org/wiki/Web_page" title="Web page" rel="wikipedia"&gt;Web&lt;/a&gt; documents. External style sheets can affect any document they are attached to&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR7EzKwaci6eL55wJZixre209-nKexdXGsX92u0d5hXK09SBAbjvMVsyYdqh9M1IzSS_JdoO138-H4UVp0IWe4dnHES8NlplG5iPq3JT-KIaT5rAvseUe86LjSqTLtx9mV3VgYYvc8SepG/s1600-h/cssexternalStyle.jpg"&gt;&lt;img style="cursor: pointer; width: 330px; height: 248px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR7EzKwaci6eL55wJZixre209-nKexdXGsX92u0d5hXK09SBAbjvMVsyYdqh9M1IzSS_JdoO138-H4UVp0IWe4dnHES8NlplG5iPq3JT-KIaT5rAvseUe86LjSqTLtx9mV3VgYYvc8SepG/s400/cssexternalStyle.jpg" alt="" id="BLOGGER_PHOTO_ID_5327843483511976226" border="0" /&gt;&lt;/a&gt;  &lt;div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"&gt;&lt;a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/473e3f92-aac2-4391-b7d8-92ae058ea7ba/" title="Reblog this post [with Zemanta]"&gt;&lt;img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=473e3f92-aac2-4391-b7d8-92ae058ea7ba" alt="Reblog this post [with Zemanta]" /&gt;&lt;/a&gt;&lt;span class="zem-script more-related pretty-attribution"&gt;&lt;script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"&gt;&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://cssuniverse.blogspot.com/2009/04/css-three-bigs.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_UL1CnHh8SX59xQcOaIeydFcxejFGln6mCpr4m3hZSmK_xbhGkF8kYPBYOF8RZFKNERmVjhtZgHD9AeXWFW5tNDu8hWGwJf5Bvy5xKVrT5Lti5_QddyB1G1Pzp1ADiv6RD7XDLaSMylVN/s72-c/cssInlineStyles.jpg" width="72"/><thr:total>0</thr:total><author>noreply@blogger.com (zain ansari)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-3123927923013110579</guid><pubDate>Thu, 23 Apr 2009 07:48:00 +0000</pubDate><atom:updated>2009-04-28T03:23:46.315-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">CSS import</category><category domain="http://www.blogger.com/atom/ns#">CSS link</category><title>link vs @import</title><description>&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 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="Edit-Time-Data" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_editdata.mso"&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} &lt;/style&gt; &lt;![endif]--&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.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:trackmoves&gt;false&lt;/w:TrackMoves&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:27.0pt 1.0in 1.0in 1.0in; 	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-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;Conclusion:&lt;/span&gt;&lt;/b&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt; Always use LINK instead of @import if you want stylesheets to download in parallel resulting in a faster page.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;LINK vs. @import&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;There are two ways to include a stylesheet in your web page. You can use the LINK tag:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt; rel="'stylesheet" href="’style.css’"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;Or you can use the @import rule:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;@import url('style.css');&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt; /style &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;I prefer using LINK for simplicity—you have to remember to put @import at the top of the style block or else it won’t work. It turns out that avoiding @import is better for performance, too.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;@import @import&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;I’m going to walk through the different ways LINK and @import can be used. In these examples, there are two stylesheets: style.css and type.css. Each stylesheet is configured to take two seconds to download to make it easier to see the performance impact. The first example uses @import to pull in these two stylesheets. In this example, called @import @import, the HTML document contains the following style block:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;&gt;
&lt;br /&gt;@import url('style.css')&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;@import url('type.css');&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt; /style &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;If you always use @import in this way, there are no performance problems, although we’ll see below it could result in JavaScript errors due to race conditions. The two stylesheets are downloaded in parallel, as shown in Figure 1. (The first tiny request is the HTML document.) The problems arise when @import is embedded in other stylesheets or is used in combination with LINK.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZqNyv6aomYpBHZT7HxPQPGtvWnca6Zo8rtIqzmCL2QDqTWbLobH2tOajKfUMIJSvadbO7eEUs6oOgTPF6TCGYOX_7pss25LaVLT9tUc50H8cH4iCSG75SrPu96ZEP5HkXtHgLRjpyS40i/s1600-h/atimport_atimport.gif"&gt;&lt;img style="cursor: pointer; width: 230px; height: 41px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZqNyv6aomYpBHZT7HxPQPGtvWnca6Zo8rtIqzmCL2QDqTWbLobH2tOajKfUMIJSvadbO7eEUs6oOgTPF6TCGYOX_7pss25LaVLT9tUc50H8cH4iCSG75SrPu96ZEP5HkXtHgLRjpyS40i/s400/atimport_atimport.gif" alt="" id="BLOGGER_PHOTO_ID_5327802309342440786" border="0" /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;Figure 1. always using @import is okay&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;LINK @import&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;The LINK @import example uses LINK for style.css, and @import for type.css:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;&gt; rel="stylesheet' type="text/css" href="style.css"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;@import url('type.css');&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt; /style &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;In IE (tested on 6, 7, and 8), this causes the stylesheets to be downloaded sequentially, as shown in Figure 2. Downloading resources in parallel is key to a faster page. As shown here, this behavior in IE causes the page to take a longer time to finish.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1PBsysp4RMGK5TWpsGOtLosKQpyJ00aC1LXKPRER9XvwjopSN8RSam5-c4w7bV-JwAVhE4KfKT8fSLUTsIYQSu3QHbsBYlqoUJWcDvzEOP9ssZVppf6pI5T5sVFau6_nQlV1cm64ZYy6W/s1600-h/atlink_atimport.gif"&gt;&lt;img style="cursor: pointer; width: 400px; height: 38px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1PBsysp4RMGK5TWpsGOtLosKQpyJ00aC1LXKPRER9XvwjopSN8RSam5-c4w7bV-JwAVhE4KfKT8fSLUTsIYQSu3QHbsBYlqoUJWcDvzEOP9ssZVppf6pI5T5sVFau6_nQlV1cm64ZYy6W/s400/atlink_atimport.gif" alt="" id="BLOGGER_PHOTO_ID_5327802928009263314" border="0" /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;Figure 2. link mixed with @import breaks parallel downloads in IE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;LINK with @import&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;In the LINK with @import example, style.css is inserted using LINK, and style.css has an @import rule to pull in type.css:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;in the HTML document:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt; &lt; rel="'stylesheet'" type="'text/css'" href="'style.css'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;in style.css:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;@import url('type.css');&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;This pattern also prevents the scripts from loading in parallel, but this time it happens on all browsers. When we stop and think about it, we shouldn’t be too surprised. The browser has to download style.css and parse it. At that point, the browser sees the @import rule and starts to fetch type.css.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRV0yJvyNB4Cza4D_EGZsvF9EypU7Uk9StQUaP7Djhkv4YyUZcl7mcYTjAj6I8KmLeP_U3cKGH6TpSxr-sAEMudVx3v_XEsj7m_C8MifYPiQPhk8hfkdhBdjzGJa8KBfHCMfR2N8B0gbpy/s1600-h/linkwithatimport.gif"&gt;&lt;img style="cursor: pointer; width: 400px; height: 38px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRV0yJvyNB4Cza4D_EGZsvF9EypU7Uk9StQUaP7Djhkv4YyUZcl7mcYTjAj6I8KmLeP_U3cKGH6TpSxr-sAEMudVx3v_XEsj7m_C8MifYPiQPhk8hfkdhBdjzGJa8KBfHCMfR2N8B0gbpy/s400/linkwithatimport.gif" alt="" id="BLOGGER_PHOTO_ID_5327803493543148546" border="0" /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;Figure 3. using @import from within a LINKed stylesheet breaks parallel downloads in all browsers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;LINK blocks @import&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;A slight variation on the previous example with surprising results in IE: LINK is used for style.css and for a new stylesheet called proxy.css. proxy.css is configured to return immediately; it contains an @import rule for type.css.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;in the HTML document:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt; rel="stylesheet” type=" href="style.css"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt; rel="stylesheet" type="text/css" href="proxy.css"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;in proxy.css:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;@import url('type.css');&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;The results of this example in IE,  LINK blocks @import, are shown in Figure 4. The first request is the HTML document. The second request is style.css (two seconds). The third (tiny) request is proxy.css. The fourth request is type.css (two seconds). Surprisingly, IE won’t start downloading type.css until style.css finishes. In all other browsers, this blocking issue doesn’t occur, resulting in a faster page as shown in Figure 5.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8ozqW0UppNfaLvqpcOJmmo7cKUYgi64a625NyUJZ8_dU5SZDps8pvHdGqk5WsUiEBVz6jDRpgzkJIyAc7FFRCo5kxBJdHN89fquWfR_npxMbRp18jlImvSId7tcz5_QCcVsLpVuykOWDs/s1600-h/linkblockatimport.gif"&gt;&lt;img style="cursor: pointer; width: 400px; height: 49px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8ozqW0UppNfaLvqpcOJmmo7cKUYgi64a625NyUJZ8_dU5SZDps8pvHdGqk5WsUiEBVz6jDRpgzkJIyAc7FFRCo5kxBJdHN89fquWfR_npxMbRp18jlImvSId7tcz5_QCcVsLpVuykOWDs/s400/linkblockatimport.gif" alt="" id="BLOGGER_PHOTO_ID_5327803912027976306" border="0" /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;Figure 4. LINK blocks @import embedded in other stylesheets in IE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCvB4Jk3Ir0pR1r0XAKRXoRP5PU6v81DcI3D_juWTAh4Rpr53LQ1pExdiAQSMLRkrZLpVehv713geywF7lZ0ImbaV9g5ftz5PtbBSVSd31CdF4cIYRC7kF2QBxGreYE5nXBH33k1q89TOB/s1600-h/linkblockatimport2.gif"&gt;&lt;img style="cursor: pointer; width: 259px; height: 53px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCvB4Jk3Ir0pR1r0XAKRXoRP5PU6v81DcI3D_juWTAh4Rpr53LQ1pExdiAQSMLRkrZLpVehv713geywF7lZ0ImbaV9g5ftz5PtbBSVSd31CdF4cIYRC7kF2QBxGreYE5nXBH33k1q89TOB/s400/linkblockatimport2.gif" alt="" id="BLOGGER_PHOTO_ID_5327804107187679026" border="0" /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;Figure 5. LINK doesn't block @import embedded stylesheets in browsers other than IE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;many @imports&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;The many @imports example shows that using @import in IE causes resources to be downloaded in a different order than specified. This example has six stylesheets (each takes two seconds to download) followed by a script (a four second download).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;@import url('style.css');&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;@import url('type.css');&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;@import url('c.css');&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;@import url('d.css');&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;@import url('e.css');&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;@import url('f.css');&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt; /style &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt; src="'one.js'" type="'text/javascript'"&gt;&lt; /script &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;Looking at Figure 6, the longest bar is the four second script. Even though it was listed last, it gets downloaded first in IE. If the script contains code that depends on the styles applied from the stylesheets (a la getElementsByClassName, etc.), then unexpected results may occur because the script is loaded before the stylesheets, despite the developer listing it last.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUN4jS25t1pVjVZLKTqoTDm3hONE0EiED_AsYaxdGrBMUAnR-1eKEox25NQI3MmMpuH2rBKR_Bptke1k6fiQ_ccozHKNVMJtRqcRZss0KQ4mHbg6cPN-Be3Sw1tSUcNE2riyTU0T_aEU0x/s1600-h/manyatimport.gif"&gt;&lt;img style="cursor: pointer; width: 400px; height: 102px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUN4jS25t1pVjVZLKTqoTDm3hONE0EiED_AsYaxdGrBMUAnR-1eKEox25NQI3MmMpuH2rBKR_Bptke1k6fiQ_ccozHKNVMJtRqcRZss0KQ4mHbg6cPN-Be3Sw1tSUcNE2riyTU0T_aEU0x/s400/manyatimport.gif" alt="" id="BLOGGER_PHOTO_ID_5327804704053377330" border="0" /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;Figure 6. @import causes resources to be downloaded out-of-order in IE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;LINK LINK&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;It’s simpler and safer to use LINK to pull in stylesheets:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt; rel="'stylesheet'" type="'text/css'" href="'style.css'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:10;"  &gt;&lt; rel="'stylesheet'" type="'text/css'" href="'type.css'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;Using LINK ensures that stylesheets will be downloaded in parallel across all browsers. The &lt;u style="color: rgb(0, 0, 0);"&gt;LINK LINK&lt;/u&gt; example demonstrates this, as shown in Figure 7. Using LINK also guarantees resources are downloaded in the order specified by the developer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2srt2uo8zvvH2-HNP5rTtd4snw130i7lgUyjBonw8QrJzg5KwWpWWUJ6q1Q6pl1roqSO78tpRo8zgjdv40Lf05VT_LJYDMeBunVUgso8FUQ20UPGenuX-6YVVOB5u8xlPUnRagsbkejvF/s1600-h/linklink.gif"&gt;&lt;img style="cursor: pointer; width: 230px; height: 42px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2srt2uo8zvvH2-HNP5rTtd4snw130i7lgUyjBonw8QrJzg5KwWpWWUJ6q1Q6pl1roqSO78tpRo8zgjdv40Lf05VT_LJYDMeBunVUgso8FUQ20UPGenuX-6YVVOB5u8xlPUnRagsbkejvF/s400/linklink.gif" alt="" id="BLOGGER_PHOTO_ID_5327804981063642962" border="0" /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;Figure 7. using link ensures parallel downloads across all browsers&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="line-height: normal;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;These issues need to be addressed in IE. It’s especially bad that resources can end up getting downloaded in a different order. All browsers should implement a small lookahead when downloading stylesheets to extract any @import rules and start those downloads immediately. Until browsers make these changes, I recommend avoiding @import and instead using LINK for inserting stylesheets.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; 
&lt;br /&gt;</description><link>http://cssuniverse.blogspot.com/2009/04/link-vs-import.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZqNyv6aomYpBHZT7HxPQPGtvWnca6Zo8rtIqzmCL2QDqTWbLobH2tOajKfUMIJSvadbO7eEUs6oOgTPF6TCGYOX_7pss25LaVLT9tUc50H8cH4iCSG75SrPu96ZEP5HkXtHgLRjpyS40i/s72-c/atimport_atimport.gif" width="72"/><thr:total>3</thr:total><author>noreply@blogger.com (zain ansari)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6129124813937839383.post-8156261244670970471</guid><pubDate>Sun, 12 Apr 2009 21:10:00 +0000</pubDate><atom:updated>2009-04-28T03:24:39.914-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">css layout</category><category domain="http://www.blogger.com/atom/ns#">css presentation</category><category domain="http://www.blogger.com/atom/ns#">CSS rounded corners</category><title>Rounded corner CSS</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwdz4XIFoRXFxYxw5W1Zk2ameXfYosUHMlbp5EwthN6W3wcVIbKWOXo61T1lQnzh15mkguxdBXu22mWi-MVI7UMLm75trUgVNT7285JjXA68drfhyf-iRWZm5XetGuz-JrpehhByZliR5T/s1600-h/rounded-corners-css.jpg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 253px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwdz4XIFoRXFxYxw5W1Zk2ameXfYosUHMlbp5EwthN6W3wcVIbKWOXo61T1lQnzh15mkguxdBXu22mWi-MVI7UMLm75trUgVNT7285JjXA68drfhyf-iRWZm5XetGuz-JrpehhByZliR5T/s400/rounded-corners-css.jpg" alt="" id="BLOGGER_PHOTO_ID_5323916610870947378" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Refer to the image above. Are you facing problems with rounded corner code in XHTML/CSS here is its solution please &lt;a href="http://sites.google.com/site/expertsdesksite/Home/css-round-corner/roundedcorner.zip?attredirects=0"&gt;download the zip file&lt;/a&gt; and enjoy CSS coding</description><link>http://cssuniverse.blogspot.com/2009/04/rounded-corner-css.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwdz4XIFoRXFxYxw5W1Zk2ameXfYosUHMlbp5EwthN6W3wcVIbKWOXo61T1lQnzh15mkguxdBXu22mWi-MVI7UMLm75trUgVNT7285JjXA68drfhyf-iRWZm5XetGuz-JrpehhByZliR5T/s72-c/rounded-corners-css.jpg" width="72"/><thr:total>4</thr:total><author>noreply@blogger.com (zain ansari)</author></item></channel></rss>