<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<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/"
	>

<channel>
	<title>What is CSS ?</title>
	<link>http://www.whatiscss.com</link>
	<description>Resources and Magazine</description>
	<pubDate>Wed, 04 Mar 2009 14:26:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<item>
		<title>Setting Fonts with CSS</title>
		<link>http://www.whatiscss.com/setting-fonts-with-css/</link>
		<comments>http://www.whatiscss.com/setting-fonts-with-css/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 23:29:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Code Snippets]]></category>

		<category><![CDATA[font]]></category>

		<category><![CDATA[font syle]]></category>

		<guid isPermaLink="false">http://www.whatiscss.com/setting-fonts-with-css/</guid>
		<description><![CDATA[Setting Fonts with CSS
In HTML, if you want to change the font used in an element you would use the font element.  This could make your code very messy if you had the same font that you want to use multiple  times, but not make the font the same on the whole page. Also, if you wanted [...]]]></description>
			<content:encoded><![CDATA[<h3>Setting Fonts with <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a></h3>
<p>In HTML, if you want to change the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> used in an <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a> you would use the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a>.  This could make your code very messy if you had the same <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> that you want to use multiple  times, but not make the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> the same on the whole page. Also, if you wanted to make a <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> bold, italic, or underlined you would need to use the correct <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a> to do so. If needing to make some text that was red, size 12, bold, underlined, and italic the code you use may look something like this in HTML.</p>
<pre>
<font size="2" color="#ff0000" face="Arial"><strong><u><em>This is a test</em></u></strong></font></pre>
<p>With <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a>, we can do the same thing. In addition to these <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> options, <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> allows us more  control over the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> that is on the site. <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> will also make it easier for us to change the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> in the future if we choose to use a different theme for the site we are coding for, and make it easier to read and follow.</p>
<pre class="sh_css">p { <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a>: italic bold 12px arial;
 color: red;
 text-decoration: underline;
}</pre>
<p>The <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> above will do the same as the HTML code that we looked at. By using the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> attribute, we have told <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> to make all paragraph elements use the Arial <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a>, make the text 12 pixels tall, make the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> bold, and italic. We use the color attribute to change the color of the text, and the text-decoration to underline the text. Now if we wanted to change the color of the text, or the size we can do it in one place instead of having to manually edit each <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a>.</p>
<p>There are some additional attributes we can set using the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> attribute. Above we used the generic <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> attribute to set a variety of settings. If we did not want to make the array of changes that we did we can use other <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> attributes, like <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a>-family. Below are the different <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> attributes, what they do, and what values can be assigned to them.</p>
<h3><a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">Font</a></h3>
<p>The <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> attribute allows you to declare multiple <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> settings in one attribute. This is a short hand way of setting the values.</p>
<h3><a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">Font</a>-Family</h3>
<p>The <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> family sets the type of <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> that is going to be used. This is similar to the HTML  face attribute for the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a>. The <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> family attribute allows you to set a roup of fonts that the site should use if the user has them installed. You can use any <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> that you would like, but it is best to use fonts that most people will have, like Arial, Times New Roman, or Courier. You could also use a generic <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> family, like sans-serif. A generic <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> will use the default <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> for that family. Here is an example of the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> family attribute.</p>
<pre class="sh_css">
<a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a>-family: courier, arial, sans-serif;</pre>
<p>In the example, the <a href="http://www.whatiscss.com/tag/browser/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Browser">browser</a> will try to use the Courier <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> first if the user has it, if not then it will try to use Arial. If the user does not have any of those fonts, then the <a href="http://www.whatiscss.com/tag/browser/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Browser">browser</a> will use the default <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> for the sans-serif family of fonts. It is always best to use a generic <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> at the end of a <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> family attribute, this allows you a little more control over how the text will look.</p>
<h3><a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">Font</a> Size</h3>
<p><a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">Font</a> size attribute does as it names suggests. It changes the size of the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a>. There are some built in sizes that this attribute can use. Those are:</p>
<ul>
<li>xx-small</li>
<li>x-small</li>
<li>small</li>
<li>medium</li>
<li>large</li>
<li>x-large</li>
<li>xx-large</li>
<li>smaller</li>
<li>larger</li>
<li>length</li>
</ul>
<p>Along with these you can also declare what size of <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> you want to use, such as 12px. This will make the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> 12 pixels high. You can use pixels (px), points (pt), percentage of the parent <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> size (%), and ems (em) as measurements for the size of the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a>.</p>
<h3><a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">Font</a> Size Adjust</h3>
<p>This adjusted the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> size for an <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a> based on the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a>&#8217;s aspect value. The aspect value is the ratio of the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a>&#8217;s lowercase x size in relationship with the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> size. To use this attribute you would just put in the aspect value. Here is an example:</p>
<pre class="sh_css">
h2 { <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a>-size-adjust: 0.58 }</pre>
<h3><a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">Font</a> Stretch</h3>
<p>The <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> stretch attribute stretches or condenses the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> horizontally only. Below is a <a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">list</a> of options that can be used with the attribute.</p>
<ul>
<li>wider</li>
<li>narrower</li>
<li>ultra-condensed</li>
<li>extra-condensed</li>
<li>condensed</li>
<li>semi-condensed</li>
<li>semi-expanded</li>
<li>expanded</li>
<li>extra-expanded</li>
<li>ultra-expanded</li>
</ul>
<h3><a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">Font</a> Style</h3>
<p><a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">Font</a> style only has three options that can be used with it. These set the style of the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> that is being used. The values that can be used are italic, oblique, and normal. Normal  is the default value, and does not make any changes to the text. Italic, will make the <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a> italic, and oblique looks similar to italic.</p>
<h3><a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">Font</a> Variant</h3>
<p>This attribute only has two values. One value is normal and it is the default value, the other is small-caps. The small-caps value makes all lowercase letters look like their uppercase versions, but the same height as the lowercase letters. Below is an example of how the small-caps value looks.</p>
<p><span style="font-variant: small-caps">This is an example of the small-caps value</span></p>
<h3><a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">Font</a>-Weight</h3>
<p>The <a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">font</a>-weight attribute sets how bold text is on the site. You can use the values bold, bolder, lighter, and normal. You may also use any hundred value between 100 and 900.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whatiscss.com/setting-fonts-with-css/feed/</wfw:commentRss>
		</item>
		<item>
		<title>List</title>
		<link>http://www.whatiscss.com/list/</link>
		<comments>http://www.whatiscss.com/list/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 23:22:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Code Snippets]]></category>

		<category><![CDATA[list]]></category>

		<guid isPermaLink="false">http://www.whatiscss.com/list/</guid>
		<description><![CDATA[List
List can be very useful to a website. By using some CSS, you can create a nice frequently asked questions page for your site, or even a menu for your site. Let us look at some of the additional controls that CSS gives us with list.
List-Style
List-style is the shorthand way of setting all the attributes [...]]]></description>
			<content:encoded><![CDATA[<h3><a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">List</a></h3>
<p><a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">List</a> can be very useful to a website. By using some <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a>, you can create a nice frequently asked questions page for your site, or even a menu for your site. Let us look at some of the additional controls that <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> gives us with <a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">list</a>.</p>
<h3><a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">List</a>-Style</h3>
<p><a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">List</a>-style is the shorthand way of setting all the attributes for a <a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">list</a>.</p>
<h3><a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">List</a>-Style-Image</h3>
<p>The <a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">list</a>-style-image allows you to use your own image as the bullet in a <a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">list</a>. To use this attribute you have to define where the image is located at. Below is an example of what the attribute would look like.</p>
<pre class="sh_css"><a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">list</a>-style-image: url(&#8217;list_dot.gif&#8217;)</pre>
<h3><a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">List</a>-Style-Position</h3>
<p>This attribute defines where the bullets will be displayed. The best way I can describe how this attribute works is to imagine a line when you create a <a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">list</a>. This attribute determines what side of the line the bullets at on. If you set the attribute value to inside, then the bullets are on the right of the line. The only other value that can be set is outside, and this sets the bullets on the left side of the line.</p>
<h3><a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">List</a>-Style-Type</h3>
<p><a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">List</a>-style-type attribute allows you to change the style of the bullets in your <a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">list</a> to some of the additional bullet styles that are &#8220;built&#8221; into <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a>. There are multiple values that you can use. Below is a <a href="http://www.whatiscss.com/tag/list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with list">list</a> of each one.</p>
<ul>
<li>None</li>
<li>Disc</li>
<li>Circle</li>
<li>Square</li>
<li>Decimal</li>
<li>Decimal-Leading-zero</li>
<li>Lower-Roman</li>
<li>Upper-Roman</li>
<li>Lower-Alpha</li>
<li>Upper-Alpha</li>
<li>Lower-Greek</li>
<li>Lower-Latin</li>
<li>Upper-Latin</li>
<li>Hebrew</li>
<li>Armenian</li>
<li>Georgian</li>
<li>CJK-Ideographic</li>
<li>Hiragana</li>
<li>Katakana</li>
<li>Hiragana-Iroha</li>
<li>Katakana-iroha</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.whatiscss.com/list/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Media Types</title>
		<link>http://www.whatiscss.com/media-types/</link>
		<comments>http://www.whatiscss.com/media-types/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 23:06:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Code Snippets]]></category>

		<category><![CDATA[link]]></category>

		<category><![CDATA[media type]]></category>

		<guid isPermaLink="false">http://www.whatiscss.com/media-types/</guid>
		<description><![CDATA[Media Types
With CSS, you can also control how your website looks on other media. Most sites only have a style sheet that controls the way the site looks on a monitor, since that is where most of the people who visit the site will see it, but there are other media that you can control [...]]]></description>
			<content:encoded><![CDATA[<h3>Media Types</h3>
<p>With <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a>, you can also control how your website looks on other media. Most sites only have a style sheet that controls the way the site looks on a monitor, since that is where most of the people who visit the site will see it, but there are other media that you can control also.</p>
<h3>Aural</h3>
<p>With Aural you can configure your site to work with speech applications. This is for those visitors who may have issues with the visual layout of a site. With the aural style sheet you can control the volume of the speech application, what is actual read on the site, and the speed that the text is read.</p>
<h3>Braille</h3>
<p>A braille style sheet is used for braille tactile feedback devices.</p>
<h3>Embossed</h3>
<p>Similar to braille, embossed controls the styles on printers that can print in braille.</p>
<h3>Handheld</h3>
<p>This is a <a href="http://www.whatiscss.com/tag/media-type/" class="st_tag internal_tag" rel="tag" title="Posts tagged with media type">media type</a> that will become more popular as portable devices start connecting to the world wide web more often. Handheld is designed to control the look of your site on portable, monochrome, and small screen devices. These devices are similar to most smart cell phones.</p>
<h3>Print</h3>
<p>The print <a href="http://www.whatiscss.com/tag/media-type/" class="st_tag internal_tag" rel="tag" title="Posts tagged with media type">media type</a> will allow you to control how your site looks on paper. Most sites have a print button on them, and then the site will use a different style sheet that will make the site look better on paper.</p>
<h3>Projection</h3>
<p>If you ever have a site that you would like to use in a presentation, then you would use the projection <a href="http://www.whatiscss.com/tag/media-type/" class="st_tag internal_tag" rel="tag" title="Posts tagged with media type">media type</a>.</p>
<h3>Screen</h3>
<p>Screen is the most used <a href="http://www.whatiscss.com/tag/media-type/" class="st_tag internal_tag" rel="tag" title="Posts tagged with media type">media type</a>. This is the type that controls how the site looks on a computer screen.</p>
<h3>TTY</h3>
<p>This <a href="http://www.whatiscss.com/tag/media-type/" class="st_tag internal_tag" rel="tag" title="Posts tagged with media type">media type</a> is used for fixed-pitch character grid devices, like a teletype or terminals. These devices are designed to input or output one character at a time.</p>
<h3>TV</h3>
<p>The TV <a href="http://www.whatiscss.com/tag/media-type/" class="st_tag internal_tag" rel="tag" title="Posts tagged with media type">media type</a>, is used on larger monitors or televisions.</p>
<p>There are a few different ways to declare what <a href="http://www.whatiscss.com/tag/media-type/" class="st_tag internal_tag" rel="tag" title="Posts tagged with media type">media type</a> to use. You can create different sheets for each <a href="http://www.whatiscss.com/tag/media-type/" class="st_tag internal_tag" rel="tag" title="Posts tagged with media type">media type</a>, then include them in your header like this.</p>
<pre class="sh_html">
&lt;<a href="http://www.whatiscss.com/tag/link/" class="st_tag internal_tag" rel="tag" title="Posts tagged with link">link</a> rel=&#8221;stylesheet&#8221; type=&#8221;text/<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>&#8221; href=&#8221;<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>/print_style.<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>&#8221;  media=&#8221;print&#8221; &gt;
&lt;<a href="http://www.whatiscss.com/tag/link/" class="st_tag internal_tag" rel="tag" title="Posts tagged with link">link</a> rel=&#8221;stylesheet&#8221; type=&#8221;text/<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>&#8221; href=&#8221;<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>/screen_style.<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>&#8221; media=&#8221;screen&#8221; &gt;
&lt;<a href="http://www.whatiscss.com/tag/link/" class="st_tag internal_tag" rel="tag" title="Posts tagged with link">link</a> rel=&#8221;stylesheet&#8221; type=&#8221;text/<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>&#8221; href=&#8221;<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>/handheld_style.<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>&#8221;  media=&#8221;handheld&#8221; &gt;
&lt;<a href="http://www.whatiscss.com/tag/link/" class="st_tag internal_tag" rel="tag" title="Posts tagged with link">link</a> rel=&#8221;stylesheet&#8221; type=&#8221;text/<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>&#8221; href=&#8221;<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>/print_style.<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>&#8221;  media=&#8221;print&#8221; &gt;
&lt;<a href="http://www.whatiscss.com/tag/link/" class="st_tag internal_tag" rel="tag" title="Posts tagged with link">link</a> rel=&#8221;stylesheet&#8221; type=&#8221;text/<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>&#8221; href=&#8221;<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>/screen_style.<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>&#8221;  media=&#8221;screen&#8221; &gt;
&lt;<a href="http://www.whatiscss.com/tag/link/" class="st_tag internal_tag" rel="tag" title="Posts tagged with link">link</a> rel=&#8221;stylesheet&#8221; type=&#8221;text/<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>&#8221; href=&#8221;<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>/handheld_style.<a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">css</a>&#8221; media=&#8221;handheld&#8221; &gt;</pre>
<p>Also, each <a href="http://www.whatiscss.com/tag/media-type/" class="st_tag internal_tag" rel="tag" title="Posts tagged with media type">media type</a> can be declared inside a single style sheet. When needing to switch to a different <a href="http://www.whatiscss.com/tag/media-type/" class="st_tag internal_tag" rel="tag" title="Posts tagged with media type">media type</a>, just use @media followed by the <a href="http://www.whatiscss.com/tag/media-type/" class="st_tag internal_tag" rel="tag" title="Posts tagged with media type">media type</a>, ie @media print.</p>
<p>The last way to declare a <a href="http://www.whatiscss.com/tag/media-type/" class="st_tag internal_tag" rel="tag" title="Posts tagged with media type">media type</a> is within the style <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a> of the page. This works just like declaring the <a href="http://www.whatiscss.com/tag/media-type/" class="st_tag internal_tag" rel="tag" title="Posts tagged with media type">media type</a> inside the style sheet, just use @media followed by the<br />
<a href="http://www.whatiscss.com/tag/media-type/" class="st_tag internal_tag" rel="tag" title="Posts tagged with media type">media type</a>.</p>
<p>code-sucks.com<br />
 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.whatiscss.com/media-types/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Centering block element ?</title>
		<link>http://www.whatiscss.com/centering-block-element/</link>
		<comments>http://www.whatiscss.com/centering-block-element/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 14:17:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[How to Make !]]></category>

		<category><![CDATA[block element]]></category>

		<category><![CDATA[centeringi block]]></category>

		<category><![CDATA[element]]></category>

		<guid isPermaLink="false">http://www.whatiscss.com/centering-block-element/</guid>
		<description><![CDATA[There are multiple techniques for centering a block element; and the choice for the technique depends on whether you have the size set in percentages or in more absolute values.
Centering an entire page’s contents

body {

  text-align: center;

  min-width: 500px;

}

#wrapper {

  text-align: left;

  width: 500px;

  margin-left: auto;

  margin-right: auto;

}
Commented example

body {

  /* MSIE 5 doesn't center [...]]]></description>
			<content:encoded><![CDATA[<p>There are multiple <a href="http://www.whatiscss.com/tag/techniques/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Techniques">techniques</a> for centering a block <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a>; and the choice for the technique depends on whether you have the size set in percentages or in more absolute values.</p>
<p><strong>Centering an entire page’s contents</strong></p>
<pre class="sh_css">
body {

  text-align: center;

  min-width: 500px;

}

#wrapper {

  text-align: left;

  width: 500px;

  margin-left: auto;

  margin-right: auto;

}</pre>
<p><strong>Commented example</strong></p>
<pre class="sh_css">
body {

  /* MSIE 5 doesn't center based on auto left/right margins,

     but 'text-align:center' does center top-level divs: */

  text-align: center;

  /* Specify a min-width for the body as wide as the 'wrapper'

     <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a> itself. This prevents negative (i.e. inaccessible)

     left-margins in narrow <a href="http://www.whatiscss.com/tag/browser/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Browser">browser</a> windows when using

     Navigator 6+/Mozilla on Win32: */

  min-width: 500px;

}

#wrapper {

  /* Reset alignment to compensate for &#8216;text-align:center&#8217;: */

  text-align: left;

  /* Specify the width of the <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a>. This should be the same

     as &#8216;body min-width&#8217;: */

  width: 500px;

  /* Set left and right margins to auto, thus centering the

     <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a> in the containing (body) tag: */

  margin-left: auto;

  margin-right: auto;

}</pre>
<p>See also<br />
<a href="http://www.bluerobot.com/web/css/center1.html">http://www.bluerobot.com/web/css/center1.html</a></p>
<p>For more about the centering block <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a>, check out<br />
<a href="http://css-discuss.incutio.com/?page=CenteringBlockElement">http://css-discuss.incutio.com/?page=CenteringBlockElement</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whatiscss.com/centering-block-element/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IE Double Margin Float Bug</title>
		<link>http://www.whatiscss.com/ie-double-margin-float-bug/</link>
		<comments>http://www.whatiscss.com/ie-double-margin-float-bug/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 07:09:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[How to Fix !]]></category>

		<category><![CDATA[bug fix]]></category>

		<guid isPermaLink="false">http://www.whatiscss.com/ie-double-margin-float-bug/</guid>
		<description><![CDATA[ 
It’s an Internet Explorer-exclusive bug wherein an element that is floated – and given a margin in the same direction as the float – ends up with twice the specified margin size. The fix is extremely simple. All you have to do is apply a display: inline rule to your floated element. So you simply [...]]]></description>
			<content:encoded><![CDATA[<p> <img width="400" src="http://www.cssnewbie.com/wp-content/uploads/2008/06/doublemargin-400.gif" alt=" " height="200" /></p>
<p>It’s an Internet Explorer-exclusive bug wherein an <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a> that is floated – and given a margin in the same direction as the float – ends up with twice the specified margin size. The fix is extremely simple. All you have to do is apply a display: inline rule to your floated <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a>. So you simply go from something like this:</p>
<pre class="sh_css">
#content {
float: left;
width: 500px;
padding: 10px 15px; 
margin-left: 20px;
}</pre>
<p>To something like this:</p>
<pre class="sh_css">
#content {
float: left; 
width: 500px; 
padding: 10px 15px; 
margin-left: 20px; 
display: inline;
}</pre>
<p>For more about the double margin bug, check out http://www.cssnewbie.com/double-margin-float-bug</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whatiscss.com/ie-double-margin-float-bug/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Reset CSS Techniques</title>
		<link>http://www.whatiscss.com/cross-browser-reset-css-techniques/</link>
		<comments>http://www.whatiscss.com/cross-browser-reset-css-techniques/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 16:22:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[CSS Coding Techniques]]></category>

		<category><![CDATA[Cross Browser]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Reset CSS]]></category>

		<category><![CDATA[Techniques]]></category>

		<guid isPermaLink="false">http://www.whatiscss.com/cross-browser-reset-css-techniques/</guid>
		<description><![CDATA[ If your are experienced with CSS or have coded a website before, you have probably heard of CSS resets CSS resets are chunks of CSS code designed to make life easier on the coder/designer when coding the website. CSS resets are an extremely useful tool in making your site cross browser comptaible. Today, we [...]]]></description>
			<content:encoded><![CDATA[<p> If your are experienced with <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> or have coded a website before, you have probably heard of <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> resets <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> resets are chunks of <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> code designed to make life easier on the coder/designer when coding the website. <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> resets are an extremely useful tool in making your site <a href="http://www.whatiscss.com/tag/cross-browser/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Cross Browser">cross browser</a> comptaible. Today, we will have a look at 6 popular <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> reset <a href="http://www.whatiscss.com/tag/techniques/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Techniques">techniques</a>.</p>
<h3>Generic Reset</h3>
<pre class="sh_css">* {

 padding: 0;

 margin: 0;

 border: 0;

 }
</pre>
<p> <a href="http://www.whatiscss.com/cross-browser-reset-css-techniques/#more-37" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whatiscss.com/cross-browser-reset-css-techniques/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What Can I Do with CSS?</title>
		<link>http://www.whatiscss.com/what-can-i-do-with-css/</link>
		<comments>http://www.whatiscss.com/what-can-i-do-with-css/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 21:29:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[What is css]]></category>

		<guid isPermaLink="false">http://www.whatiscss.com/what-can-i-do-with-css/</guid>
		<description><![CDATA[CSS can be used to set the style parameters of your entire website. With CSS, you can control the look of your website&#8217;s:

Font types
Font and element colors
Padding
Margins
Element positioning
And much more.

The advantage of CSS is that it allows you to set the formatting of your site without affecting the site&#8217;s underlying structure. By separating the layout [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> can be used to set the style parameters of your entire website. With <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a>, you can control the look of your website&#8217;s:</p>
<ul>
<li><a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">Font</a> types</li>
<li><a href="http://www.whatiscss.com/tag/font/" class="st_tag internal_tag" rel="tag" title="Posts tagged with font">Font</a> and <a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">element</a> colors</li>
<li>Padding</li>
<li>Margins</li>
<li><a href="http://www.whatiscss.com/tag/element/" class="st_tag internal_tag" rel="tag" title="Posts tagged with element">Element</a> positioning</li>
<li>And much more.</li>
</ul>
<p>The advantage of <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> is that it allows you to set the formatting of your site without affecting the site&#8217;s underlying structure. By separating the layout and formatting properties of your website from its underlying logical structure, you can make cosmetic changes to your site without running the risk of altering the integrity of your site&#8217;s data by accident.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whatiscss.com/what-can-i-do-with-css/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CSS Browser Selector</title>
		<link>http://www.whatiscss.com/css-browser-selector/</link>
		<comments>http://www.whatiscss.com/css-browser-selector/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 20:56:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[CSS Tools]]></category>

		<category><![CDATA[Browser]]></category>

		<category><![CDATA[css hack]]></category>

		<category><![CDATA[hack]]></category>

		<category><![CDATA[Scripts]]></category>

		<category><![CDATA[Selector]]></category>

		<guid isPermaLink="false">http://www.whatiscss.com/css-browser-selector/</guid>
		<description><![CDATA[CSS Browser Selector.
A script that allows you to create browser specific CSS to target specific browsers.
]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> <a href="http://www.whatiscss.com/tag/browser/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Browser">Browser</a> <a href="http://www.whatiscss.com/tag/selector/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Selector">Selector</a>.</strong><br />
A script that allows you to create <a href="http://www.whatiscss.com/tag/browser/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Browser">browser</a> specific <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> to target specific browsers. <a href="http://www.whatiscss.com/css-browser-selector/#more-35" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whatiscss.com/css-browser-selector/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Who Owns CSS ?</title>
		<link>http://www.whatiscss.com/who-owns-css/</link>
		<comments>http://www.whatiscss.com/who-owns-css/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 21:27:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[What is css]]></category>

		<guid isPermaLink="false">http://www.whatiscss.com/who-owns-css/</guid>
		<description><![CDATA[On January 12, 1999, Microsoft Corp. (microsoft.com) was granted U.S. Patent #5,860,073. This particular patent, titled &#8220;Style sheets for publishing system(s),&#8221; covers &#8220;the use of style sheets in an electronic publishing system.&#8221; Sound familiar?
The inventors listed in this patent claim to have developed a system whereby &#8220;text, or other media such as graphics, is poured [...]]]></description>
			<content:encoded><![CDATA[<p>On January 12, 1999, Microsoft Corp. (microsoft.com) was granted U.S. Patent #5,860,073. This particular patent, titled &#8220;Style sheets for publishing system(s),&#8221; covers &#8220;the use of style sheets in an electronic publishing system.&#8221; Sound familiar?</p>
<p>The inventors listed in this patent claim to have developed a system whereby &#8220;text, or other media such as graphics, is poured into the display region,&#8221; at which time style sheetsdefined as &#8220;a collection of formatting information, such as fonts and tabs&#8221;are applied. This patent seems to overlap concepts laid out in the W3C&#8217;s specifications for <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> and the Extensible Stylesheet Language (XSL), which have been in development since at least 1994. <a href="http://www.whatiscss.com/who-owns-css/#more-34" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whatiscss.com/who-owns-css/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Free CSS Validator, CSS Formatter, CSS Compressor</title>
		<link>http://www.whatiscss.com/free-css-validator-css-formatter-css-compressor/</link>
		<comments>http://www.whatiscss.com/free-css-validator-css-formatter-css-compressor/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 11:32:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[CSS Tools]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[CSS validator]]></category>

		<category><![CDATA[Formatter]]></category>

		<category><![CDATA[toolbox]]></category>

		<category><![CDATA[validator]]></category>

		<guid isPermaLink="false">http://www.whatiscss.com/free-css-validator-css-formatter-css-compressor/</guid>
		<description><![CDATA[
Free CSS Toolbox is a freeware productivity software for web developers who work with CSS code.
Free CSS Toolbox includes a number of tools for fast-tracking and enhancing the development of style sheet code, such as an advanced CSS Formatter and CSS Validator.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.blumentals.net/csstool/"><img width="400" src="http://www.whatiscss.com/content/2008/General/Free-CSS-Validator-1.jpg" alt="CSS Tool" height="301" /></a></p>
<p>Free <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> <a href="http://www.whatiscss.com/tag/toolbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with toolbox">Toolbox</a> is a freeware productivity software for web developers who work with <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> code.</p>
<p>Free <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> <a href="http://www.whatiscss.com/tag/toolbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with toolbox">Toolbox</a> includes a number of tools for fast-tracking and enhancing the development of style sheet code, such as an advanced <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> <a href="http://www.whatiscss.com/tag/formatter/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Formatter">Formatter</a> and <a href="http://www.whatiscss.com/tag/css/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CSS">CSS</a> <a href="http://www.whatiscss.com/tag/validator/" class="st_tag internal_tag" rel="tag" title="Posts tagged with validator">Validator</a>. <a href="http://www.whatiscss.com/free-css-validator-css-formatter-css-compressor/#more-28" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whatiscss.com/free-css-validator-css-formatter-css-compressor/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
