<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns: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/" version="2.0">

<channel>
	<title>Crazy Xhtml Blog</title>
	
	<link>http://www.crazyxhtml.com/blog</link>
	<description>All about CSS, Xhtml and wedesign...</description>
	<lastBuildDate>Sun, 18 Oct 2009 12:10:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CrazyXhtmlBlog" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="crazyxhtmlblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Optgroup element to group select options</title>
		<link>http://www.crazyxhtml.com/blog/optgroup-element-to-group-select-options/</link>
		<comments>http://www.crazyxhtml.com/blog/optgroup-element-to-group-select-options/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 11:57:42 +0000</pubDate>
		<dc:creator>Crazy Xhtml</dc:creator>
				<category><![CDATA[Xhtml]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[select]]></category>

		<guid isPermaLink="false">http://www.crazyxhtml.com/blog/?p=234</guid>
		<description><![CDATA[Sometimes it is useful to group the options of an HTML select element. Many developers use extra option elements and non-breaking spaces to create the visual appearance of hierarchical options, but there is another way: the often forgotten optgroup element.
To create a group of options, wrap them in an optgroup element. To give the group [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes it is useful to group the options of an HTML <a href="http://www.w3.org/TR/html4/interact/forms.html#edef-SELECT">select</a> element. Many developers use extra <a href="http://www.w3.org/TR/html4/interact/forms.html#edef-OPTION">option</a> elements and non-breaking spaces to create the visual appearance of hierarchical options, but there is another way: the often forgotten <a href="http://www.w3.org/TR/html4/interact/forms.html#edef-OPTGROUP">optgroup</a> element.</p>
<p>To create a group of options, wrap them in an <a href="http://www.w3.org/TR/html4/interact/forms.html#edef-OPTGROUP">optgroup</a> element. To give the group a label, use the <a href="http://">label</a> attribute. Here is a simple example:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;phones&quot;</span>&gt;</span>Select a phone:<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">select</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;phones&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;phones&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">option</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> selected&gt;</span>None<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">option</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">optgroup</span> <span style="color: #000066;">label</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Apple&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">option</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;iphone&quot;</span>&gt;</span>iPhone<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">option</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">optgroup</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">optgroup</span> <span style="color: #000066;">label</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Nokia&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">option</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;n91&quot;</span>&gt;</span>N91<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">option</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">option</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;e60&quot;</span>&gt;</span>E60<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">option</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">option</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;6300&quot;</span>&gt;</span>6300<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">option</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">optgroup</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">select</span>&gt;</span></pre></td></tr></table></div>

<p>And here is how the browser you are currently using will render the above example:</p>
<p><label for="phones">Select a phone:</label><br />
<select name="phones" id="phones">
	<option value="" selected>None</option><br />
	<optgroup label="Apple"><br />
		<option value="iphone">iPhone</option><br />
	</optgroup><br />
	<optgroup label="Nokia"><br />
		<option value="n91">N91</option><br />
		<option value="e60">E60</option><br />
		<option value="6300">6300</option><br />
	</optgroup><br />
</select>
<p>One caveat is that assistive technology support for the <code>optgroup </code>element and the <code>label</code> attribute is inconsistent, as noted in <a href="http://www.webaim.org/techniques/forms/controls.php#select">Creating Accessible Forms</a> at WebAIM and the WCAG 2 technique <a href="http://www.w3.org/TR/WCAG20-TECHS/H85.html">H85: Using OPTGROUP to group OPTION elements inside a SELECT</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazyxhtml.com/blog/optgroup-element-to-group-select-options/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is there a perfect web design width?</title>
		<link>http://www.crazyxhtml.com/blog/is-there-a-perfect-web-design-width/</link>
		<comments>http://www.crazyxhtml.com/blog/is-there-a-perfect-web-design-width/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 13:01:30 +0000</pubDate>
		<dc:creator>Crazy Xhtml</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[width]]></category>
		<category><![CDATA[Xhtml]]></category>

		<guid isPermaLink="false">http://www.crazyxhtml.com/blog/?p=227</guid>
		<description><![CDATA[It’s hard for me to accept that visitors have the final say in how websites look. I like my designs to step into the world the way I envisioned them, but that’s just not possible on the web. People pop in with different sized monitors set to different color depths and resolutions using different browsers [...]]]></description>
			<content:encoded><![CDATA[<p>It’s hard for me to accept that visitors have the final say in how websites look. I like my designs to step into the world the way I envisioned them, but that’s just not possible on the web. People pop in with different sized monitors set to different color depths and resolutions using different browsers with different window sizes. There are way too many variables that web designers have no control over.</p>
<p>So I tend to stick with fixed-width layouts, a 960px web design width in particular. It reduces the effects of the visitor x-factor and it’s just about perfect for any website.</p>
<p><strong>960px for the largest audience and the most flexibility</strong><br />
Below is a screenshot of the screen <a href="http://www.w3counter.com/globalstats.php">resolution statistics</a> from W3Counter for September 2009. (Percentages were calculated from traffic to over 27,000 websites.)</p>
<p><a href="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/10/resolution-statistics.png"><img class="alignleft size-full wp-image-228" title="resolution statistics" src="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/10/resolution-statistics.png" alt="resolution statistics" width="379" height="342" /></a>The most popular screen resolution for the last several years has been 1024×768. And that’s been trailed by even larger resolutions. Granted, the numbers may change depending on the audience for a website. Sites dedicated to design, photography, or technology, for instance, will show a higher percentage of large screens. But, if you want a website to stay true to your vision for the largest number of visitors, then 1024×768 is the starting point.</p>
<p>From there, you have to take into account all the kooky things visitors can do with their browsers and what design options a particular size offers. This is where a 960px web design width shines.</p>
<ul>
<li><strong>It leaves room for browser chrome and window resizing</strong> – The title bar, search box, scrollbars, menus, and toolbars all take up space within the 1024×768 viewing area. You also have to account for the fact that some visitors won’t have their browser windows maximized, so you may lose even more space. A 960px width allows you to pack in a lot of information and still leaves room for inconsistencies in window size.</li>
<li><strong>It’s evenly divided by 2, 3, 4, 5, 6, 8, 10, 12, 15, 16, 20, 24, and more</strong> – That leads to a staggering amount of grid options. Whether you’re into complex magazine-style layouts or just want a simple two-, three-, or four-column layout, a 960px width makes it easy to create a well-proportioned design.</li>
</ul>
<p><strong>What about 800×600 screen resolutions?</strong><br />
Some businesses and government agencies have been slow to upgrade from small displays and ancient browsers. If you’re sure the majority of your audience will sit in front of screens with an 800×600 resolution, then it’s a design limitation you have to live with.</p>
<p>If, however, you just want to accommodate every last visitor (I know the feeling), there’s a workaround. Create your design with a width of 960px, then position the navigation on the right side of the layout. Even though visitors with small screens will see a horizontal scrollbar, the full width of the content area should be visible on every page without scrolling. It’s a compromise, but that’s why I said a 960px width is just about perfect.</p>
<p>As web designers, we don’t have the luxury of creating a pixel-perfect layout for every visitor. But a 960px web design width can go a long way toward putting control over finished sites back in our hands.</p>
<p class="source"><a rel="nofollow" target="_blank" href="http://www.fivefingercoding.com/web-design/is-there-a-perfect-web-design-width">Five Finger Coding</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazyxhtml.com/blog/is-there-a-perfect-web-design-width/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Border-image: using images for your border</title>
		<link>http://www.crazyxhtml.com/blog/border-image-using-images-for-your-border/</link>
		<comments>http://www.crazyxhtml.com/blog/border-image-using-images-for-your-border/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 16:04:18 +0000</pubDate>
		<dc:creator>Crazy Xhtml</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[border]]></category>
		<category><![CDATA[css3]]></category>

		<guid isPermaLink="false">http://www.crazyxhtml.com/blog/?p=202</guid>
		<description><![CDATA[Another exciting new border feature of CSS3 is the property border-image. With this feature you can define an image to be used instead of the normal border of an element. This feature is actually split up into a couple of properties: border-image and border-corner-image.
These two values are shorthands for:
border-image:
border-top-image
border-right-image
border-bottom-image
border-left-image
border-corner-image:
border-top-left-image
border-top-right-image
border-bottom-left-image
border-bottom-right-image
border-image currently does not work in Opera [...]]]></description>
			<content:encoded><![CDATA[<p>Another exciting new border feature of CSS3 is the property <code>border-image</code>. With this feature you can define an image to be used instead of the normal border of an element. This feature is actually split up into a couple of properties: border-image and border-corner-image.<br />
These two values are shorthands for:</p>
<p><code><strong>border-image:</strong><br />
border-top-image<br />
border-right-image<br />
border-bottom-image<br />
border-left-image</code></p>
<p><code><strong>border-corner-image:</strong><br />
border-top-left-image<br />
border-top-right-image<br />
border-bottom-left-image<br />
border-bottom-right-image</code></p>
<p><code>border-image</code> currently does not work in Opera and IE. <img src='http://www.crazyxhtml.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Let&#8217;s start. I use this image for borders:<br />
<img src="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/09/border.gif" alt="Border-image: using images for your border" /></p>
<p>The syntax to use it is:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">-o-border-image<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'border.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc66cc;">27</span> round round<span style="color: #00AA00;">;</span>
-icab-border-image<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'border.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc66cc;">27</span> round round<span style="color: #00AA00;">;</span>
-khtml-border-image<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'border.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc66cc;">27</span> round round<span style="color: #00AA00;">;</span>
-moz-border-image<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'border.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc66cc;">27</span> round round<span style="color: #00AA00;">;</span>
-webkit-border-image<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'border.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc66cc;">27</span> round round<span style="color: #00AA00;">;</span>
border-image<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'border.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc66cc;">27</span> round round<span style="color: #00AA00;">;</span></pre></td></tr></table></div>

<p>Which results in:</p>
<p id="border_image_1">Lorem ipsum dolor sit amet.</p>
<p>Or:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">-o-border-image<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'border.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc66cc;">27</span> stretch stretch<span style="color: #00AA00;">;</span>
-icab-border-image<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'border.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc66cc;">27</span> stretch stretch<span style="color: #00AA00;">;</span>
-khtml-border-image<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'border.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc66cc;">27</span> stretch stretch<span style="color: #00AA00;">;</span>
-moz-border-image<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'border.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc66cc;">27</span> stretch stretch<span style="color: #00AA00;">;</span>
-webkit-border-image<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'border.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc66cc;">27</span> stretch stretch<span style="color: #00AA00;">;</span>
border-image<span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">'border.gif'</span><span style="color: #00AA00;">&#41;</span> <span style="color: #cc66cc;">27</span> stretch stretch<span style="color: #00AA00;">;</span></pre></td></tr></table></div>

<p>Which then results in:</p>
<p id="border_image_2">Lorem ipsum dolor sit amet.</p>
<p>For those of you not so lucky as to be able to see this, here are screenshots of the two examples.</p>
<p>The First Example:<br />
<img src="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/09/border-image1.gif" alt="Border-image: using images for your border" /></p>
<p>The Second Example:<br />
<img src="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/09/border-image2.gif" alt="Border-image: using images for your border" /></p>
<p>Also use:<br />
-moz-border-image &#8211; for Firefox<br />
-o-border-image &#8211; Opera<br />
-khtml-border-image &#8211; KDE<br />
-webkit-border-image &#8211; Safari<br />
-icab-border-image &#8211; iCab</p>
<p>Read an original specification <a target="_blank" href="http://www.w3.org/TR/css3-background/#the-border-image">here</a></p>
<p class="source"><a rel="nofollow" target="_blank" href="http://www.css3.info/preview/border-image/">CSS3 info</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazyxhtml.com/blog/border-image-using-images-for-your-border/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Opera 10.0 Released</title>
		<link>http://www.crazyxhtml.com/blog/new-opera-10-0-released/</link>
		<comments>http://www.crazyxhtml.com/blog/new-opera-10-0-released/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 18:11:38 +0000</pubDate>
		<dc:creator>Crazy Xhtml</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Opera]]></category>

		<guid isPermaLink="false">http://www.crazyxhtml.com/blog/?p=197</guid>
		<description><![CDATA[We can download NEW Opera 10.0.
Opera Software’s newest browser, Opera 10 with Turbo, was downloaded 10 million times during the first week of release. With record download rates, Opera 10 is already in use by millions of users around the world.
New to the Opera 10 browser is the concept of turbo browsing under circumstances of [...]]]></description>
			<content:encoded><![CDATA[<p>We can download NEW Opera 10.0.</p>
<p>Opera Software’s newest browser, Opera 10 with Turbo, was downloaded 10 million times during the first week of release. With record download rates, Opera 10 is already in use by millions of users around the world.</p>
<p>New to the Opera 10 browser is the concept of turbo browsing under circumstances of low bandwidth. Low bandwidth is a universal factor in multiple browsing situations, for example, on a train, in a hotel or in areas with limited connectivity. With the launch of Opera 10 with Turbo, Opera has pointedly addressed the needs of Web users when browsing on slow or congested networks.</p>
<ul>
<li>Exclusive Opera Turbo compression boosts slow connection speeds</li>
<li>Innovative visual tabs displays Web sites in thumbnails</li>
<li>Intuitive, sleek design</li>
<li>Easy-to-personalize Speed Dial visual bookmarks</li>
<li>Everything built-in, no need for extensions</li>
<li>It&#8217;s free!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.crazyxhtml.com/blog/new-opera-10-0-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Awesome Resources to Test Cross Browser Compatibility of Your Website</title>
		<link>http://www.crazyxhtml.com/blog/awesome-resources-to-test-cross-browser-compatibility-of-your-website/</link>
		<comments>http://www.crazyxhtml.com/blog/awesome-resources-to-test-cross-browser-compatibility-of-your-website/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 17:27:17 +0000</pubDate>
		<dc:creator>Crazy Xhtml</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Css]]></category>
		<category><![CDATA[Xhtml]]></category>

		<guid isPermaLink="false">http://www.crazyxhtml.com/blog/?p=170</guid>
		<description><![CDATA[When there are many browsers available for the users to surf the internet, it becomes evident for you to check the Cross Browser Compatibility of your website. Different people use different operating systems and browsers and you cannot control their wish to surf your website on one particular browser, just because your website does not [...]]]></description>
			<content:encoded><![CDATA[<p>When there are many browsers available for the users to surf the internet, it becomes evident for you to check the Cross Browser Compatibility of your website. Different people use different operating systems and browsers and you cannot control their wish to surf your website on one particular browser, just because your website does not look well on it. Though among many available browsers, Mozilla and I.E are the most used browsers around the world. But still while designing a website web designers make it sure to check the browser compatibility of the website in all browsers.</p>
<p>To rescue the web designers from this aching job of testing browser compatibility in different browsers there are few websites which offer this service. On these websites you can check the compatibility of your website in all desired browsers. You can find these websites below:</p>
<table border="0" width="100%">
<tbody>
<tr>
<td><strong><a href="http://browsershots.org/" target="_blank">Browsershots</a></strong><br />
<a href="http://browsershots.org/"><img class="alignnone size-full wp-image-175" title="Browsershots" src="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/09/pic_browsershots_170.jpg" alt="Browsershots" width="200" height="157" /></a></td>
<td><strong><a href="http://www.browsrcamp.com/" target="_blank">Browsershots</a></strong><br />
<a href="http://www.browsrcamp.com/"><img class="alignnone size-full wp-image-176" title="browsrcamp" src="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/09/browsrcamp.jpg" alt="browsrcamp" width="200" height="150" /></a></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td><strong><a href="http://spoon.net/browsers/" target="_blank">Spoon</a></strong><br />
<a href="http://spoon.net/browsers/"><img class="alignnone size-full wp-image-180" title="spoon" src="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/09/pic_spoon.jpg" alt="spoon" width="200" height="150" /></a></td>
<td><strong><a href="http://crossbrowsertesting.com/" target="_blank">CrossBrowserTesting</a></strong><br />
<a href="http://crossbrowsertesting.com/"><img class="alignnone size-full wp-image-181" title="crossbrowsertesting" src="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/09/pic_crossbrowsertesting_170.jpg" alt="crossbrowsertesting" width="200" height="150" /></a></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td><strong><a href="http://ipinfo.info/netrenderer/" target="_blank">NetRenderer</a></strong><br />
<a href="http://ipinfo.info/netrenderer/"><img class="alignnone size-full wp-image-187" title="netrenderer" src="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/09/pic_netrenderer_170.jpg" alt="netrenderer" width="200" height="150" /></a></td>
<td><strong><a href="http://litmusapp.com/" target="_blank">Litmus</a></strong><br />
<a href="http://litmusapp.com/"><img class="alignnone size-full wp-image-188" title="Litmus" src="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/09/pic_litmus_170.jpg" alt="Litmus" width="200" height="150" /></a></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td><strong><a href="http://www.browsercam.com/" target="_blank">BrowserCam</a></strong><br />
<a href="http://www.browsercam.com/"><img class="alignnone size-full wp-image-190" title="browsercam" src="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/09/pic_browsercam_170.jpg" alt="browsercam" width="200" height="150" /></a></td>
<td></td>
</tr>
</tbody>
</table>
<div class="source"><a rel="nofollow" href="http://www.bestpsdtohtml.com/">The Best from PSD to HTML World!</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.crazyxhtml.com/blog/awesome-resources-to-test-cross-browser-compatibility-of-your-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3.5</title>
		<link>http://www.crazyxhtml.com/blog/firefox-3-5/</link>
		<comments>http://www.crazyxhtml.com/blog/firefox-3-5/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 12:11:15 +0000</pubDate>
		<dc:creator>Crazy Xhtml</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://www.crazyxhtml.com/blog/?p=157</guid>
		<description><![CDATA[WHAT IS NEW!
Private Browsing
Sometimes it’s nice to go undercover. When this feature is enabled, you won’t leave a single browsing fingerprint behind for others to discover. You can slip in and out of private browsing mode quickly, so it’s easy to return to what you were doing before as if nothing ever happened (you can [...]]]></description>
			<content:encoded><![CDATA[<p><strong>WHAT IS NEW!</strong></p>
<p><strong>Private Browsing</strong><br />
Sometimes it’s nice to go undercover. When this feature is enabled, you won’t leave a single browsing fingerprint behind for others to discover. You can slip in and out of private browsing mode quickly, so it’s easy to return to what you were doing before as if nothing ever happened (you can also browse privately all the time).</p>
<p><strong>Forget This Site</strong><br />
Having second thoughts about having visited a certain Web site? With this feature, you can remove every trace of that site from your browser—no questions asked!</p>
<p><strong>Super Speed</strong><br />
<img src="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/07/firefox3_5_speed.gif" alt="" class="alignright" />Fasten your seatbelt: Firefox 3.5 includes the TraceMonkey JavaScript engine, which gives the browser dramatically better performance than ever before. Firefox has always been fast, but this is the fastest Firefox ever (more than twice as fast as Firefox 3, and ten times as fast as Firefox 2), meaning Web applications like email, photo sites, online word processors and more will feel snappier and more responsive.</p>
<p><strong>Easy Organization</strong><br />
Get your sites in order. Simply arrange the order of your tabs by dragging them in one swift move of your mouse. Or, if your browser window is getting cluttered with too many tabs, just drag a tab out of its existing spot and it will automatically open up in a new window.</p>
<p><strong>Downloadable Fonts</strong><br />
View a wider variety of fonts on Web sites while you surf. Site designers and developers can create custom fonts that will be displayed and rendered properly even if you don’t have the font installed on your computer.</p>
<p><strong>Location-Aware Browsing</strong><br />
Now Firefox can tell websites where you’re located so you can find info that’s more relevant and more useful (for example, getting directions or finding restaurants near you). It&#8217;s all optional &#8211; Firefox doesn&#8217;t share your location without your permission &#8211; and is done with the utmost respect for your privacy.</p>
<p><strong>Open Video and Audio</strong><br />
Introducing the future of online media! Firefox is the first browser to support open video and audio formats, allowing practically limitless new ways for sites to display rich content. The open formats also allow modern web pages to display media without requiring a plug-in or a proprietary software download.</p>
<p>And many other&#8230; Read more <a href="http://www.mozilla-europe.org/en/firefox/features/">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazyxhtml.com/blog/firefox-3-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Center and Middle Alignment for a Website using CSS</title>
		<link>http://www.crazyxhtml.com/blog/center-and-middle-alignment-for-a-website-using-css/</link>
		<comments>http://www.crazyxhtml.com/blog/center-and-middle-alignment-for-a-website-using-css/#comments</comments>
		<pubDate>Sun, 31 May 2009 07:48:41 +0000</pubDate>
		<dc:creator>Crazy Xhtml</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[Xhtml]]></category>

		<guid isPermaLink="false">http://www.crazyxhtml.com/blog/?p=140</guid>
		<description><![CDATA[Different websites have different align position in the browser. Like top-centered, middle-centered and often left-top position. This is tutorial will show you how to align website to any part of the screen. I think i will be helpful for beginners.
For all examples I will use same Xhtml code.

1
2
3
4
5
6
7
8
9
10
11
12
&#60; !DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Strict//EN&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>Different websites have different align position in the browser. Like top-centered, middle-centered and often left-top position. This is tutorial will show you how to align website to any part of the screen. I think i will be helpful for beginners.</p>
<p>For all examples I will use same Xhtml code.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt; !DOCTYPE html PUBLIC <span style="color: #ff0000;">&quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;</span> <span style="color: #ff0000;">&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">html</span> xmlns<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.w3.org/1999/xhtml&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Content-Type&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/html; charset=utf-8&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">title</span>&gt;</span>Example - Crazy Xhtml<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">title</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">style</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;all&quot;</span>&gt;</span>@import &quot;style.css&quot;;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">style</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;wrapper&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">html</span>&gt;</span></pre></td></tr></table></div>

<p>All changes I am doing in the style.css in <em>#wrapper{ … }</em></p>
<p>Let’s define standard styles for wrapper block of our small website. I am adding borders and background. It helps to see website position.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#wrapper</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">400px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCC</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#E9E9E9</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>Center Middle Align (Center Horizontal)</strong></p>
<p>Use next  <em>#wrapper</em> styles:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#wrapper</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">400px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCC</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#E9E9E9</span><span style="color: #00AA00;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">50</span>%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;"><span style="color: #cc66cc;">50</span>%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-200px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-150px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>So, in my example <em>width=400px</em>, so for  margin-left I calculated value as this 400/2=200. The same do for <em>margin-top</em> – 300/2=150.</p>
<p>You can download example <a href="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/05/example_center_middle_align.zip">here</a></p>
<p><strong>Center  Bottom Align</strong></p>
<p>Use next  <em>#wrapper</em> styles:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#wrapper</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">400px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCC</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#E9E9E9</span><span style="color: #00AA00;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">50</span>%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">-200px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>The main idea is same, but I am using <em>bottom=0</em> to move <em>#wrapper</em> block to the bottom of the browser. </p>
<p>You can download example <a href="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/05/example_center_bottom_align.zip">here</a></p>
<p><strong>Center Top Align</strong></p>
<p>Use next  <em>#wrapper</em> styles:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#wrapper</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">400px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCC</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#E9E9E9</span><span style="color: #00AA00;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>If you want, you can add top margin for <em>#wrapper</em>. For example, I add 20px:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#wrapper</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">400px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCC</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#E9E9E9</span><span style="color: #00AA00;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span> <span style="color: #993333;">auto</span> <span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>You can download example <a href="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/05/example_center_top_align.zip">here</a></p>
<p><strong>Left Middle Align</strong></p>
<p>Use next  <em>#wrapper</em> styles:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#wrapper</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">400px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCC</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#E9E9E9</span><span style="color: #00AA00;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">50</span>%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span><span style="color: #933;">-150px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>The main thing is to correct calculate of <em>margin-top</em>. </p>
<p>You can download example <a href="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/05/example_left_middle_align.zip">here</a></p>
<p><strong>Right Middle Align</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#wrapper</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">400px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">300px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCC</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#E9E9E9</span><span style="color: #00AA00;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">50</span>%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span><span style="color: #933;">-150px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>The code the same as above, but I add <em>right:0</em> to move <em>#wrapper</em> to right part of browser. </p>
<p>You can download example <a href="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/05/example_right_middle_align.zip">here</a></p>
<p>In Conclusion, I think you can create code for Right-Top, Right-Bottom, Left-Top and Left-Bottom easily using my code above.</p>
<p>Thanks for the reading.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazyxhtml.com/blog/center-and-middle-alignment-for-a-website-using-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simple CSS position drop text shadows</title>
		<link>http://www.crazyxhtml.com/blog/simple-css-position-drop-text-shadows/</link>
		<comments>http://www.crazyxhtml.com/blog/simple-css-position-drop-text-shadows/#comments</comments>
		<pubDate>Sun, 10 May 2009 06:41:59 +0000</pubDate>
		<dc:creator>Crazy Xhtml</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[Xhtml]]></category>

		<guid isPermaLink="false">http://www.crazyxhtml.com/blog/?p=127</guid>
		<description><![CDATA[We have many major browsers like Internet Explorer, Opera, Firefox, Safari and SeaMonkey.  I am really tired of using different CSS hacks and code for each of these browsers. So I want to offer you one universal CSS code which will help us to make shadows for text.
This is a simple example of Creating [...]]]></description>
			<content:encoded><![CDATA[<p>We have many major browsers like Internet Explorer, Opera, Firefox, Safari and SeaMonkey.  I am really tired of using different CSS hacks and code for each of these browsers. So I want to offer you one universal CSS code which will help us to make shadows for text.</p>
<p>This is a simple example of Creating Cross Browser Compatible CSS Text Shadows. We will not use Images, only clear CSS code which work for all browsers.</p>
<p>Let’s create xhtml code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
   <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;shadow&quot;</span>&gt;</span>Cross Browser Compatible CSS Text Shadows<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span>
   <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span>&gt;</span>Cross Browser Compatible CSS Text Shadows<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span></pre></td></tr></table></div>

<p>I do not know if it is good for SEO, but for this method you need to duplicate content where you want add shadows. I think it is good for SEO, because you will not do shadows for ALL content of your website. <img src='http://www.crazyxhtml.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Next step: add this CSS code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">.<span style="color: #993333;">text</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">10</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
.shadow<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#cccccc</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">5</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">2px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">2px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>I think this is a very simple way to use shadows.</p>
<p>You can download an example <a href="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/05/example_simple_css_drop_shadows_position.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazyxhtml.com/blog/simple-css-position-drop-text-shadows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple CSS drop text shadows</title>
		<link>http://www.crazyxhtml.com/blog/simple-css-drop-text-shadows/</link>
		<comments>http://www.crazyxhtml.com/blog/simple-css-drop-text-shadows/#comments</comments>
		<pubDate>Wed, 06 May 2009 08:14:30 +0000</pubDate>
		<dc:creator>Crazy Xhtml</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[Xhtml]]></category>

		<guid isPermaLink="false">http://www.crazyxhtml.com/blog/?p=113</guid>
		<description><![CDATA[This is an example of Creating Cross Browser Compatible CSS Text Shadows. We will not use Images, only clear CSS code which work for all browsers.
Each browser uses its methods, so we need to create styles for each browser. Let’s start with default xhtml code which we will use for our example.

1
2
3
4
5
6
7
8
9
10
11
12
13
&#60; !DOCTYPE html PUBLIC [...]]]></description>
			<content:encoded><![CDATA[<p>This is an example of Creating Cross Browser Compatible CSS Text Shadows. We will not use Images, only clear CSS code which work for all browsers.</p>
<p>Each browser uses its methods, so we need to create styles for each browser. Let’s start with default xhtml code which we will use for our example.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt; !DOCTYPE html PUBLIC <span style="color: #ff0000;">&quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;</span> <span style="color: #ff0000;">&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">html</span> xmlns<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.w3.org/1999/xhtml&quot;</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Content-Type&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/html; charset=utf-8&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">title</span>&gt;</span>Example - Crazy Xhtml<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">title</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">style</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;all&quot;</span>&gt;</span>@import &quot;style.css&quot;;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">style</span>&gt;</span>
	<span style="color: #808080; font-style: italic;">&lt;!--[if lte IE 8]&gt;&lt;style media=&quot;screen,projection&quot; type=&quot;text/css&quot;&gt;@import &quot;ie.css&quot;;&lt;/style&gt;&lt; ![endif]--&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;shadow&quot;</span>&gt;</span>Cross Browser Compatible CSS Text Shadows<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">html</span>&gt;</span></pre></td></tr></table></div>

<p><strong>All versions of Internet Explorer</strong></p>
<p>I have added special code which will load stylesheet file only for Internet Explorer, like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!--[if lte IE 8]&gt;&lt;style media=&quot;screen,projection&quot; type=&quot;text/css&quot;&gt;@import &quot;ie.css&quot;;&lt;/style&gt;&lt; ![endif]--&gt;</span></pre></td></tr></table></div>

<p>So, enter to ie.css next CSS style:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.shadow</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
	filter<span style="color: #00AA00;">:</span> Shadow<span style="color: #00AA00;">&#40;</span>Color<span style="color: #00AA00;">=</span><span style="color: #cc00cc;">#cccccc</span><span style="color: #00AA00;">,</span> Direction<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">120</span><span style="color: #00AA00;">,</span> Strength<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">4</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Filter is supported only by Internet Explorer. Also for Internet Explorer 8 will add next code too.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.shadow</span><span style="color: #3333ff;">:before </span><span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">''</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><strong>Firefox ,  Chrome, Safari,  Opera and SeaMonkey</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">.shadow<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span><span style="color: #993333;">nowrap</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.shadow</span><span style="color: #3333ff;">:before </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">-25px</span> <span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#cccccc</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">content</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'Cross Browser Compatible CSS Text Shadows'</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p><em>white-space:nowrap;</em> &#8211; this is a hack I am using to fix a small bug in Opera and Safari.</p>
<p>By the way, the next code you can use only for Safari and Opera:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.shadow</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">text-shadow</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#cccccc</span> <span style="color: #933;">2px</span> <span style="color: #933;">2px</span> <span style="color: #933;">2px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>This is a method rendering more beauty and real shadows.</p>
<p>Lol, last code is very simple. Why don’t all browsers use it? <img src='http://www.crazyxhtml.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Maybe next generation of Firefox and Internet Explorer will use it too.</p>
<p>You can download an example <a href="http://www.crazyxhtml.com/blog/wp-content/uploads/2009/05/example_simple_css_drop_text_shadows.zip">here</a>.</p>
<p>P.S. Read <a href="http://www.crazyxhtml.com/blog/simple-css-position-drop-text-shadows/">here</a> about a very easy way how to add shadows for all Browsers using only one xhtml/css code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazyxhtml.com/blog/simple-css-drop-text-shadows/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Firefox 3.0.10 Released</title>
		<link>http://www.crazyxhtml.com/blog/firefox-3010-released/</link>
		<comments>http://www.crazyxhtml.com/blog/firefox-3010-released/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 13:49:34 +0000</pubDate>
		<dc:creator>Crazy Xhtml</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>

		<guid isPermaLink="false">http://www.crazyxhtml.com/blog/?p=102</guid>
		<description><![CDATA[Firefox 3.0.10 fixes two issues found in Firefox 3.0.9:

Crash in nsTextFrame::ClearTextRun()
Fixed a major stability issue.

You can read more here
]]></description>
			<content:encoded><![CDATA[<p>Firefox 3.0.10 fixes two issues found in Firefox 3.0.9:</p>
<ul>
<li>Crash in nsTextFrame::ClearTextRun()</li>
<li>Fixed a major stability issue.</li>
</ul>
<p>You can read more <a href="http://www.mozilla-europe.org/en/firefox/3.0.10/releasenotes/">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.crazyxhtml.com/blog/firefox-3010-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
