<?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>balinetdesign.com &#187; Web Design</title>
	<atom:link href="http://www.balinetdesign.com/article/webdesign/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.balinetdesign.com/article</link>
	<description>article</description>
	<lastBuildDate>Sat, 10 Oct 2009 02:21:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>id or class selector in css</title>
		<link>http://www.balinetdesign.com/article/id-class-selector-css/</link>
		<comments>http://www.balinetdesign.com/article/id-class-selector-css/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 04:36:01 +0000</pubDate>
		<dc:creator>gungtu</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.balinetdesign.com/article/?p=30</guid>
		<description><![CDATA[One of the advantages of CSS particularly to designersis its ability to easily apply a set of styles to all elements of the same type. Unimpressed? Consider this: by editing a single line of CSS, you can change the colors of all your headings. Don&#8217;t like the blue you&#8217;re using? Change that one line of [...]]]></description>
			<content:encoded><![CDATA[<p>One of the advantages of CSS particularly to designersis its ability to easily apply a set of styles to all elements of the same type. Unimpressed? Consider this: by editing a single line of CSS, you can change the colors of all your headings. Don&#8217;t like the blue you&#8217;re using? Change that one line of code, and they can all be purple, yellow, maroon, or any other color you desire. That lets you, the designer, focus on design, rather than grunt work. The next time you&#8217;re in a meeting and someone wants to see headings with a different shade of green, just edit your style and refresh. The results are accomplished in seconds and there for everyone to see.</p>
<p>Selecting elements on the basis of their class names is a very common technique in CSS. The attribute selector syntax [class="top"] is rather awkward, but thankfully there’s a simpler and shorter form for it: the class selector.</p>
<p>Here’s a simple example that selects all elements with a class attribute that contains the value &#8220;top&#8221;:</p>
<p class="post-info2i">.top {<br />
your declarations<br />
}</p>
<p>An ID selector matches an element that has a specific id attribute value. Since id attributes must have unique values, an ID selector can never match more than one element in a document. The attribute selector syntax (id=&#8221;top&#8221;) must be write on html document to use it.</p>
<p class="post-info2i">#top {<br />
your declarations;<br />
}</p>
<p>after declaration please put a closing ; to close it.</p>
<p><strong>Deciding Between id and class</strong></p>
<p>You may assign classes to any number of elements, as demonstrated earlier; the class name warning was applied to both a p and a span element, and it could have been applied to many more elements. IDs, on the other hand, are used once, and only once, within an HTML document.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.balinetdesign.com/article/id-class-selector-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>an External Style Sheet Using a link Element or @import rule</title>
		<link>http://www.balinetdesign.com/article/external-style-sheet-using-link-element-import-rule/</link>
		<comments>http://www.balinetdesign.com/article/external-style-sheet-using-link-element-import-rule/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 03:36:35 +0000</pubDate>
		<dc:creator>gungtu</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.balinetdesign.com/article/?p=4</guid>
		<description><![CDATA[This tutorial will show you an external style sheet reference and a style sheet reference that uses an @import rule. ]]></description>
			<content:encoded><![CDATA[<p>Here’s an example of an external style sheet reference that uses a link element:</p>
<p class="post-info2i">&lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;/style.css&#8221; media=&#8221;screen&#8221;&gt;</p>
<p>The link element, which must reside within the head element of an HTML document, links an external style sheet to the document. Multiple, comma-separated media types can be specified in the media attribute, for example, media=&#8221;screen,projection&#8221;. If it’s omitted, this attribute defaults to media=&#8221;screen&#8221;, according to the HTML4 specification, but in reality, browsers seem to apply media=&#8221;all&#8221; if the attribute is omitted.</p>
<p>Here’s an example of a style sheet reference that uses an @import rule:</p>
<p class="post-info2i">&lt;style type=&#8221;text/css&#8221;&gt;<br />
@import url(/style.css);<br />
&lt;/style&gt;</p>
<p>The style element, like the link element, must reside within the head element. Relative URIs in the href attribute or @import rule are relative to the HTML document that contains the link. (When @import is used inside an external style sheet, relative URIs are relative to the importing style sheet.)</p>
<p>so what is media? actually, I don&#8217;t know what is media. But we specify the output media using the predefined media types.</p>
<p class="post-info2i">&#8220;all&#8221; &#8211; applies to all media<br />
&#8220;Braille&#8221; &#8211; Braille/tactile feedback devices<br />
&#8220;embossed&#8221; &#8211; paged Braille printers<br />
&#8220;handheld&#8221; &#8211; handheld devices<br />
&#8220;print&#8221; &#8211; paged media and print preview mode on the screen<br />
&#8220;projection&#8221; &#8211; projected presentation (used by Opera in full-screen mode)<br />
&#8220;screen&#8221; &#8211; color computer screens<br />
&#8220;speech&#8221; &#8211; speech synthesizers (see the note below)<br />
&#8220;tty&#8221; &#8211; media with a fixed-pitch character grid<br />
&#8220;tv&#8221; &#8211; television-type devices</p>
]]></content:encoded>
			<wfw:commentRss>http://www.balinetdesign.com/article/external-style-sheet-using-link-element-import-rule/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
