<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PSD to HTML&#124; seoSemanticXHTML BLOG &#187; CSS</title>
	<atom:link href="http://blog.seo-semantic-xhtml.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.seo-semantic-xhtml.com</link>
	<description>PSD to HTML, PSD to wordpress</description>
	<lastBuildDate>Fri, 03 Feb 2012 11:17:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Create Fast Loading Websites with CSS Sprites</title>
		<link>http://blog.seo-semantic-xhtml.com/css/create-fast-loading-websites-with-css-sprites/</link>
		<comments>http://blog.seo-semantic-xhtml.com/css/create-fast-loading-websites-with-css-sprites/#comments</comments>
		<pubDate>Sat, 26 Mar 2011 11:32:55 +0000</pubDate>
		<dc:creator>pratima</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css developers]]></category>
		<category><![CDATA[css sprites]]></category>
		<category><![CDATA[fast loading website]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[html css]]></category>
		<category><![CDATA[Load speed optimization]]></category>

		<guid isPermaLink="false">http://blog.seo-semantic-xhtml.com/?p=635</guid>
		<description><![CDATA[There are many aspects that need to be focused upon while creating a site in order to achieve a balance of visual attractiveness and functionality. This makes designers and developers to apply a wide range of techniques that combine to offer a friendly web experience to users. Here we are going to discuss one such [...]]]></description>
			<content:encoded><![CDATA[<p>There are many aspects that need to be focused upon while creating a site in order to achieve a balance of visual attractiveness and functionality. This makes designers and developers to apply a wide range of techniques that combine to offer a friendly web experience to users. Here we are going to discuss one such technique, the usage of which has considerably increased specially to reduce the loading time of the site and is called CSS Sprites.</p>
<p><strong>What CSS Sprites does?</strong></p>
<p>It is obvious that a large number of images will cause a site to take extra time for loading. As a result, pages will load slowly and the visitor will have to wait. To avoid this, the CSS property of sprites is used which ‘<em>combines the various images to form a single image</em>’ and helps a page comprising of images to load faster.</p>
<p><strong>How does it work?</strong></p>
<p>CSS Sprites are used in conjunction with background position property in CSS to create a master image which is a collection of a number of images.</p>
<ul>
<li>First individual sprites are collected</li>
<li>Each of them is them placed together to create master image with proper spacing between them</li>
<li>CSS background positioning is used to set the position of the sprites or images</li>
</ul>
<p><strong>How does it help?</strong></p>
<p>Every image if left as it is on a web page, and when a request is sent to the web server, it takes a lot of time for the page to load as all are separate images. However if such images are combined to form a single file and then positioned with CSS, the request made will be reduced to one (for multiple images).  The less the number of HTTP requests, <a href="http://blog.seo-semantic-xhtml.com/tools/tools-to-analyze-test-the-page-loading-speed-of-your-website"><strong>faster is the site loading speed</strong></a>.</p>
<p><strong>Why to use CSS Image Sprites? </strong></p>
<ul>
<li>If a site has a large number of images to display in its pages, CSS Sprites make it easy to manage by creating a master image, reducing the file size and as well as loading time. Overall it will enhance the performance of a site.</li>
<li>The use of CSS Sprites reduces the number of HTTP requests which again help reducing the loading time.</li>
<li>CSS Sprites help in optimizing the web pages</li>
<li>Bandwidth can be saved using this CSS Property</li>
</ul>
<p><strong>A Note</strong></p>
<p>It must be noted that every image cannot be used or is not suitable as a Background. However there is a possibility that developers in order to reduce HTTP requests may use an incorrect image. It can negatively affect the accessibility.</p>
<p><strong>How to make use of CSS Sprites?</strong></p>
<p>Creating CSS Sprites is not a tough job and with availability of several CSS Sprites generators, developers can now make use of this powerful technique to take advantage.</p>
<p>We look forward to get valuable suggestions from the readers.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.seo-semantic-xhtml.com/css/create-fast-loading-websites-with-css-sprites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New and Improved Features of CSS3 – An Overview</title>
		<link>http://blog.seo-semantic-xhtml.com/css/new-and-improved-features-of-css3-%e2%80%93-an-overview/</link>
		<comments>http://blog.seo-semantic-xhtml.com/css/new-and-improved-features-of-css3-%e2%80%93-an-overview/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 13:10:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Cascading Style Sheet]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[CSS 3 Version]]></category>
		<category><![CDATA[CSS Border Image]]></category>
		<category><![CDATA[CSS New Version]]></category>
		<category><![CDATA[CSS Selectors]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[CSS3 features]]></category>
		<category><![CDATA[CSS3 Properties]]></category>
		<category><![CDATA[Multi Column Layout]]></category>

		<guid isPermaLink="false">http://blog.seo-semantic-xhtml.com/?p=508</guid>
		<description><![CDATA[There is much discussion about CSS 3 and the various improved features that it has introduced to further enhance the presentation of content on a website. There is no doubt that CSS 3 brings with it many interesting functions that allow designers to fuel their creativity and create novel designs. In this write-up, we are [...]]]></description>
			<content:encoded><![CDATA[<p>There is much discussion about CSS 3 and the various improved features that it has introduced to further enhance the presentation of content on a website. There is no doubt that CSS 3 brings with it many interesting functions that allow designers to fuel their creativity and create novel designs.<br />
In this write-up, we are going to highlight those aspects which act as distinguishing factors between CSS 2.1 and CSS 3 and also show the improved capabilities of the latter.</p>
<h4><strong>CSS Selectors</strong></h4>
<p>CSS 3 comes with many new selectors with which style properties of various elements can be determined. Some of these are:</p>
<ul>
<li><strong>General Sibling Selector (Combinator)</strong><br />
This selector matches and targets all the siblings of a given element. It is not necessary however that the elements be adjacent siblings.<br />
<strong><em>Example:</em></strong><br />
<em>h1 ~ pre represents a pre element following an h1. It is a correct and valid description (but partial) of:<br />
&lt;h1&gt;Definition of the function a&lt;/h1&gt;<br />
&lt;p&gt;<em>Function a(x) has to be applied to all figures in the table.&lt;/p&gt;<br />
&lt;pre&gt;function a(x) = 12x/13.5</em>&lt;/pre&gt;<br />
</em></li>
<li><strong>Child Selector</strong><br />
This Selector shows the relationship between two elements and targets those elements which are children of a particular element.<em><br />
<strong>Example:</strong><br />
The following selector represents a p element that is child of body:<br />
body &gt; p<br />
The following example combines descendant combinators and child combinators.<br />
div ol&gt;li p</em><br />
It represents a p element that is a descendant of an li element; the li element must be the child of an ol element; the ol element must be a descendant of a div. Notice that the optional white space around the &#8220;&gt;&#8221; combinator has been left out.</li>
<li><strong>Attribute Selector</strong><br />
Unlike CSS 2.1 where one has to make match on a complete string of an attribute, CSS offers the flexibility to make matches anywhere within an attribute, be it beginning or end. It can also make matches to any sub string if present in an attribute. In other words, it allows partial matches to attribute values.<br />
<strong><em>Example:</em></strong><br />
<em>•	[attr^=val] –- matches a Document object model element (DOM) with the attribute attr and a value starting with val<br />
•	[attr$=val] –- matches a DOM element with the attribute attr and a value ending with the suffix val<br />
•	[attr*=val] –- matches a DOM element with the attribute attr and a value containing the substring val</em></li>
</ul>
<h4><strong>Border Radius </strong></h4>
<p>With this additional feature in CSS 3, one can create rounded corners without getting into trouble of writing extensive codes. This feature is currently supported by <strong>Firefox, Safari, Chrome </strong>and only<strong> Internet Explorer 9 Beta</strong>.<em><br />
<strong>Example:</strong><br />
<strong>One length value:</strong><br />
#ex1 {<br />
-moz-border-radius: 1em;<br />
border-radius: 1em;<br />
}<br />
<strong>Different value length:</strong><br />
#ex2 {<br />
-moz-border-radius: 2em 1em;<br />
border-radius: 2em 1em;<br />
}<br />
<strong>Individual corners:</strong><br />
#ex3 {<br />
border-top-left-radius: 1em;<br />
}<br />
#ex3 {<br />
border-top-right-radius: 1em;<br />
}<br />
#ex3 {<br />
border-bottom-right-radius: 1em;<br />
}<br />
#ex3 {<br />
border-bottom-left-radius: 1em;<br />
}</em></p>
<h4><strong>Border Image </strong></h4>
<p>It is another attractive property that CSS 3 offers as against CSS 2.1 which allows using an image as a border for an element. One can set values for Border Image and border-corner-image. It works in <strong>Safari </strong>and <strong>Firefox 3.1</strong>.<strong><em><br />
Example: </em></strong><br />
<em>.border-image-example {<br />
-webkit-border-image: url(border-image.jpg) 45 20 45 30 repeat;<br />
-moz-border-image: url(border-image.jpg) 45 20 45 30 repeat;<br />
border-image: url(border-image.jpg) 45 20 45 30 repeat;<br />
}</em></p>
<p><em>.border-image-example {<br />
border-image: url(bg-border.jpg) 45 20 45 20 repeat;<br />
}</em></p>
<p><em>.border-image-example {<br />
border-image: url(bg-border.jpg) 45 20 repeat;<br />
}</em></p>
<h4><strong>Multiple Backgrounds</strong></h4>
<p>With CSS 2.1, one could not create multiple backgrounds for a single element but with CSS 3, this has been made possible and one may use multiple background images for one element.<strong><em><br />
Example:</em></strong><br />
<em>background: url(body-top.gif) top left no-repeat,<br />
url(banner_fresco.jpg)  top 11px no-repeat,<br />
url(body-bottom.gif) bottom left no-repeat,<br />
url(body-middle.gif) left repeat-y;</em></p>
<h4><strong>Colors and Opacity</strong></h4>
<p>CSS 3 comes with an ability to add transparency to an element and its color schemes have been enhanced to add this factor as well. It now offers HSLa (hue, saturation, lightness, alpha) and RGBa (red, green, blue and alpha) wherein a stands for opacity or transparency. Now colors can be defined as rgba (x, x, x, x) or hsla (x, x, x, x). The feature is supported by <strong>Firefox</strong>, <strong>Safari</strong>, <strong>Chrome</strong>, <strong>Opera </strong>and <strong>IE7</strong>.<strong><em><br />
Example:</em></strong><br />
<em>This paragraph has opacity 1.0.<br />
background-color:#30f;color:#fff;width:100%;opacity:1.0;<br />
Opacity 0.8.<br />
background-color:#30f;color:#fff;width:100%;opacity:0.8;<br />
Opacity 0.5.<br />
background-color:#30f;color:#fff;width:100%;opacity:0.5;<br />
Opacity 0.2.<br />
background-color:#30f;color:#fff;width:100%;opacity:0.2; </em></p>
<h4><strong>Multi Column Layout </strong></h4>
<p>It is a significant improvement that CSS 3 offers over CSS 2.1 to designers and developers. This property allows creating the desired number of columns by making the required specifications regarding column width, separator, column gap width, etc.<strong><em><br />
Example:</em></strong><br />
<em><strong>Column width:</strong></em><br />
<em>-moz-column-width: 13em;<br />
-webkit-column-width: 13em;<br />
-moz-column-gap: 1em;<br />
-webkit-column-gap: 1em;<br />
<strong>Column count:</strong></em><em><br />
<em>-moz-column-count: 3;</em><br />
-moz-column-gap: 1em;<br />
-moz-column-rule: 1px solid black;<br />
-webkit-column-count: 3;<br />
-webkit-column-gap: 1em;</em><br />
-webkit-column-rule: 1px solid black;</p>
<h4><strong>BOX Shadow</strong></h4>
<p>This feature is surely a welcome one as no longer one needs to use a shadow image to create a shadow effect. Prior to CSS 3, JavaScript was used for creating shadow to an image but now with BOX Shadow feature, one can add shadow to any element on the website. However it is currently supported by <strong>Firefox 3.1</strong>, <strong>Safari</strong> and <strong>Chrome</strong> only.<strong><em><br />
Example:</em></strong><br />
<em>#example1{<br />
box-shadow:10px10px5px#888;<br />
} </em><br />
But for the moment, as with many other ‘experimental’ CSS3 properties, you’ll need to use the following prefixes to support Mozilla and Webkit:<br />
<em>#example1{<br />
-moz-box-shadow:10px10px5px#888;<br />
-webkit-box-shadow:10px10px5px#888;<br />
box-shadow:10px10px5px#888;<br />
} </em></p>
<p>The above mentioned were few of the various features/ functions which draw a line between CSS 3 and CSS 2.1  and make the former a better version of the latter. The only thing which is required now is full compatibility of CSS 3 with all the major browsers.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.seo-semantic-xhtml.com/css/new-and-improved-features-of-css3-%e2%80%93-an-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boggle Over CSS for Google</title>
		<link>http://blog.seo-semantic-xhtml.com/css/boggle-over-css-for-google/</link>
		<comments>http://blog.seo-semantic-xhtml.com/css/boggle-over-css-for-google/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 05:39:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Browser Compatibility]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Search Engines]]></category>

		<guid isPermaLink="false">http://blog.seo-semantic-xhtml.com/?p=165</guid>
		<description><![CDATA[CSS is interpreted as a tool for styling screen elements. However, its quite evident that CSS is much more than just a layout instrument, it has other functionalities too. There is a brawl of opinions among web designers while using tables during the application of CSS. However, CSS manages people and forces them to adhere [...]]]></description>
			<content:encoded><![CDATA[<p>CSS is interpreted as a tool for styling screen elements. However, its quite evident that CSS is much more than just a layout instrument, it has other functionalities too. There is a brawl of opinions among web designers while using tables during the application of CSS. However, CSS manages people and forces them to adhere to the standards mentioned by the authorities. CSS must be used for better formatting and not for deceiving the search engines.</p>
<p>When you re-design a tag and it matches the preference of the search engines, it helps to make it SEO optimized. It is also said that if your keywords are stationed within the tags, the Google ranking would increase. All the tags can be altered or re-styled using CSS to stay fully compliant according to the W3C standards while designing the website.</p>
<p>Whenever the web designers argue on CSS’ compatibility with Google, Cascading Style Sheets turn out to be good for Google because:</p>
<ul>
<li><strong> Smaller file size is possible with CSS</strong></li>
</ul>
<p>When CSS file is used instead of styles available in HTML, the file size is automatically reduced as the coding is trimmed down. Google prefers webpages with shorter coding. It is advisable to restrict the page size to 100KB.</p>
<ul>
<li><strong>Greater control of page structure can be accessed</strong></li>
</ul>
<p>Without compromising on the look and feel of the page, CSS allows you to craft the document compliant with HTML standards. Many designers ignore the standards but Google felicitates the pages which are well structured keeping in view the standards and guidelines. Designers can play with CSS and create attractive designs along with getting their pages accredited by Google.</p>
<ul>
<li><strong> Some content can stay hidden from the browsers, still Google picks it up</strong></li>
</ul>
<p>In certain circumstances, CSS allows your content to remain hidden from specific browsers. Some prefer their content to be available only for print and not for display while there could be content only available for view but not for print. Google indexes the hidden content and one can reap the benefits.</p>
<ul>
<li><strong>Browser compatibility</strong></li>
</ul>
<p>Different browsers interpret CSS coding in various ways. Some old browsers are not capable enough to read CSS even. Ensure cross browser compatibility and acceptability of HTML pages without CSS across all browsers.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.seo-semantic-xhtml.com/css/boggle-over-css-for-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

