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

<channel>
	<title>Dottoro&#039;s Blog</title>
	<atom:link href="http://help.dottoro.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://help.dottoro.com/blog</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sun, 17 Jul 2011 23:13:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Large selection lists and fast string concatenation in JavaScript</title>
		<link>http://help.dottoro.com/blog/large-selection-lists-and-fast-string-concatenation-in-javascript/</link>
		<comments>http://help.dottoro.com/blog/large-selection-lists-and-fast-string-concatenation-in-javascript/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 14:28:38 +0000</pubDate>
		<dc:creator>Dottoro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://help.dottoro.com/blog/?p=24</guid>
		<description><![CDATA[﻿ Sometimes a selection list needs to be filled dynamically depending on the state of another control (e.g. when the user selects a country and a selection list must contain the cities in this country, or when the user selects a singer and a selection list must contain his/her songs). Unfortunately, the usual way of ...]]></description>
			<content:encoded><![CDATA[﻿	Sometimes a <a target="_blank" href="http://help.dottoro.com/lhcecfea.php">selection list</a> needs to be filled dynamically depending on the state of another control 
	(e.g. when the user selects a country and a <a target="_blank" href="http://help.dottoro.com/lhcecfea.php">selection list</a> must contain the cities in this country,
	or when the user selects a singer and a <a target="_blank" href="http://help.dottoro.com/lhcecfea.php">selection list</a> must contain his/her songs).
	<br />
	Unfortunately, the usual way of creating a <a target="_blank" href="http://help.dottoro.com/lhcecfea.php">selection list</a> with a large number of items is quite slow in Internet Explorer.
	In the followings, you can find solutions and speed tests for the problem (the speed test was run on an average computer).
<span id="more-24"></span>

	<h3>Example 1, the usual way.</h3>

	<div style="margin-left:24px;">

		<div style="margin-bottom:10px;">
			This example uses the <a target="_blank" href="http://help.dottoro.com/ljgtgjrs.php">createElement</a> and <a target="_blank" href="http://help.dottoro.com/ljvnuman.php">appendChild</a> methods to create a <a target="_blank" href="http://help.dottoro.com/lhcecfea.php">selection list</a> with 2000 <a target="_blank" href="http://help.dottoro.com/lhwrsipm.php">options</a>:
		</div>
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer"><pre class="dr_hl_lang_jscript"><span class="jscript_keyword">var</span><span class="jscript_def"> select </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_prop">document</span><span class="jscript_op">.</span><span class="jscript_method">createElement</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_string">"select"</span><span class="jscript_op">);</span><span class="jscript_def">
</span><span class="jscript_keyword">for</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_keyword">var</span><span class="jscript_def"> i </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_number">0</span><span class="jscript_op">;</span><span class="jscript_def"> i </span><span class="jscript_op">&lt;</span><span class="jscript_def"> </span><span class="jscript_number">2000</span><span class="jscript_op">;</span><span class="jscript_def"> i</span><span class="jscript_op">++)</span><span class="jscript_def"> </span><span class="jscript_op">{</span><span class="jscript_def">
    </span><span class="jscript_keyword">var</span><span class="jscript_def"> option </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_prop">document</span><span class="jscript_op">.</span><span class="jscript_method">createElement</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_string">"option"</span><span class="jscript_op">);</span><span class="jscript_def">
    option</span><span class="jscript_op">.</span><span class="jscript_prop">text</span><span class="jscript_def"> </span><span class="jscript_op">=</span><span class="jscript_def"> i</span><span class="jscript_op">;</span><span class="jscript_def">
    select</span><span class="jscript_op">.</span><span class="jscript_method">appendChild</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_def">option</span><span class="jscript_op">);</span><span class="jscript_def">
</span><span class="jscript_op">}</span><span class="jscript_def">
container</span><span class="jscript_op">.</span><span class="jscript_method">appendChild</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_def">select</span><span class="jscript_op">);</span><span class="jscript_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('http://help.dottoro.com/blog/external/large_selection_lists/examples/appendChild.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/javascript.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>

		<p style="font-size:16px; margin:30px 0px 24px 0px;">Speed test:</p>
		<div style="margin-left:24px;">
			<table class="simple_table grey" >
				<thead>
					<tr>
						<th>Browser</th>
						<th>Time</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>IE 6</td>
						<td>1802 ms</td>
					</tr>
					<tr>
						<td>IE 7</td>
						<td>1953 ms</td>
					</tr>
					<tr>
						<td>IE 8</td>
						<td>594 ms</td>
					</tr>
					<tr>
						<td>Firefox</td>
						<td>90 ms</td>
					</tr>
					<tr>
						<td>Opera</td>
						<td>31 ms</td>
					</tr>
					<tr>
						<td>Safari</td>
						<td>5 ms</td>
					</tr>
				</tbody>
			</table>
		</div>

		<p style="font-size:16px; margin:30px 0px 24px 0px;">Remarks:</p>
		<div style="margin-left:24px;">
			The example does not work properly in Internet Explorer, it creates a <a target="_blank" href="http://help.dottoro.com/lhcecfea.php">selection list</a> with 2000 empty <a target="_blank" href="http://help.dottoro.com/lhwrsipm.php">options</a>.
		</div>
	</div>


	<h3>Example 2</h3>

	<div style="margin-left:24px;">
		<div style="margin-bottom:10px;">
			This example uses the <a target="_blank" href="http://help.dottoro.com/ljgtgjrs.php">createElement</a> and <a target="_blank" href="http://help.dottoro.com/ljawhlcu.php#add">add</a> methods to create a <a target="_blank" href="http://help.dottoro.com/lhcecfea.php">selection list</a> with 2000 <a target="_blank" href="http://help.dottoro.com/lhwrsipm.php">options</a>:
		</div>
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer"><pre class="dr_hl_lang_jscript"><span class="jscript_keyword">var</span><span class="jscript_def"> select </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_prop">document</span><span class="jscript_op">.</span><span class="jscript_method">createElement</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_string">"select"</span><span class="jscript_op">);</span><span class="jscript_def">
</span><span class="jscript_keyword">for</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_keyword">var</span><span class="jscript_def"> i </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_number">0</span><span class="jscript_op">;</span><span class="jscript_def"> i </span><span class="jscript_op">&lt;</span><span class="jscript_def"> </span><span class="jscript_number">2000</span><span class="jscript_op">;</span><span class="jscript_def"> i</span><span class="jscript_op">++)</span><span class="jscript_def"> </span><span class="jscript_op">{</span><span class="jscript_def">
    </span><span class="jscript_keyword">var</span><span class="jscript_def"> option </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_prop">document</span><span class="jscript_op">.</span><span class="jscript_method">createElement</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_string">"option"</span><span class="jscript_op">);</span><span class="jscript_def">
    option</span><span class="jscript_op">.</span><span class="jscript_prop">text</span><span class="jscript_def"> </span><span class="jscript_op">=</span><span class="jscript_def"> i</span><span class="jscript_op">;</span><span class="jscript_def">
    select</span><span class="jscript_op">.</span><span class="jscript_prop">options</span><span class="jscript_op">.</span><span class="jscript_method">add</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_def">option</span><span class="jscript_op">);</span><span class="jscript_def">
</span><span class="jscript_op">}</span><span class="jscript_def">
container</span><span class="jscript_op">.</span><span class="jscript_method">appendChild</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_def">select</span><span class="jscript_op">);</span><span class="jscript_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('http://help.dottoro.com/blog/external/large_selection_lists/examples/add.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/javascript.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>

		<p style="font-size:16px; margin:30px 0px 24px 0px;">Speed test:</p>
		<div style="margin-left:24px;">
			<table class="simple_table grey" >
				<thead>
					<tr>
						<th>Browser</th>
						<th>Time</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>IE 6</td>
						<td>2703 ms</td>
					</tr>
					<tr>
						<td>IE 7</td>
						<td>3000 ms</td>
					</tr>
					<tr>
						<td>IE 8</td>
						<td>984 ms</td>
					</tr>
					<tr>
						<td>Firefox</td>
						<td>366 ms</td>
					</tr>
					<tr>
						<td>Opera</td>
						<td>234 ms</td>
					</tr>
					<tr>
						<td>Safari</td>
						<td>68 ms</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>



	<h3>Example 3</h3>
	<div style="margin-left:24px;">
		<div style="margin-bottom:10px;">
			This example uses the <a target="_blank" href="http://help.dottoro.com/ljdkwhqf.php">innerHTML</a> property to create a <a target="_blank" href="http://help.dottoro.com/lhcecfea.php">selection list</a> with 2000 <a target="_blank" href="http://help.dottoro.com/lhwrsipm.php">options</a>:
		</div>
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer"><pre class="dr_hl_lang_jscript"><span class="jscript_keyword">var</span><span class="jscript_def"> select </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_string">"&lt;select&gt;"</span><span class="jscript_op">;</span><span class="jscript_def">
</span><span class="jscript_keyword">for</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_keyword">var</span><span class="jscript_def"> i </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_number">0</span><span class="jscript_op">;</span><span class="jscript_def"> i </span><span class="jscript_op">&lt;</span><span class="jscript_def"> </span><span class="jscript_number">2000</span><span class="jscript_op">;</span><span class="jscript_def"> i</span><span class="jscript_op">++)</span><span class="jscript_def"> </span><span class="jscript_op">{</span><span class="jscript_def">
    select </span><span class="jscript_op">+=</span><span class="jscript_def"> </span><span class="jscript_string">"&lt;option&gt;"</span><span class="jscript_def"> </span><span class="jscript_op">+</span><span class="jscript_def"> i </span><span class="jscript_op">+</span><span class="jscript_def"> </span><span class="jscript_string">"&lt;/option&gt;"</span><span class="jscript_op">;</span><span class="jscript_def">
</span><span class="jscript_op">}</span><span class="jscript_def">
select </span><span class="jscript_op">+=</span><span class="jscript_def"> </span><span class="jscript_string">"&lt;/select&gt;"</span><span class="jscript_op">;</span><span class="jscript_def">
container</span><span class="jscript_op">.</span><span class="jscript_prop">innerHTML</span><span class="jscript_def"> </span><span class="jscript_op">+=</span><span class="jscript_def"> select</span><span class="jscript_op">;</span><span class="jscript_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('http://help.dottoro.com/blog/external/large_selection_lists/examples/innerHTML.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/javascript.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>

		<p style="font-size:16px; margin:30px 0px 24px 0px;">Speed test:</p>
		<div style="margin-left:24px;">
			<table class="simple_table grey" >
				<thead>
					<tr>
						<th>Browser</th>
						<th>Time</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>IE 6</td>
						<td>70 ms</td>
					</tr>
					<tr>
						<td>IE 7</td>
						<td>78 ms</td>
					</tr>
					<tr>
						<td>IE 8</td>
						<td>15 ms</td>
					</tr>
					<tr>
						<td>Firefox</td>
						<td>59 ms</td>
					</tr>
					<tr>
						<td>Opera</td>
						<td>16 ms</td>
					</tr>
					<tr>
						<td>Safari</td>
						<td>17 ms</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>

	<p>
		The solution implemented by Example 3 works much more faster than the previous ones in Internet Explorer and it is also fast in other browsers.
		Unfortunately, the processing time grows drastically for greater number of <a target="_blank" href="http://help.dottoro.com/lhwrsipm.php">options</a> in Internet Explorer.
		This behavior is independent of the <a target="_blank" href="http://help.dottoro.com/lhcecfea.php">select</a> and <a target="_blank" href="http://help.dottoro.com/lhwrsipm.php">option</a> elements, it is based on the speed of string concatenations.
		<br />
		But how can strings be concatenated faster?
		The following examples answer that question.
	</p>



	<h3>Example 4</h3>
	<div style="margin-left:24px;">
		<div style="margin-bottom:10px;">
			This example same as the previous one, but it creates a <a target="_blank" href="http://help.dottoro.com/lhcecfea.php">selection list</a> with 8000 <a target="_blank" href="http://help.dottoro.com/lhwrsipm.php">options</a>:
		</div>
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer"><pre class="dr_hl_lang_jscript"><span class="jscript_keyword">var</span><span class="jscript_def"> select </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_string">"&lt;select&gt;"</span><span class="jscript_op">;</span><span class="jscript_def">
</span><span class="jscript_keyword">for</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_keyword">var</span><span class="jscript_def"> i </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_number">0</span><span class="jscript_op">;</span><span class="jscript_def"> i </span><span class="jscript_op">&lt;</span><span class="jscript_def"> </span><span class="jscript_number">8000</span><span class="jscript_op">;</span><span class="jscript_def"> i</span><span class="jscript_op">++)</span><span class="jscript_def"> </span><span class="jscript_op">{</span><span class="jscript_def">
    select </span><span class="jscript_op">+=</span><span class="jscript_def"> </span><span class="jscript_string">"&lt;option&gt;"</span><span class="jscript_def"> </span><span class="jscript_op">+</span><span class="jscript_def"> i </span><span class="jscript_op">+</span><span class="jscript_def"> </span><span class="jscript_string">"&lt;/option&gt;"</span><span class="jscript_op">;</span><span class="jscript_def">
</span><span class="jscript_op">}</span><span class="jscript_def">
select </span><span class="jscript_op">+=</span><span class="jscript_def"> </span><span class="jscript_string">"&lt;/select&gt;"</span><span class="jscript_op">;</span><span class="jscript_def">
container</span><span class="jscript_op">.</span><span class="jscript_prop">innerHTML</span><span class="jscript_def"> </span><span class="jscript_op">+=</span><span class="jscript_def"> select</span><span class="jscript_op">;</span><span class="jscript_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('http://help.dottoro.com/blog/external/large_selection_lists/examples/innerHTML_8000.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/javascript.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>

		<p style="font-size:16px; margin:30px 0px 24px 0px;">Speed test:</p>
		<div style="margin-left:24px;">
			<table class="simple_table grey" >
				<thead>
					<tr>
						<th>Browser</th>
						<th>Time</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>IE 6</td>
						<td>961 ms</td>
					</tr>
					<tr>
						<td>IE 7</td>
						<td>1781 ms</td>
					</tr>
					<tr>
						<td>IE 8</td>
						<td>47 ms</td>
					</tr>
					<tr>
						<td>Firefox</td>
						<td>242 ms</td>
					</tr>
					<tr>
						<td>Opera</td>
						<td>47 ms</td>
					</tr>
					<tr>
						<td>Safari</td>
						<td>67 ms</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>



	<h3>Example 5</h3>
	<div style="margin-left:24px; margin-bottom:40px;">
		<div style="margin-bottom:10px;">
			This example creates an array from the substrings first then concatenates the array elements with the <a target="_blank" href="http://help.dottoro.com/ljnkadsn.php#join">join</a> method:
		</div>
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer"><pre class="dr_hl_lang_jscript"><span class="jscript_keyword">var</span><span class="jscript_def"> selectArr </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_keyword">new</span><span class="jscript_def"> </span><span class="jscript_coreobj">Array</span><span class="jscript_def"> </span><span class="jscript_op">();</span><span class="jscript_def">
selectArr</span><span class="jscript_op">.</span><span class="jscript_method">push</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_string">"&lt;select&gt;"</span><span class="jscript_op">);</span><span class="jscript_def">
</span><span class="jscript_keyword">for</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_keyword">var</span><span class="jscript_def"> i </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_number">0</span><span class="jscript_op">;</span><span class="jscript_def"> i </span><span class="jscript_op">&lt;</span><span class="jscript_def"> </span><span class="jscript_number">8000</span><span class="jscript_op">;</span><span class="jscript_def"> i</span><span class="jscript_op">++)</span><span class="jscript_def"> </span><span class="jscript_op">{</span><span class="jscript_def">
    selectArr</span><span class="jscript_op">.</span><span class="jscript_method">push</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_string">"&lt;option&gt;"</span><span class="jscript_def"> </span><span class="jscript_op">+</span><span class="jscript_def"> i </span><span class="jscript_op">+</span><span class="jscript_def"> </span><span class="jscript_string">"&lt;/option&gt;"</span><span class="jscript_op">);</span><span class="jscript_def">
</span><span class="jscript_op">}</span><span class="jscript_def">
selectArr</span><span class="jscript_op">.</span><span class="jscript_method">push</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_string">"&lt;/select&gt;"</span><span class="jscript_op">);</span><span class="jscript_def">
container</span><span class="jscript_op">.</span><span class="jscript_prop">innerHTML</span><span class="jscript_def"> </span><span class="jscript_op">+=</span><span class="jscript_def"> selectArr</span><span class="jscript_op">.</span><span class="jscript_method">join</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_string">""</span><span class="jscript_op">);</span><span class="jscript_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('http://help.dottoro.com/blog/external/large_selection_lists/examples/join_8000.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/javascript.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>

		<p style="font-size:16px; margin:30px 0px 24px 0px;">Speed test:</p>
		<div style="margin-left:24px;">
			<table class="simple_table grey" >
				<thead>
					<tr>
						<th>Browser</th>
						<th>Time</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>IE 6</td>
						<td>280 ms</td>
					</tr>
					<tr>
						<td>IE 7</td>
						<td>172 ms</td>
					</tr>
					<tr>
						<td>IE 8</td>
						<td>47 ms</td>
					</tr>
					<tr>
						<td>Firefox</td>
						<td>240 ms</td>
					</tr>
					<tr>
						<td>Opera</td>
						<td>62 ms</td>
					</tr>
					<tr>
						<td>Safari</td>
						<td>70 ms</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
]]></content:encoded>
			<wfw:commentRss>http://help.dottoro.com/blog/large-selection-lists-and-fast-string-concatenation-in-javascript/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>IE7 zoom level problem, where is the mouse pointer?</title>
		<link>http://help.dottoro.com/blog/ie7-zoom-level-problem-where-is-the-mouse-pointer/</link>
		<comments>http://help.dottoro.com/blog/ie7-zoom-level-problem-where-is-the-mouse-pointer/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 14:28:00 +0000</pubDate>
		<dc:creator>Dottoro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://help.dottoro.com/blog/?p=20</guid>
		<description><![CDATA[There are several cases when you need the position of the mouse pointer on a webpage (e.g. if you want to display custom tooltips or elements that follow the mouse). The question is, how can you set the position of an element to align to the coordinates of the mouse pointer? The answer seems simple, ...]]></description>
			<content:encoded><![CDATA[<p>There are several cases when you need the position of the mouse pointer on a webpage (e.g. if you want to display custom tooltips or elements that follow the mouse).</p>
<p>
<b>The question is, how can you set the position of an element to align to the coordinates of the mouse pointer?</b>
</p>
The answer seems simple, the cross-browser <a target="_blank" href="http://help.dottoro.com/ljsqnefp.php">clientX</a> and <a target="_blank" href="http://help.dottoro.com/ljcmscmp.php">clientY</a> properties of the <a target="_blank" href="http://help.dottoro.com/ljogqtqm.php">event</a> object retrieve the position of the mouse pointer relative to the top-left corner of the browser window's client area.
<span id="more-20"></span>

<p style="margin-bottom:40px;">
Additionally, the position of a fixed <a target="_blank" href="http://help.dottoro.com/lchqpaxr.php">positioned</a> element's top-left corner can be specified with the <a target="_blank" href="http://help.dottoro.com/ljgafjke.php">top</a> and <a target="_blank" href="http://help.dottoro.com/ljpnpeob.php">left</a> style properties relative to the top-left corner of the browser window's client area.
All right, let's look at a simple example first:
</p>
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width: 610px; overflow: auto;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_id">#flying</span><span class="css_def"> {
            </span><span class="css_prop">position</span><span class="css_def">:</span><span class="css_propvalue"> fixed</span><span class="css_def">; 
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">

    </span><span class="html_tagop">&lt;</span><span class="html_tag">script</span><span class="html_tagop">&gt;</span><span class="jscript_def">
        </span><span class="jscript_keyword">function</span><span class="jscript_def"> UpdateFlyingObj </span><span class="jscript_op">(</span><span class="jscript_prop">event</span><span class="jscript_op">)</span><span class="jscript_def"> </span><span class="jscript_op">{</span><span class="jscript_def">
            </span><span class="jscript_keyword">var</span><span class="jscript_def"> mouseX </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_coreobj">Math</span><span class="jscript_op">.</span><span class="jscript_method">round</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_prop">event</span><span class="jscript_op">.</span><span class="jscript_prop">clientX</span><span class="jscript_op">);</span><span class="jscript_def">
            </span><span class="jscript_keyword">var</span><span class="jscript_def"> mouseY </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_coreobj">Math</span><span class="jscript_op">.</span><span class="jscript_method">round</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_prop">event</span><span class="jscript_op">.</span><span class="jscript_prop">clientY</span><span class="jscript_op">);</span><span class="jscript_def">

            </span><span class="jscript_keyword">var</span><span class="jscript_def"> flyingObj </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_prop">document</span><span class="jscript_op">.</span><span class="jscript_method">getElementById</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_string">"flying"</span><span class="jscript_op">);</span><span class="jscript_def">
            flyingObj</span><span class="jscript_op">.</span><span class="jscript_prop">style</span><span class="jscript_op">.</span><span class="jscript_prop">left</span><span class="jscript_def"> </span><span class="jscript_op">=</span><span class="jscript_def"> mouseX </span><span class="jscript_op">+</span><span class="jscript_def"> </span><span class="jscript_string">"px"</span><span class="jscript_op">;</span><span class="jscript_def">
            flyingObj</span><span class="jscript_op">.</span><span class="jscript_prop">style</span><span class="jscript_op">.</span><span class="jscript_prop">top</span><span class="jscript_def"> </span><span class="jscript_op">=</span><span class="jscript_def"> mouseY </span><span class="jscript_op">+</span><span class="jscript_def"> </span><span class="jscript_string">"px"</span><span class="jscript_op">;</span><span class="jscript_def">

        </span><span class="jscript_op">}</span><span class="jscript_def">
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">script</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_def"> </span><span class="html_attr">onmousemove</span><span class="html_attrop">=</span><span class="html_attrvalue">"UpdateFlyingObj (event);"</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">style</span><span class="html_attrop">=</span><span class="html_attrvalue">"height:1000px;"</span><span class="html_tagop">&gt;</span><span class="html_def">
        The flying object also works for document scrolling.
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">

    </span><span class="html_tagop">&lt;</span><span class="html_tag">img</span><span class="html_def"> </span><span class="html_attr">id</span><span class="html_attrop">=</span><span class="html_attrvalue">"flying"</span><span class="html_def"> </span><span class="html_attr">src</span><span class="html_attrop">=</span><span class="html_attrvalue">"flying.gif"</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('http://help.dottoro.com/blog/blog_images/ie7_zoom_level/example1.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>

<div style="margin-top:40px;">
Unfortunately the previous example does not work in Internet Explorer 7 at non-default zoom levels.
The problem is that the <a target="_blank" href="http://help.dottoro.com/ljsqnefp.php">clientX</a> and <a target="_blank" href="http://help.dottoro.com/ljcmscmp.php">clientY</a> properties retrieve the position of the mouse in physical pixel size, while in Firefox, Opera, Safari and in Internet Explorer from version 8 they return the position in logical pixel size.
</div>

<p style="font-size:18px;">What does it mean?</p>

If the browser is not at the normal zoom level (the user has the ability to zoom in or out a web page: CTRL and +, CTRL and -),
<ul>
	<li>the position of the mouse pointer is calculated in the default pixel size in Internet Explorer before version 8 even if the current pixel size in the document is different,</li>
	<li>from Internet Explorer 8 and in Firefox, Opera and Safari, the position is calculated in the current pixel size.</li>
</ul>

<p style="margin-top:32px;">
For example, if the zoom level is 200%, the logical pixel size is two times greater than the physical pixel size, so the <a target="_blank" href="http://help.dottoro.com/ljsqnefp.php">clientX</a> and <a target="_blank" href="http://help.dottoro.com/ljcmscmp.php">clientY</a> properties retrieve two times greater values in Internet Explorer before version 8 than in other browsers for the same mouse position.
In contrast to the <a target="_blank" href="http://help.dottoro.com/ljsqnefp.php">clientX</a> and <a target="_blank" href="http://help.dottoro.com/ljcmscmp.php">clientY</a> properties, the <a target="_blank" href="http://help.dottoro.com/ljgafjke.php">top</a> and <a target="_blank" href="http://help.dottoro.com/ljpnpeob.php">left</a> style properties specify the position in logical pixel size in all browsers.
So if you want to set the position of an element to align to the coordinates of the mouse pointer, you need to known the current zoom level in IE7.
</p>

<p style="font-size:18px; margin-top:32px;">How can you get the current zoom level in IE7?</p>


There are several JavaScript properties and methods that use physical pixel size instead of logical pixel size in IE7 (such as the <a target="_blank" href="http://help.dottoro.com/ljsqnefp.php">clientX</a> and <a target="_blank" href="http://help.dottoro.com/ljcmscmp.php">clientY</a> properties of the <a target="_blank" href="http://help.dottoro.com/ljogqtqm.php">event</a> object, the <a target="_blank" href="http://help.dottoro.com/ljmclkbi.php">clientWidth</a>, <a target="_blank" href="http://help.dottoro.com/ljcadejj.php">clientHeight</a>, <a target="_blank" href="http://help.dottoro.com/ljfwvsrv.php">offsetWidth</a> and <a target="_blank" href="http://help.dottoro.com/ljuxqbfx.php">offsetHeight</a> properties of the <a target="_blank" href="http://help.dottoro.com/ljqrpbkh.php">html</a>, the <a target="_blank" href="http://help.dottoro.com/ljvmcrrn.php">getBoundingClientRect</a> and <a target="_blank" href="http://help.dottoro.com/ljxsdaqk.php">getClientRects</a> methods).

<p>
	The <a target="_blank" href="http://help.dottoro.com/ljmclkbi.php">clientWidth</a>, <a target="_blank" href="http://help.dottoro.com/ljcadejj.php">clientHeight</a>, <a target="_blank" href="http://help.dottoro.com/ljfwvsrv.php">offsetWidth</a> and <a target="_blank" href="http://help.dottoro.com/ljuxqbfx.php">offsetHeight</a> properties retrieve the size in physical pixel size only for the <a target="_blank" href="http://help.dottoro.com/ljqrpbkh.php">html</a> element, for other elements, they contain the size in logical pixel size.
</p>
<p>
	So you can get the width of the <a target="_blank" href="http://help.dottoro.com/ljquckfm.php">body</a> element with the <a target="_blank" href="http://help.dottoro.com/ljfwvsrv.php">offsetWidth</a> property in logical pixel size and with the <a target="_blank" href="http://help.dottoro.com/ljvmcrrn.php">getBoundingClientRect</a> method in physical pixel size.
	Both values contain the <a target="_blank" href="http://help.dottoro.com/ljclvhog.php">padding</a>, scrollbar, and the <a target="_blank" href="http://help.dottoro.com/ljdbgwte.php">border</a>, but exclude the <a target="_blank" href="http://help.dottoro.com/ljxfnrhv.php">margin</a>.
</p>
<p>
	The current zoom level can be determined with the help of those two values.
	This method only works in Internet Explorer before version 8, the two values are the same in other browsers.
</p>
<p style="color:#a0a0a0">
	<b>Note</b> that if you need the current zoom level in IE from version 8, use the <a target="_blank" href="http://help.dottoro.com/ljuxiphf.php">deviceXDPI</a>, <a target="_blank" href="http://help.dottoro.com/ljgshbne.php">logicalXDPI</a>, <a target="_blank" href="http://help.dottoro.com/ljcdxuoj.php">deviceYDPI</a> and <a target="_blank" href="http://help.dottoro.com/ljcobalc.php">logicalYDPI</a> properties.
</p>


<div style="margin:24px 0px 16px 0px;">
	This example is the same as the previous one, but it also works in Internet Explorer 7 at non-default zoom levels:
</div>
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width: 610px; overflow: auto;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_id">#flying</span><span class="css_def"> {
            </span><span class="css_prop">position</span><span class="css_def">:</span><span class="css_propvalue"> fixed</span><span class="css_def">; 
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">

    </span><span class="html_tagop">&lt;</span><span class="html_tag">script</span><span class="html_tagop">&gt;</span><span class="jscript_def">
            </span><span class="jscript_com">// always return 1, 
</span><span class="jscript_def">            </span><span class="jscript_com">// except at non-default zoom levels in IE before version 8
</span><span class="jscript_def">        </span><span class="jscript_keyword">function</span><span class="jscript_def"> GetZoomFactor </span><span class="jscript_op">()</span><span class="jscript_def"> </span><span class="jscript_op">{</span><span class="jscript_def">
            </span><span class="jscript_keyword">var</span><span class="jscript_def"> factor </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_number">1</span><span class="jscript_op">;</span><span class="jscript_def">
            </span><span class="jscript_keyword">if</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_prop">document</span><span class="jscript_op">.</span><span class="jscript_prop">body</span><span class="jscript_op">.</span><span class="jscript_method">getBoundingClientRect</span><span class="jscript_op">)</span><span class="jscript_def"> </span><span class="jscript_op">{</span><span class="jscript_def">
                    </span><span class="jscript_com">// rect is only in physical pixel size in IE before version 8 
</span><span class="jscript_def">                </span><span class="jscript_keyword">var</span><span class="jscript_def"> rect </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_prop">document</span><span class="jscript_op">.</span><span class="jscript_prop">body</span><span class="jscript_op">.</span><span class="jscript_method">getBoundingClientRect</span><span class="jscript_def"> </span><span class="jscript_op">();</span><span class="jscript_def">
                </span><span class="jscript_keyword">var</span><span class="jscript_def"> physicalW </span><span class="jscript_op">=</span><span class="jscript_def"> rect</span><span class="jscript_op">.</span><span class="jscript_prop">right</span><span class="jscript_def"> </span><span class="jscript_op">-</span><span class="jscript_def"> rect</span><span class="jscript_op">.</span><span class="jscript_prop">left</span><span class="jscript_op">;</span><span class="jscript_def">
                </span><span class="jscript_keyword">var</span><span class="jscript_def"> logicalW </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_prop">document</span><span class="jscript_op">.</span><span class="jscript_prop">body</span><span class="jscript_op">.</span><span class="jscript_prop">offsetWidth</span><span class="jscript_op">;</span><span class="jscript_def">

                    </span><span class="jscript_com">// the zoom level is always an integer percent value
</span><span class="jscript_def">                factor </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_coreobj">Math</span><span class="jscript_op">.</span><span class="jscript_method">round</span><span class="jscript_def"> </span><span class="jscript_op">((</span><span class="jscript_def">physicalW </span><span class="jscript_op">/</span><span class="jscript_def"> logicalW</span><span class="jscript_op">)</span><span class="jscript_def"> </span><span class="jscript_op">*</span><span class="jscript_def"> </span><span class="jscript_number">100</span><span class="jscript_op">)</span><span class="jscript_def"> </span><span class="jscript_op">/</span><span class="jscript_def"> </span><span class="jscript_number">100</span><span class="jscript_op">;</span><span class="jscript_def">
            </span><span class="jscript_op">}</span><span class="jscript_def">
            </span><span class="jscript_keyword">return</span><span class="jscript_def"> factor</span><span class="jscript_op">;</span><span class="jscript_def">
        </span><span class="jscript_op">}</span><span class="jscript_def">

        </span><span class="jscript_keyword">function</span><span class="jscript_def"> UpdateFlyingObj </span><span class="jscript_op">(</span><span class="jscript_prop">event</span><span class="jscript_op">)</span><span class="jscript_def"> </span><span class="jscript_op">{</span><span class="jscript_def">
            </span><span class="jscript_keyword">var</span><span class="jscript_def"> mouseX </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_prop">event</span><span class="jscript_op">.</span><span class="jscript_prop">clientX</span><span class="jscript_op">;</span><span class="jscript_def">
            </span><span class="jscript_keyword">var</span><span class="jscript_def"> mouseY </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_prop">event</span><span class="jscript_op">.</span><span class="jscript_prop">clientY</span><span class="jscript_op">;</span><span class="jscript_def">

            </span><span class="jscript_keyword">if</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_prop">navigator</span><span class="jscript_op">.</span><span class="jscript_prop">appName</span><span class="jscript_op">.</span><span class="jscript_method">toLowerCase</span><span class="jscript_def"> </span><span class="jscript_op">()</span><span class="jscript_def"> </span><span class="jscript_op">==</span><span class="jscript_def"> </span><span class="jscript_string">"microsoft internet explorer"</span><span class="jscript_op">)</span><span class="jscript_def"> </span><span class="jscript_op">{</span><span class="jscript_def">
                    </span><span class="jscript_com">// the clientX and clientY properties include 
</span><span class="jscript_def">                    </span><span class="jscript_com">// the left and top borders of the client area
</span><span class="jscript_def">                mouseX </span><span class="jscript_op">-=</span><span class="jscript_def"> </span><span class="jscript_prop">document</span><span class="jscript_op">.</span><span class="jscript_prop">documentElement</span><span class="jscript_op">.</span><span class="jscript_prop">clientLeft</span><span class="jscript_op">;</span><span class="jscript_def">
                mouseY </span><span class="jscript_op">-=</span><span class="jscript_def"> </span><span class="jscript_prop">document</span><span class="jscript_op">.</span><span class="jscript_prop">documentElement</span><span class="jscript_op">.</span><span class="jscript_prop">clientTop</span><span class="jscript_op">;</span><span class="jscript_def">

                </span><span class="jscript_keyword">var</span><span class="jscript_def"> zoomFactor </span><span class="jscript_op">=</span><span class="jscript_def"> GetZoomFactor </span><span class="jscript_op">();</span><span class="jscript_def">
                </span><span class="jscript_keyword">if</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_def">zoomFactor </span><span class="jscript_op">!=</span><span class="jscript_def"> </span><span class="jscript_number">1</span><span class="jscript_op">)</span><span class="jscript_def"> </span><span class="jscript_op">{</span><span class="jscript_def">  </span><span class="jscript_com">// IE 7 at non-default zoom level
</span><span class="jscript_def">                    mouseX </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_coreobj">Math</span><span class="jscript_op">.</span><span class="jscript_method">round</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_def">mouseX </span><span class="jscript_op">/</span><span class="jscript_def"> zoomFactor</span><span class="jscript_op">);</span><span class="jscript_def">
                    mouseY </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_coreobj">Math</span><span class="jscript_op">.</span><span class="jscript_method">round</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_def">mouseY </span><span class="jscript_op">/</span><span class="jscript_def"> zoomFactor</span><span class="jscript_op">);</span><span class="jscript_def">
                </span><span class="jscript_op">}</span><span class="jscript_def">
            </span><span class="jscript_op">}</span><span class="jscript_def">


            </span><span class="jscript_keyword">var</span><span class="jscript_def"> flyingObj </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_prop">document</span><span class="jscript_op">.</span><span class="jscript_method">getElementById</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_string">"flying"</span><span class="jscript_op">);</span><span class="jscript_def">
            flyingObj</span><span class="jscript_op">.</span><span class="jscript_prop">style</span><span class="jscript_op">.</span><span class="jscript_prop">left</span><span class="jscript_def"> </span><span class="jscript_op">=</span><span class="jscript_def"> mouseX </span><span class="jscript_op">+</span><span class="jscript_def"> </span><span class="jscript_string">"px"</span><span class="jscript_op">;</span><span class="jscript_def">
            flyingObj</span><span class="jscript_op">.</span><span class="jscript_prop">style</span><span class="jscript_op">.</span><span class="jscript_prop">top</span><span class="jscript_def"> </span><span class="jscript_op">=</span><span class="jscript_def"> mouseY </span><span class="jscript_op">+</span><span class="jscript_def"> </span><span class="jscript_string">"px"</span><span class="jscript_op">;</span><span class="jscript_def">
        </span><span class="jscript_op">}</span><span class="jscript_def">
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">script</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_def"> </span><span class="html_attr">onmousemove</span><span class="html_attrop">=</span><span class="html_attrvalue">"UpdateFlyingObj (event);"</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">style</span><span class="html_attrop">=</span><span class="html_attrvalue">"height:1000px;"</span><span class="html_tagop">&gt;</span><span class="html_def">
        The flying object also works for document scrolling.
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">

    </span><span class="html_tagop">&lt;</span><span class="html_tag">img</span><span class="html_def"> </span><span class="html_attr">id</span><span class="html_attrop">=</span><span class="html_attrvalue">"flying"</span><span class="html_def"> </span><span class="html_attr">src</span><span class="html_attrop">=</span><span class="html_attrvalue">"flying.gif"</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('http://help.dottoro.com/blog/blog_images/ie7_zoom_level/example2.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>

<p style="margin:30px 0px 24px 0px;">
	The previous two examples do not work in Internet Explorer 6, since it does not support fixed <a target="_blank" href="http://help.dottoro.com/lchqpaxr.php">positioned</a> elements.
	If you need an example that works in IE6, too, please see the pages for the <a target="_blank" href="http://help.dottoro.com/ljsqnefp.php">clientX</a> and <a target="_blank" href="http://help.dottoro.com/ljcmscmp.php">clientY</a> properties.
</p>]]></content:encoded>
			<wfw:commentRss>http://help.dottoro.com/blog/ie7-zoom-level-problem-where-is-the-mouse-pointer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS background ... as it is now</title>
		<link>http://help.dottoro.com/blog/css-background-as-it-is-now/</link>
		<comments>http://help.dottoro.com/blog/css-background-as-it-is-now/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 14:27:28 +0000</pubDate>
		<dc:creator>Dottoro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://help.dottoro.com/blog/?p=16</guid>
		<description><![CDATA[Some of the most widely used CSS properties are the background-related properties; with which you can define how the background of various elements is displayed. With these properties you can set the color or the image displayed as the background. In addition, you have control over the position, the repetition type (horizontal, vertical, both or ...]]></description>
			<content:encoded><![CDATA[	Some of the most widely used CSS properties are the background-related properties; with which you can define how the background 
	of various elements is displayed. 

	<p>
		With these properties you can set the color or the image displayed as the background. 
		In addition, you have control over the position, the repetition type (horizontal, vertical, both or neither) of the image. 
		Furthermore, you can set whether the image should scroll with the contents or should stay in a fixed position during scrolling. 
		In this article, you can see these functionalities demonstrated in examples among other things.
	</p>
<span id="more-16"></span>

	<p style="margin-top:24px;">
		CSS background properties were introduced to substitude the background related HTML attributes such as:
	</p>

	<ul>
		<li><a href="http://help.dottoro.com/lhibrdwh.php" target="dottoro">background (body)</a></li>
		<li><a href="http://help.dottoro.com/lhruwqkl.php" target="dottoro">background (table, td, th)</a></li>
		<li><a href="http://help.dottoro.com/lhohbrjl.php" target="dottoro">bgcolor (body, table, td, ...)</a></li>
		<li><a href="http://help.dottoro.com/lhbbboht.php" target="dottoro">bgcolor (col, colgroup)</a></li>
		<li><a href="http://help.dottoro.com/lhfhbobo.php" target="dottoro">bgProperties (body)</a>.</li>
	</ul>

	(<b>Note:</b> that is the reason all of these attributes are deprecated in the W3C HTML 4.01 specification).

	<h1 style="margin:44px 0px 24px 0px;">See what you can do with an element's background.</h1>

	<ul>
		<li><a href="#single_color">How to specify a single color as the background for an element</a></li>
		<li><a href="#single_image">How to use a single image as the background</a></li>
		<li><a href="#grad_bg">How to create a gradient background</a></li>
		<li><a href="#rel_wide_bg">How to create a relative (e.g. 100%) wide background, such as a header or footer</a></li>
		<li><a href="#bg_to_spec_pos">How to place a background image in a specific position</a></li>
		<li><a href="#bg_to_spec_pos_fixed">How to place a background image in a specific position that is independent of the scroll state</a></li>
		<li><a href="#trans_bg">How to create a transparent background</a></li>
	</ul>

	<h2 style="margin:50px 0px 24px 0px;"><a name="single_color">1. How to specify a single color as the background for an element.</a></h2>

	<div style="margin:0px 20px;">
		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.redBg</span><span class="css_def"> {
            </span><span class="css_prop">background-color</span><span class="css_def">:</span><span class="css_propvalue">#FF0000</span><span class="css_def">;
            </span><span class="css_com">/* or background:#FF0000; - shorthand property */</span><span class="css_def">
            </span><span class="css_com">/* or background-color:red; - predefined color value, not recommended */</span><span class="css_def">
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">200px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">200px</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"redBg"</span><span class="html_tagop">&gt;</span><span class="html_def">An element with red background.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_1.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>


		<div style="margin-top:24px;">
			You can specify a background color with the shorthand <a href="http://help.dottoro.com/lcdvammh.php" target="dottoro">background</a>
			or with the <a href="http://help.dottoro.com/lcxeujbu.php" target="dottoro">background-color</a> property. If you want to specify only a simple color as the background, 
			the use of the <a href="http://help.dottoro.com/lcxeujbu.php" target="dottoro">background-color</a> property is recommended, 
			because it results in more readable code.

			Colors can be specified in CSS in three different ways, by using the RGB method, hexadecimal color values and predefined color names. For further details, please visit the
			<a href="http://help.dottoro.com/lanifqvh.php" target="dottoro">colors</a> page.
		</div>
	</div>


	<h2 style="margin:50px 0px 24px 0px;"><a name="single_image">2. How to use a single image as the background.</a></h2>

	<div style="margin:0px 20px;">
		<p style="margin:24px 0px;">
			This is the case when you want to use the whole or a part of an image as the background.</p>
			<p>Sample image: <img src="/blog/blog_images/css_background/examples/images/bg_image.jpg" />
		</p>

		<p style="margin-top:30px;">The image can be in GIF, PNG, JPG or BMP format. Recommended are the GIF, JPG or PNG formats depending on the dimensions of the image
		(check the size (lower is better) and the quality of the image).</p>

		<p style="margin:16px 0px 24px 0px;">
		You can specify a background image with the shorthand <a href="http://help.dottoro.com/lcdvammh.php" target="dottoro">background</a>
		or with the <a href="http://help.dottoro.com/lcqbxsvr.php" target="dottoro">background-image</a> property. In the followings, you can see how.
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.single_image</span><span class="css_def"> {
            </span><span class="css_prop">background</span><span class="css_def">:</span><span class="css_propvalue">transparent url(images/bg_image.jpg) top left no-repeat</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">200px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">69px</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"single_image"</span><span class="html_tagop">&gt;</span><span class="html_def">An image as the background.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_2.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>


		<div style="background-color:#ffeeee; border:1px solid #cccccc; color:#474747; font-size:12px; padding:6px 12px; margin:20px; text-align:left;">
			<b>Note:</b> The image that is used as background cannot be resized from CSS; regardless of the size of the element, the image is shown in its original size.
		</div>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.single_image</span><span class="css_def"> {
            </span><span class="css_prop">background-image</span><span class="css_def">:</span><span class="css_propvalue">url(images/bg_image.jpg)</span><span class="css_def">;
            </span><span class="css_prop">background-repeat</span><span class="css_def">:</span><span class="css_propvalue">no-repeat</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">200px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">69px</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"single_image"</span><span class="html_tagop">&gt;</span><span class="html_def">An image as the background.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_3.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>

	</div>


	<h2 style="margin:50px 0px 24px 0px;"><a name="grad_bg">3. How to create a gradient background.</a></h2>

	<div style="margin:0px 20px;">
		You can create a gradient background with a 1px wide or wider (horizontal gradient) or a 1px tall or taller (vertical gradient) image:

		<div style="margin:16px;">
			for horizontal gradient:
			<img src="/blog/blog_images/css_background/examples/images/hor_grad.gif" />

			<span style="padding-left:20px;">for vertical gradient:</span>
			<img src="/blog/blog_images/css_background/examples/images/ver_grad.gif" />
		</div>

		<p>With the <a href="http://help.dottoro.com/lcfdurvk.php" target="dottoro">background-repeat</a> property you have control over how the image is repeated (repeats vertically, horizontally, in both or in neither directions).</p>


		<h3 style="margin:40px 0px 24px 0px;">a. How to create a horizontal gradient background.</h3>

		<ol>
			<li>Create a 1px wide or wider image with your favorite graphics editor program.</li>
			<li>Save it in GIF, PNG, JPG or BMP format. Recommended are the GIF or PNG  formats, if you want to make a gradient background.</li>
			<li>Create the code:</li>
		</ol>

		<p style="margin:24px 0px 16px 0px;">
			Using the <a href="http://help.dottoro.com/lcqbxsvr.php" target="dottoro">background-image</a>, 
			<a href="http://help.dottoro.com/lcxeujbu.php" target="dottoro">background-color</a>, 
			<a href="http://help.dottoro.com/lcfdurvk.php" target="dottoro">background-repeat</a> properties:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.hor_gradient</span><span class="css_def"> {
            </span><span class="css_prop">background-image</span><span class="css_def">:</span><span class="css_propvalue">url(images/hor_grad.gif)</span><span class="css_def">;
            </span><span class="css_prop">background-color</span><span class="css_def">:</span><span class="css_propvalue">transparent</span><span class="css_def">;
            </span><span class="css_prop">background-repeat</span><span class="css_def">:</span><span class="css_propvalue">repeat-y</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">100px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">100px</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"hor_gradient"</span><span class="html_tagop">&gt;</span><span class="html_def">Horizontal gradient background.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_4.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>


		<p style="margin:30px 0px 16px 0px;">
			Using the shorthand <a href="http://help.dottoro.com/lcdvammh.php" target="dottoro">background</a> property:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.hor_gradient</span><span class="css_def"> {
            </span><span class="css_prop">background</span><span class="css_def">:</span><span class="css_propvalue">transparent url(images/hor_grad.gif) top left repeat-y</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">100px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">100px</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"hor_gradient"</span><span class="html_tagop">&gt;</span><span class="html_def">Horizontal gradient background.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_5.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>



		<h3 style="margin:40px 0px 24px 0px;">b. How to create a vertical gradient background.</h3>

		<ol>
			<li>Create a 1px tall or taller image with your favorite graphics editor program.</li>
			<li>Save it in GIF, PNG, JPG or BMP format. Recommended are the GIF or PNG  formats, if you want to make a gradient background.</li>
			<li>Create the code.</li>
		</ol>

		<p style="margin:24px 0px 16px 0px;">
			Using the <a href="http://help.dottoro.com/lcqbxsvr.php" target="dottoro">background-image</a>, 
			<a href="http://help.dottoro.com/lcxeujbu.php" target="dottoro">background-color</a>, 
			<a href="http://help.dottoro.com/lcfdurvk.php" target="dottoro">background-repeat</a> properties:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.ver_gradient</span><span class="css_def"> {
            </span><span class="css_prop">background-image</span><span class="css_def">:</span><span class="css_propvalue">url(images/ver_grad.gif)</span><span class="css_def">;
            </span><span class="css_prop">background-color</span><span class="css_def">:</span><span class="css_propvalue">transparent</span><span class="css_def">;
            </span><span class="css_prop">background-repeat</span><span class="css_def">:</span><span class="css_propvalue">repeat-x</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">100px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">100px</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"ver_gradient"</span><span class="html_tagop">&gt;</span><span class="html_def">Vertical gradient background.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_6.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>


		<p style="margin:30px 0px 16px 0px;">
			Using the shorthand <a href="http://help.dottoro.com/lcdvammh.php" target="dottoro">background</a> property:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.ver_gradient</span><span class="css_def"> {
            </span><span class="css_prop">background</span><span class="css_def">:</span><span class="css_propvalue">transparent url(images/ver_grad.gif) top left repeat-x</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">100px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">100px</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"ver_gradient"</span><span class="html_tagop">&gt;</span><span class="html_def">Vertical gradient background.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_7.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>

	</div>


	<h2 style="margin:50px 0px 24px 0px;"><a name="rel_wide_bg">4. How to create a relative (e.g. 100%) wide background, such as a header or footer.</a></h2>

	<div style="margin:0px 20px;">
		<p>Sample images:</p>
		<img src="/blog/blog_images/css_background/examples/images/left_aligned_with_color_code.png" />
		<img src="/blog/blog_images/css_background/examples/images/centralized_with_color_code.png" />
		<img src="/blog/blog_images/css_background/examples/images/right_aligned_with_color_code.png"/>

		<h3 style="margin:40px 0px 24px 0px;">a, A center aligned background image:</h3>


		<p style="margin:24px 0px 16px 0px;">
			Using the <a href="http://help.dottoro.com/lcqbxsvr.php" target="dottoro">background-image</a>, 
			<a href="http://help.dottoro.com/lcxeujbu.php" target="dottoro">background-color</a>, 
			<a href="http://help.dottoro.com/lcfdurvk.php" target="dottoro">background-repeat</a>, 
			<a href="http://help.dottoro.com/lcsijbba.php" target="dottoro">background-position</a> properties:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.centralized_img</span><span class="css_def"> {
            </span><span class="css_prop">background-image</span><span class="css_def">:</span><span class="css_propvalue">url(images/centralized_bg.png)</span><span class="css_def">;
            </span><span class="css_prop">background-color</span><span class="css_def">:</span><span class="css_propvalue">#7d910f</span><span class="css_def">;
            </span><span class="css_prop">background-repeat</span><span class="css_def">:</span><span class="css_propvalue">no-repeat</span><span class="css_def">;
            </span><span class="css_prop">background-position</span><span class="css_def">:</span><span class="css_propvalue">center center</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">100%</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">100px</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"centralized_img"</span><span class="html_tagop">&gt;</span><span class="html_def">A center aligned background image.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_8.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>


		<p style="margin:30px 0px 16px 0px;">
			Using the shorthand <a href="http://help.dottoro.com/lcdvammh.php" target="dottoro">background</a> property:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.centralized_img</span><span class="css_def"> {
            </span><span class="css_prop">background</span><span class="css_def">:</span><span class="css_propvalue">#7d910f url(images/centralized_bg.png) center center no-repeat</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">100%</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">100px</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"centralized_img"</span><span class="html_tagop">&gt;</span><span class="html_def">A center aligned background image.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_9.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>


		<h3 style="margin:40px 0px 24px 0px;">b, A left aligned background image:</h3>


		<p style="margin:24px 0px 16px 0px;">
			Using the <a href="http://help.dottoro.com/lcqbxsvr.php" target="dottoro">background-image</a>, 
			<a href="http://help.dottoro.com/lcxeujbu.php" target="dottoro">background-color</a>, 
			<a href="http://help.dottoro.com/lcfdurvk.php" target="dottoro">background-repeat</a>, 
			<a href="http://help.dottoro.com/lcsijbba.php" target="dottoro">background-position</a> properties:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.left_aligned_img</span><span class="css_def"> {
            </span><span class="css_prop">background-image</span><span class="css_def">:</span><span class="css_propvalue">url(images/left_aligned_bg.png)</span><span class="css_def">;
            </span><span class="css_prop">background-color</span><span class="css_def">:</span><span class="css_propvalue">#7d910f</span><span class="css_def">;
            </span><span class="css_prop">background-repeat</span><span class="css_def">:</span><span class="css_propvalue">no-repeat</span><span class="css_def">;
            </span><span class="css_prop">background-position</span><span class="css_def">:</span><span class="css_propvalue">left center</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">100%</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">100px</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"left_aligned_img"</span><span class="html_tagop">&gt;</span><span class="html_def">A left aligned background image.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_10.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>


		<p style="margin:30px 0px 16px 0px;">
			Using the shorthand <a href="http://help.dottoro.com/lcdvammh.php" target="dottoro">background</a> property:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.left_aligned_img</span><span class="css_def"> {
            </span><span class="css_prop">background</span><span class="css_def">:</span><span class="css_propvalue">#7d910f url(images/left_aligned_bg.png) left center no-repeat</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">100%</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">100px</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"left_aligned_img"</span><span class="html_tagop">&gt;</span><span class="html_def">A left aligned background image.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_11.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>


		<h3 style="margin:40px 0px 24px 0px;">c, A right aligned background image:</h3>


		<p style="margin:24px 0px 16px 0px;">
			Using the <a href="http://help.dottoro.com/lcqbxsvr.php" target="dottoro">background-image</a>, 
			<a href="http://help.dottoro.com/lcxeujbu.php" target="dottoro">background-color</a>, 
			<a href="http://help.dottoro.com/lcfdurvk.php" target="dottoro">background-repeat</a>, 
			<a href="http://help.dottoro.com/lcsijbba.php" target="dottoro">background-position</a> properties:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.right_aligned_img</span><span class="css_def"> {
            </span><span class="css_prop">background-image</span><span class="css_def">:</span><span class="css_propvalue">url(images/right_aligned_bg.png)</span><span class="css_def">;
            </span><span class="css_prop">background-color</span><span class="css_def">:</span><span class="css_propvalue">#7d910f</span><span class="css_def">;
            </span><span class="css_prop">background-repeat</span><span class="css_def">:</span><span class="css_propvalue">no-repeat</span><span class="css_def">;
            </span><span class="css_prop">background-position</span><span class="css_def">:</span><span class="css_propvalue">right center</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">100%</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">100px</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"right_aligned_img"</span><span class="html_tagop">&gt;</span><span class="html_def">A right aligned background image.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_12.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>


		<p style="margin:30px 0px 16px 0px;">
			Using the shorthand <a href="http://help.dottoro.com/lcdvammh.php" target="dottoro">background</a> property:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.right_aligned_img</span><span class="css_def"> {
            </span><span class="css_prop">background</span><span class="css_def">:</span><span class="css_propvalue">#7d910f url(images/right_aligned_bg.png) right center no-repeat</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">100%</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">100px</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"right_aligned_img"</span><span class="html_tagop">&gt;</span><span class="html_def">A right aligned background image.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_13.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>

	</div>

	<h2 style="margin:50px 0px 24px 0px;"><a name="bg_to_spec_pos">5. How to place a background image in a specific position</a></h2>

	<div style="margin:0px 20px;">
		<p>
			Sample image:
			<img src="/blog/blog_images/css_background/examples/images/image_to_spec_pos.gif" />
		</p>

		<p style="margin-top:24px;">You can place the image in a specific position as follows:</p>
		
		<p style="margin:16px 0px 16px 0px;">
			<p>Using the <a href="http://help.dottoro.com/lcqbxsvr.php" target="dottoro">background-image</a>, 
			<a href="http://help.dottoro.com/lcxeujbu.php" target="dottoro">background-color</a>, 
			<a href="http://help.dottoro.com/lcfdurvk.php" target="dottoro">background-repeat</a>, 
			<a href="http://help.dottoro.com/lcsijbba.php" target="dottoro">background-position</a> properties:</p>
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.placed_bg</span><span class="css_def"> {
            </span><span class="css_prop">background-image</span><span class="css_def">:</span><span class="css_propvalue">url(images/image_to_spec_pos.gif)</span><span class="css_def">;
            </span><span class="css_prop">background-color</span><span class="css_def">:</span><span class="css_propvalue">#ff0000</span><span class="css_def">;
            </span><span class="css_prop">background-repeat</span><span class="css_def">:</span><span class="css_propvalue">no-repeat</span><span class="css_def">;
            </span><span class="css_prop">background-position</span><span class="css_def">:</span><span class="css_propvalue">20px 50px</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">200px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">200px</span><span class="css_def">;
            </span><span class="css_prop">border</span><span class="css_def">:</span><span class="css_propvalue">1px solid #989898</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"placed_bg"</span><span class="html_tagop">&gt;</span><span class="html_def">Positioned background.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_14.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>

		
		<p style="margin:30px 0px 16px 0px;">
			<p>Using the shorthand <a href="http://help.dottoro.com/lcdvammh.php" target="dottoro">background</a> property:</p>
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.placed_bg</span><span class="css_def"> {
            </span><span class="css_prop">background</span><span class="css_def">:</span><span class="css_propvalue">transparent url(images/image_to_spec_pos.gif) 20px 50px no-repeat</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">200px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">200px</span><span class="css_def">;
            </span><span class="css_prop">border</span><span class="css_def">:</span><span class="css_propvalue">1px solid #989898</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"placed_bg"</span><span class="html_tagop">&gt;</span><span class="html_def">Positioned background.</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_15.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>


		<p style="margin:30px 0px 16px 0px;">
			The next scriptlet shows how you can manipulate the position of a background image from JavaScript:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_id">#bg_move_area</span><span class="css_def"> {
            </span><span class="css_prop">background</span><span class="css_def">:</span><span class="css_propvalue">transparent url(images/image_to_spec_pos.gif) 20px 50px no-repeat</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">200px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">200px</span><span class="css_def">;
            </span><span class="css_prop">border</span><span class="css_def">:</span><span class="css_propvalue">1px solid #989898</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">script</span><span class="html_tagop">&gt;</span><span class="jscript_def">
        </span><span class="jscript_keyword">function</span><span class="jscript_def"> MoveBg </span><span class="jscript_op">(</span><span class="jscript_prop">event</span><span class="jscript_op">)</span><span class="jscript_def"> </span><span class="jscript_op">{</span><span class="jscript_def">
            </span><span class="jscript_keyword">var</span><span class="jscript_def"> x </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_prop">event</span><span class="jscript_op">.</span><span class="jscript_prop">offsetX</span><span class="jscript_op">)?</span><span class="jscript_def"> </span><span class="jscript_prop">event</span><span class="jscript_op">.</span><span class="jscript_prop">offsetX</span><span class="jscript_def"> </span><span class="jscript_op">:</span><span class="jscript_def"> </span><span class="jscript_prop">event</span><span class="jscript_op">.</span><span class="jscript_prop">layerX</span><span class="jscript_op">;</span><span class="jscript_def">
            </span><span class="jscript_keyword">var</span><span class="jscript_def"> y </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_prop">event</span><span class="jscript_op">.</span><span class="jscript_prop">offsetY</span><span class="jscript_op">)?</span><span class="jscript_def"> </span><span class="jscript_prop">event</span><span class="jscript_op">.</span><span class="jscript_prop">offsetY</span><span class="jscript_def"> </span><span class="jscript_op">:</span><span class="jscript_def"> </span><span class="jscript_prop">event</span><span class="jscript_op">.</span><span class="jscript_prop">layerY</span><span class="jscript_op">;</span><span class="jscript_def">
            </span><span class="jscript_keyword">var</span><span class="jscript_def"> bg_move_area </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_prop">document</span><span class="jscript_op">.</span><span class="jscript_method">getElementById</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_string">"bg_move_area"</span><span class="jscript_op">);</span><span class="jscript_def">
            </span><span class="jscript_keyword">if</span><span class="jscript_def"> </span><span class="jscript_op">(!</span><span class="jscript_prop">event</span><span class="jscript_op">.</span><span class="jscript_prop">offsetX</span><span class="jscript_op">)</span><span class="jscript_def"> </span><span class="jscript_op">{</span><span class="jscript_def">
                </span><span class="jscript_keyword">var</span><span class="jscript_def"> oParent </span><span class="jscript_op">=</span><span class="jscript_def"> bg_move_area</span><span class="jscript_op">;</span><span class="jscript_def">
                </span><span class="jscript_keyword">var</span><span class="jscript_def"> areaX </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_number">0</span><span class="jscript_op">;</span><span class="jscript_def">
                </span><span class="jscript_keyword">var</span><span class="jscript_def"> areaY </span><span class="jscript_op">=</span><span class="jscript_def"> </span><span class="jscript_number">0</span><span class="jscript_op">;</span><span class="jscript_def">
                </span><span class="jscript_keyword">while</span><span class="jscript_def"> </span><span class="jscript_op">(</span><span class="jscript_def">oParent</span><span class="jscript_op">)</span><span class="jscript_def"> </span><span class="jscript_op">{</span><span class="jscript_def">
                    areaX </span><span class="jscript_op">+=</span><span class="jscript_def"> oParent</span><span class="jscript_op">.</span><span class="jscript_prop">offsetLeft</span><span class="jscript_op">;</span><span class="jscript_def">
                    areaY </span><span class="jscript_op">+=</span><span class="jscript_def"> oParent</span><span class="jscript_op">.</span><span class="jscript_prop">offsetTop</span><span class="jscript_op">;</span><span class="jscript_def">
                    oParent </span><span class="jscript_op">=</span><span class="jscript_def"> oParent</span><span class="jscript_op">.</span><span class="jscript_prop">offsetParent</span><span class="jscript_op">;</span><span class="jscript_def">
                </span><span class="jscript_op">}</span><span class="jscript_def">
                x </span><span class="jscript_op">=</span><span class="jscript_def"> x </span><span class="jscript_op">-</span><span class="jscript_def"> areaX</span><span class="jscript_op">;</span><span class="jscript_def">
                y </span><span class="jscript_op">=</span><span class="jscript_def"> y </span><span class="jscript_op">-</span><span class="jscript_def"> areaY</span><span class="jscript_op">;</span><span class="jscript_def">
            </span><span class="jscript_op">}</span><span class="jscript_def">
            bg_move_area</span><span class="jscript_op">.</span><span class="jscript_prop">style</span><span class="jscript_op">.</span><span class="jscript_prop">backgroundPosition</span><span class="jscript_def"> </span><span class="jscript_op">=</span><span class="jscript_def"> x </span><span class="jscript_op">+</span><span class="jscript_def"> </span><span class="jscript_string">"px "</span><span class="jscript_def"> </span><span class="jscript_op">+</span><span class="jscript_def"> y </span><span class="jscript_op">+</span><span class="jscript_def"> </span><span class="jscript_string">"px"</span><span class="jscript_op">;</span><span class="jscript_def">
        </span><span class="jscript_op">}</span><span class="jscript_def">
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">script</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">id</span><span class="html_attrop">=</span><span class="html_attrvalue">"bg_move_area"</span><span class="html_def"> </span><span class="html_attr">onmousemove</span><span class="html_attrop">=</span><span class="html_attrvalue">"MoveBg (event);"</span><span class="html_tagop">&gt;&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_16.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>

	</div>

	<h2 style="margin:50px 0px 24px 0px;"><a name="bg_to_spec_pos_fixed">6. How to place a background image in a specific position that is independent of the scroll state.</a></h2>

	<div style="margin:0px 20px;">
		<p>You must place the background image at a fixed position:</p>

		<p style="margin:16px 0px 16px 0px;">
			Using the <a href="http://help.dottoro.com/lcqbxsvr.php" target="dottoro">background-image</a>, 
			<a href="http://help.dottoro.com/lcxeujbu.php" target="dottoro">background-color</a>, 
			<a href="http://help.dottoro.com/lcfdurvk.php" target="dottoro">background-repeat</a>, 
			<a href="http://help.dottoro.com/lcsijbba.php" target="dottoro">background-position</a>, 
			<a href="http://help.dottoro.com/lcjhuaci.php" target="dottoro">background-attachment</a> properties:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.placed_bg</span><span class="css_def"> {
            </span><span class="css_prop">background-image</span><span class="css_def">:</span><span class="css_propvalue">url(images/fixed_bg.gif)</span><span class="css_def">;
            </span><span class="css_prop">background-color</span><span class="css_def">:</span><span class="css_propvalue">#ffefef</span><span class="css_def">;
            </span><span class="css_prop">background-repeat</span><span class="css_def">:</span><span class="css_propvalue">no-repeat</span><span class="css_def">;
            </span><span class="css_prop">background-position</span><span class="css_def">:</span><span class="css_propvalue">180px 60px</span><span class="css_def">;
            </span><span class="css_prop">background-attachment</span><span class="css_def">:</span><span class="css_propvalue">fixed</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">200px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">200px</span><span class="css_def">;
            </span><span class="css_prop">overflow</span><span class="css_def">:</span><span class="css_propvalue">scroll</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"placed_bg"</span><span class="html_tagop">&gt;</span><span class="html_def">
        text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">
        Scroll this div!</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">
        text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">
        text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_17.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>


		<p style="margin:30px 0px 16px 0px;">
			Using the shorthand <a href="http://help.dottoro.com/lcdvammh.php" target="dottoro">background</a> property:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_class">.placed_bg</span><span class="css_def"> {
            </span><span class="css_prop">background</span><span class="css_def">:</span><span class="css_propvalue">#ffefef url(images/fixed_bg.gif) 180px 60px no-repeat fixed</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">200px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">200px</span><span class="css_def">;
            </span><span class="css_prop">overflow</span><span class="css_def">:</span><span class="css_propvalue">scroll</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"placed_bg"</span><span class="html_tagop">&gt;</span><span class="html_def">
        text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">
        Scroll this div!</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">
        text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">
        text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">text...</span><span class="html_tagop">&lt;</span><span class="html_tag">br</span><span class="html_def"> </span><span class="html_tagop">/&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_18.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>

	</div>

	<h2 style="margin:50px 0px 24px 0px;"><a name="trans_bg">7. How to create a transparent background</a></h2>

	<div style="margin:0px 20px;">

		<h3 style="margin:40px 0px 24px 0px;">a, How to create an element with a transparent background:</h3>

		<p style="margin:24px 0px 16px 0px;">
			Most HTML elements' background is transparent by default, but you can set it directly with the 
			<a href="http://help.dottoro.com/lcxeujbu.php" target="dottoro">background-color</a> property:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_type">body</span><span class="css_def"> {
            </span><span class="css_prop">background-color</span><span class="css_def">:</span><span class="css_propvalue">#72b429</span><span class="css_def">;
        }

        </span><span class="css_class">.trans_elem</span><span class="css_def"> {
            </span><span class="css_prop">background-color</span><span class="css_def">:</span><span class="css_propvalue">transparent</span><span class="css_def">;
            </span><span class="css_prop">border</span><span class="css_def">:</span><span class="css_propvalue">1px solid #787878</span><span class="css_def">;
        }

        </span><span class="css_class">.non_trans_elem</span><span class="css_def"> {
            </span><span class="css_prop">background-color</span><span class="css_def">:</span><span class="css_propvalue">#ffffff</span><span class="css_def">;
            </span><span class="css_prop">border</span><span class="css_def">:</span><span class="css_propvalue">1px solid #787878</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"trans_elem"</span><span class="html_tagop">&gt;</span><span class="html_def">Some content within a transparent element</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"non_trans_elem"</span><span class="html_tagop">&gt;</span><span class="html_def">Some content within a non-transparent element</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_19.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>


		<h3 style="margin:50px 0px 24px 0px;">b, How to use a transparent image as the background:</h3>

		<p style="margin:24px 0px 16px 0px;">Image types that can be used:</p>
		<ol>
			<li>
				GIF (Graphics Interchange Format)
				<div style="padding-left:30px; color:#5a5a5a;">The GIF format allows only one of the colors in the palette to be fully transparent.</div>
			</li>
			<li>
				PNG (Portable Network Graphics)
				<div style="padding-left:30px; color:#5a5a5a;">
					The PNG image format supports alpha channel values for any palette entry. What does that mean? 
					It means that all colors can be transparent with different opacity.
				</div>
			</li>
		</ol>


		<h4 style="margin-top:40px;">1, One-color transparency (e.g. sharp edges)</h4>

		<p>The example GIF (without the checkered background): 
			<div style="background:url(/blog/blog_images/css_background/examples/images/bg.gif) repeat; width:120px; height:50px; padding:13px 0px 0px 20px; margin:12px 0px 0px 30px;">
				<img src="/blog/blog_images/css_background/examples/images/rounded.gif" />
			</div>
		</p>

		<p style="margin:24px 0px 16px 0px;">
			Using the <a href="http://help.dottoro.com/lcqbxsvr.php" target="dottoro">background-image</a>, 
			<a href="http://help.dottoro.com/lcxeujbu.php" target="dottoro">background-color</a>, 
			<a href="http://help.dottoro.com/lcfdurvk.php" target="dottoro">background-repeat</a>, 
			<a href="http://help.dottoro.com/lcsijbba.php" target="dottoro">background-position</a> properties:
		</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_type">body</span><span class="css_def"> {
            </span><span class="css_prop">background</span><span class="css_def">:</span><span class="css_propvalue">url(images/bg.gif) repeat</span><span class="css_def">;
        }
        </span><span class="css_class">.trans_bg_img</span><span class="css_def"> {
            </span><span class="css_prop">background-image</span><span class="css_def">:</span><span class="css_propvalue">url(images/rounded.gif)</span><span class="css_def">;
            </span><span class="css_prop">background-color</span><span class="css_def">:</span><span class="css_propvalue">transparent</span><span class="css_def">;
            </span><span class="css_prop">background-repeat</span><span class="css_def">:</span><span class="css_propvalue">no-repeat</span><span class="css_def">;
            </span><span class="css_prop">background-position</span><span class="css_def">:</span><span class="css_propvalue">top left</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">80px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">23px</span><span class="css_def">;
            </span><span class="css_prop">color</span><span class="css_def">:</span><span class="css_propvalue">#f6f6f6</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_def"> </span><span class="html_attr">style</span><span class="html_attrop">=</span><span class="html_attrvalue">"background:url (images/bg.gif) repeat;"</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"trans_bg_img"</span><span class="html_tagop">&gt;</span><span class="html_def">rounded</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_20.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>


		<p style="margin:30px 0px 16px 0px;">Using the shorthand <a href="http://help.dottoro.com/lcdvammh.php" target="dottoro">background</a> property:</p>

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_type">body</span><span class="css_def"> {
            </span><span class="css_prop">background</span><span class="css_def">:</span><span class="css_propvalue">url(images/bg.gif) repeat</span><span class="css_def">;
        }
        </span><span class="css_class">.trans_bg_img</span><span class="css_def"> {
            </span><span class="css_prop">background</span><span class="css_def">:</span><span class="css_propvalue">transparent url(images/rounded.gif) top left no-repeat</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">80px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">23px</span><span class="css_def">;
            </span><span class="css_prop">color</span><span class="css_def">:</span><span class="css_propvalue">#f6f6f6</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"trans_bg_img"</span><span class="html_tagop">&gt;</span><span class="html_def">rounded</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_21.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>



		<h4 style="margin-top:50px;">2, Alpha chanel</h4>

		<p>The example PNG (without the checkered background): 
			<div style="background:url(/blog/blog_images/css_background/examples/images/bg.gif) repeat; width:120px; height:50px; padding:13px 0px 0px 20px; margin:12px 0px 0px 30px;">
				<img src="/blog/blog_images/css_background/examples/images/rounded.png" />
			</div>
		</p>

		<p style="margin:24px 0px 16px 0px;">
			In the following examples, some workaround is ncessary to display a transparent image correctly in older Internet Explorer versions (versions before 7).
			We use a <a href="http://help.dottoro.com/lhmjwtik.php" target="dottoro">conditional comment</a> for version detection in Internet Explorer.
		</p>
		<p style="margin:16px 0px;">
			<b>Note:</b> The element must have a layout (<a href="http://help.dottoro.com/ljaxlwuj.php">hasLayout</a>) if you are going to use the AlphaImageLoader Filter.
		</p>
		

		<div style="margin-left:0px;">
<div class="dottoro_highlight dr_hl_noLineNumbers">
    <table class="dr_hl_container" cellpadding="0px" cellspacing="0px">
        <tr>
            <td class="dr_hl_codeCell">
<div class="dr_hl_codeContainer" style="width:590px; overflow:auto; overflow-x:scroll;"><pre class="dr_hl_lang_html"><span class="html_tagop">&lt;</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="css_def">
        </span><span class="css_type">body</span><span class="css_def"> {
            </span><span class="css_prop">background</span><span class="css_def">:</span><span class="css_propvalue">url(images/bg.gif) repeat</span><span class="css_def">;
        }
        </span><span class="css_class">.trans_bg_img</span><span class="css_def"> {
            </span><span class="css_prop">background</span><span class="css_def">:</span><span class="css_propvalue">transparent url(images/rounded.png) top left no-repeat</span><span class="css_def">;
            </span><span class="css_prop">width</span><span class="css_def">:</span><span class="css_propvalue">80px</span><span class="css_def">;
            </span><span class="css_prop">height</span><span class="css_def">:</span><span class="css_propvalue">23px</span><span class="css_def">;
        }
    </span><span class="html_tagop">&lt;/</span><span class="html_tag">style</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_com">&lt;!--[if lt IE 7]
        &lt;style&gt;
            .trans_bg_img {
                background-image:none;
                filter:AlphaImageLoader (src='images/rounded.png', sizingMethod='scale');
            }
        &lt;/style&gt;
    &lt;![endif]--&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">head</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
    </span><span class="html_tagop">&lt;</span><span class="html_tag">div</span><span class="html_def"> </span><span class="html_attr">class</span><span class="html_attrop">=</span><span class="html_attrvalue">"trans_bg_img"</span><span class="html_tagop">&gt;</span><span class="html_def">rounded</span><span class="html_tagop">&lt;/</span><span class="html_tag">div</span><span class="html_tagop">&gt;</span><span class="html_def">
</span><span class="html_tagop">&lt;/</span><span class="html_tag">body</span><span class="html_tagop">&gt;</span><span class="html_def">
</span></pre></div>
            </td>
        </tr>
        <tr>
            <td class="dr_hl_footerCell">
                <table class="dr_hl_footer" cellpadding="0px" cellspacing="0px">
                    <tr>
                        <td class="previewCell"><div onclick="window.open ('/blog/blog_images/css_background/examples/exam_22.htm', '_blank', 'width=500, height=350, scrollbars=yes, resizable=yes, location=no, status=no, menubar=no');">Preview</div></td>
                        <td class="dr_hl_viewPlainCell"><div onclick="Dottoro.HighLighter.OnViewPlainButton (this);">View Plain</div></td>
                        <td class="dr_hl_printCell"><div onclick="Dottoro.HighLighter.OnPrintButton (this);">Print</div></td>
                        <td class="dr_hl_trademarkCell" align="right"><a target="_blank" href="http://tools.dottoro.com/services/highlighter/html.php">D.r</a>&trade;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>
		</div>

	</div>


	<h2 style="margin:50px 0px 24px 0px;">8. What you can't do (at this time) with CSS background</h2>

	<ul>
		<li>
			An element with multiple backgrounds. (Only workaround possible with positioned elements. Elements must be placed above the others.)
		</li>
		<li>
			You can't change the dimensions of the original image used as background. Its horizontal and vertical size is independent 
			of the dimensions of the element for which it is used as background.
		</li>
		<li>
			You cannot specify the horizontal or vertical starting position of the repetition of an image if the image is repeated; the 
			<a href="http://help.dottoro.com/lcsijbba.php" target="dottoro">background-position</a> is automatically set to left top.
		</li>
	</ul>


	<h2 style="margin:50px 0px 24px 0px;">Further reading</h2>
	<ul>
		<li><a href="http://help.dottoro.com/lanifqvh.php" target="dottoro">colors</a></li>
		<li><a href="http://help.dottoro.com/lcdvammh.php" target="dottoro">background</a></li>
		<li><a href="http://help.dottoro.com/lcqbxsvr.php" target="dottoro">background-image</a></li>
		<li><a href="http://help.dottoro.com/lcxeujbu.php" target="dottoro">background-color</a></li>
		<li><a href="http://help.dottoro.com/lcfdurvk.php" target="dottoro">background-repeat</a></li>
		<li><a href="http://help.dottoro.com/lcsijbba.php" target="dottoro">background-position</a></li>
		<li><a href="http://help.dottoro.com/lcjhuaci.php" target="dottoro">background-attachment</a></li>
		<li><a href="http://help.dottoro.com/lanifqvh.php" target="dottoro">available color values in CSS</a></li>
		<li><a href="http://help.dottoro.com/lhmjwtik.php" target="dottoro">conditional comment</a></li>
	</ul>

	<p style="margin:24px 0px 16px 0px;">
		Thanks for reading!
		<p>Any suggestion is highly appreciated.</p>
	</p>
]]></content:encoded>
			<wfw:commentRss>http://help.dottoro.com/blog/css-background-as-it-is-now/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>13 amazing free fonts for your website</title>
		<link>http://help.dottoro.com/blog/13-amazing-free-fonts-for-your-website/</link>
		<comments>http://help.dottoro.com/blog/13-amazing-free-fonts-for-your-website/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 14:26:45 +0000</pubDate>
		<dc:creator>Dottoro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://help.dottoro.com/blog/?p=11</guid>
		<description><![CDATA[Why 13? It's only by accident, I wanted to make a top 10 list, but I just couldn't miss any font that I like. Text content is the biggest part of an informative website, so it's particularly important to choose the perfect font and textual layout. That is even more true when using pre-made templates. ...]]></description>
			<content:encoded><![CDATA[<span class="caps" style="font-size:24px;">W</span>hy 13?
It's only by accident, I wanted to make a top 10 list, but I just couldn't miss any font that I like.

<div style="margin-top:1em;">Text content is the biggest part of an informative website, so it's particularly important to choose the perfect font and textual layout.
That is even more true when using pre-made templates.
The easiest way to make your site unique is to use custom fonts.</div> 
<span id="more-11"></span>

<h3 style="margin-top:30px;">How to embed a custom font into your website in all browsers?</h3>
See <a href="http://help.dottoro.com/lcvrccwp.php">this tutorial</a>.

<div style="margin-top:30px;">
	The 13 fonts showcased in the post are my favorites from the several thousands available on the market, because of their readability and legibility.
	I've found them very useful and thought I’d share them with you. Enjoy! <img src='http://help.dottoro.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> 
</div>
<div style="margin-top:1em; margin-bottom:30px; background:#ffeeee; border:1px solid #999999; padding:6px; clear:both;">
	Note: The most of these fonts only contain English characters!!!
</div>
<h3 style="margin-top:30px;">The fonts:</h3>
<h3 style="padding-left:14px;">28 Days Later</h3>
<div class="line"></div>
<div style="background-image:url(/blog/blog_images/top_13_fonts/28dayslater.gif); width:500px; height:100px;"></div>
<div style="text-align:right; padding-right:60px;"><a href="/blog/blog_images/top_13_fonts/fonts/28_days_later.zip">download</a></div>
<h3 style="padding-left:14px;">Alba</h3>
<div class="line"></div>
<div style="background-image:url(/blog/blog_images/top_13_fonts/alba.gif); width:500px; height:100px;"></div>
<div style="text-align:right; padding-right:60px;"><a href="/blog/blog_images/top_13_fonts/fonts/alba.zip">download</a></div>
<h3 style="padding-left:14px;">Angelina</h3>
<div class="line"></div>
<div style="background-image:url(/blog/blog_images/top_13_fonts/angelina.gif); width:500px; height:100px;"></div>
<div style="text-align:right; padding-right:60px;"><a href="/blog/blog_images/top_13_fonts/fonts/angelina.zip">download</a></div>
<h3 style="padding-left:14px;">Antipasto</h3>
<div class="line"></div>
<div style="background-image:url(/blog/blog_images/top_13_fonts/antipasto.gif); width:500px; height:100px;"></div>
<div style="text-align:right; padding-right:60px;"><a href="/blog/blog_images/top_13_fonts/fonts/antipasto.zip">download</a></div>
<h3 style="padding-left:14px;">Capture It</h3>
<div class="line"></div>
<div style="background-image:url(/blog/blog_images/top_13_fonts/captureit.gif); width:500px; height:100px;"></div>
<div style="text-align:right; padding-right:60px;"><a href="/blog/blog_images/top_13_fonts/fonts/capture_it.zip">download</a></div>
<h3 style="padding-left:14px;">Cheri</h3>
<div class="line"></div>
<div style="background-image:url(/blog/blog_images/top_13_fonts/cheri.gif); width:500px; height:100px;"></div>
<div style="text-align:right; padding-right:60px;"><a href="/blog/blog_images/top_13_fonts/fonts/cheri.zip">download</a></div>
<h3 style="padding-left:14px;">Dirty and Classic</h3>
<div class="line"></div>
<div style="background-image:url(/blog/blog_images/top_13_fonts/dirtyandclassic.gif); width:500px; height:100px;"></div>
<div style="text-align:right; padding-right:60px;"><a href="/blog/blog_images/top_13_fonts/fonts/dirty_and_classic.zip">download</a></div>
<h3 style="padding-left:14px;">English</h3>
<div class="line"></div>
<div style="background-image:url(/blog/blog_images/top_13_fonts/english.gif); width:500px; height:100px;"></div>
<div style="text-align:right; padding-right:60px;"><a href="/blog/blog_images/top_13_fonts/fonts/english.zip">download</a></div>
<h3 style="padding-left:14px;">Hand of Sean</h3>
<div class="line"></div>
<div style="background-image:url(/blog/blog_images/top_13_fonts/handofsean.gif); width:500px; height:100px;"></div>
<div style="text-align:right; padding-right:60px;"><a href="/blog/blog_images/top_13_fonts/fonts/hand_of_sean.zip">download</a></div>
<h3 style="padding-left:14px;">Harabara</h3>
<div class="line"></div>
<div style="background-image:url(/blog/blog_images/top_13_fonts/harabara.gif); width:500px; height:100px;"></div>
<div style="text-align:right; padding-right:60px;"><a href="/blog/blog_images/top_13_fonts/fonts/harabara.zip">download</a></div>
<h3 style="padding-left:14px;">Journal</h3>
<div class="line"></div>
<div style="background-image:url(/blog/blog_images/top_13_fonts/journal.gif); width:500px; height:100px;"></div>
<div style="text-align:right; padding-right:60px;"><a href="/blog/blog_images/top_13_fonts/fonts/journal.zip">download</a></div>
<h3 style="padding-left:14px;">Renaissance</h3>
<div class="line"></div>
<div style="background-image:url(/blog/blog_images/top_13_fonts/renaissance.gif); width:500px; height:100px;"></div>
<div style="text-align:right; padding-right:60px;"><a href="/blog/blog_images/top_13_fonts/fonts/renaissance.zip">download</a></div>
<h3 style="padding-left:14px;">Soolidium</h3>
<div class="line"></div>
<div style="background-image:url(/blog/blog_images/top_13_fonts/soolidium.gif); width:500px; height:100px;"></div>
<div style="text-align:right; padding-right:60px;"><a href="/blog/blog_images/top_13_fonts/fonts/soolidium.zip">download</a></div>
]]></content:encoded>
			<wfw:commentRss>http://help.dottoro.com/blog/13-amazing-free-fonts-for-your-website/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>64 high-ranked blogs for developers</title>
		<link>http://help.dottoro.com/blog/64-high-ranked-blogs-for-developers/</link>
		<comments>http://help.dottoro.com/blog/64-high-ranked-blogs-for-developers/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 14:24:53 +0000</pubDate>
		<dc:creator>Dottoro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://help.dottoro.com/blog/?p=7</guid>
		<description><![CDATA[The following list contains personal blogs that have at least pagerank 6 and are written in English for developers. Some of them are about specific technologies, some of them are more general and some of them are not only for developers. I hope everybody can find some useful blogs in the list. The OPML file ...]]></description>
			<content:encoded><![CDATA[<div>The following list contains personal blogs that have at least pagerank 6 and are written in English for developers.</div>
<div style="margin-bottom:16px; margin-top:16px;">Some of them are about specific technologies, some of them are more general and some of them are not only for developers.</div>
<p>
I hope everybody can find some useful blogs in the list.
</p>

The OPML file for the RSS feeds of these blogs can be downloaded from here: <a rel="external nofollow" href="/blog/opml/6+devblogs.xml">6+devblogs.xml</a>.

<span id="more-7"></span>

<div style="clear:both"></div>
<ol style="margin-top:33px">
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Daring Fireball By John Gruber</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://daringfireball.net/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/daringfireball.net.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">7</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://daringfireball.net/" target="_blank">http://daringfireball.net/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Eric A. and Kathryn S. Meyer Blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://meyerweb.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/meyerweb.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">7</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://meyerweb.com/" target="_blank">http://meyerweb.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Dave Winer - Scripting News</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://scripting.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/scripting.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">7</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://scripting.com/" target="_blank">http://scripting.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Simon Willison’s Weblog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://simonwillison.net/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/simonwillison.net.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">7</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://simonwillison.net/" target="_blank">http://simonwillison.net/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Stevey's Blog Rants</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://steve-yegge.blogspot.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/steve-yegge.blogspot.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">7</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://steve-yegge.blogspot.com/" target="_blank">http://steve-yegge.blogspot.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">ScottGu's Blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://weblogs.asp.net/scottgu/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/weblogs.asp.net_scottgu.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">7</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://weblogs.asp.net/scottgu/" target="_blank">http://weblogs.asp.net/scottgu/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Roger Johansson - 456 Berea Street: Articles and news on web standards, accessibility, and usability</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.456bereastreet.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.456bereastreet.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">7</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.456bereastreet.com/" target="_blank">http://www.456bereastreet.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Joel on Software</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.joelonsoftware.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.joelonsoftware.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">7</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.joelonsoftware.com/" target="_blank">http://www.joelonsoftware.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Nguyễn Đình Quân - Narga</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.narga.net/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.narga.net.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">7</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.narga.net/" target="_blank">http://www.narga.net/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Rough Type: Nicholas Carr's Blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.roughtype.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.roughtype.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">7</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.roughtype.com/" target="_blank">http://www.roughtype.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Remus Stratulat - On the Stre@m</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.stratulat.com/blog/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.stratulat.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">7</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.stratulat.com/blog/" target="_blank">http://www.stratulat.com/blog/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Jeffrey Zeldman Presents The Daily Report</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.zeldman.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.zeldman.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">7</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.zeldman.com/" target="_blank">http://www.zeldman.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Aral Balkan - Changing the world through technology and oratory</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://aralbalkan.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/aralbalkan.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://aralbalkan.com/" target="_blank">http://aralbalkan.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Brian Hayes - Bit-Player</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://bit-player.org/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/bit-player.org.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://bit-player.org/" target="_blank">http://bit-player.org/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Jon Udell - Strategies for Internet citizens</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://blog.jonudell.net/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/blog.jonudell.net.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://blog.jonudell.net/" target="_blank">http://blog.jonudell.net/</a></div></td>
</tr>
</tbody></table>
</li>
<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Nihilogic (Jacob Seidelin) - JavaScript, games and other things that matter</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://blog.nihilogic.dk/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/blog.nihilogic.dk.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://blog.nihilogic.dk/" target="_blank">http://blog.nihilogic.dk/</a></div></td>
</tr>
</tbody></table>
</li>
<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Paul Walk's weblog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://blog.paulwalk.net/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/blog.paulwalk.net.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://blog.paulwalk.net/" target="_blank">http://blog.paulwalk.net/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Joel Spolsky and Jeff Atwood - Stack Overflow</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://blog.stackoverflow.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/blog.stackoverflow.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://blog.stackoverflow.com/" target="_blank">http://blog.stackoverflow.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Vladimir Vukićević's Blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://blog.vlad1.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/blog.vlad1.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://blog.vlad1.com/" target="_blank">http://blog.vlad1.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">J.D. Meier's Blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://blogs.msdn.com/jmeier/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/blogs.msdn.com_jmeier.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://blogs.msdn.com/jmeier/" target="_blank">http://blogs.msdn.com/jmeier/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Bokardo - Social Design by Joshua Porter</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://bokardo.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/bokardo.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://bokardo.com/" target="_blank">http://bokardo.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Marco Casario - RIAvolutionize the web</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://casario.blogs.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/casario.blogs.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://casario.blogs.com/" target="_blank">http://casario.blogs.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Software application development - Adrian Bridgwater's Blog at ZDNet.co.uk Community</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://community.zdnet.co.uk/blog/0,1000000567,2000458459b,00.htm" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/community.zdnet.co.uk_adrian.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://community.zdnet.co.uk/blog/0,1000000567,2000458459b,00.htm" target="_blank">http://community.zdnet.co.uk/blog/0,1000000567,2000458459b,00.htm</a></div></td>
</tr>
</tbody></table>
</li>
<li style="margin-bottom:20px; list-style-type:none;">
##adsense_unit##
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Chris Coyier - CSS-Tricks</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://css-tricks.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/css-tricks.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://css-tricks.com/" target="_blank">http://css-tricks.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">The Warne Account - The personal blog of Dan Warne, Australian tech journalist</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://danwarne.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/danwarne.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://danwarne.com/" target="_blank">http://danwarne.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">John Resig - Blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://ejohn.org/blog/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/ejohn.org.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://ejohn.org/blog/" target="_blank">http://ejohn.org/blog/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Beast-Blog.com  - Mike Cherim's Professional and Personal Web Log - Home Page</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://green-beast.com/blog/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/green-beast.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://green-beast.com/blog/" target="_blank">http://green-beast.com/blog/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Imthiaz Blog - me and stupid works .. !!!</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://imthi.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/imthi.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://imthi.com/" target="_blank">http://imthi.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Martin Fowler's Bliki</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://martinfowler.com/bliki/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/martinfowler.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://martinfowler.com/bliki/" target="_blank">http://martinfowler.com/bliki/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Oracle Data Mining and Analytics</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://oracledmt.blogspot.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/oracledmt.blogspot.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://oracledmt.blogspot.com/" target="_blank">http://oracledmt.blogspot.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Raible Designs - Matt Raible's discussions on Java and Web Development</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://raibledesigns.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/raibledesigns.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://raibledesigns.com/" target="_blank">http://raibledesigns.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Jeff Siarto's Blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://siarto.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/siarto.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://siarto.com/" target="_blank">http://siarto.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Scott Watermasysk - Simpable</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://simpable.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/simpable.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://simpable.com/" target="_blank">http://simpable.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Six Revisions (Jacob Gube) - Web Development and Design Information</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://sixrevisions.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/sixrevisions.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://sixrevisions.com/" target="_blank">http://sixrevisions.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Giovanni Gallucci - The agency blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://theagencyblog.typepad.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/theagencyblog.typepad.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://theagencyblog.typepad.com/" target="_blank">http://theagencyblog.typepad.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">The Daily WTF (Alex Papadimoulis): Curious Perversions in Information Technology.</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://thedailywtf.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/thedailywtf.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://thedailywtf.com/" target="_blank">http://thedailywtf.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Andy Lester - The Working Geek</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://theworkinggeek.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/theworkinggeek.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://theworkinggeek.com/" target="_blank">http://theworkinggeek.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Edd Dumbill's Weblog: Behind the Times</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://times.usefulinc.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/times.usefulinc.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://times.usefulinc.com/" target="_blank">http://times.usefulinc.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Brian Kelly - UK Web Focus</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://ukwebfocus.wordpress.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/ukwebfocus.wordpress.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://ukwebfocus.wordpress.com/" target="_blank">http://ukwebfocus.wordpress.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Dare Obasanjo aka Carnage4Life</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.25hoursaday.com/weblog/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.25hoursaday.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.25hoursaday.com/weblog/" target="_blank">http://www.25hoursaday.com/weblog/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Recent Web Log Entries By Ben Nadel</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.bennadel.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.bennadel.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.bennadel.com/" target="_blank">http://www.bennadel.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">CGISecurity (Robert Auger) - Website and Application Security News</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.cgisecurity.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.cgisecurity.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.cgisecurity.com/" target="_blank">http://www.cgisecurity.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">CMS Critic (Mike Johnston) - CMS Reviews, Listings, Articles and News</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.cmscritic.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.cmscritic.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.cmscritic.com/" target="_blank">http://www.cmscritic.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Max Pool - {codesqueeze}</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.codesqueeze.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.codesqueeze.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.codesqueeze.com/" target="_blank">http://www.codesqueeze.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Jeff Atwood - Coding Horror</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.codinghorror.com/blog/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.codinghorror.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.codinghorror.com/blog/" target="_blank">http://www.codinghorror.com/blog/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Mariano Iglesias - Coding My Thoughts</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.cricava.com/blogs/mariano.php" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.cricava.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.cricava.com/blogs/mariano.php" target="_blank">http://www.cricava.com/blogs/mariano.php</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Dan Webb's Blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.danwebb.net/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.danwebb.net.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.danwebb.net/" target="_blank">http://www.danwebb.net/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Darren Hoyt - Blog, Portfolio and Personal Website</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.darrenhoyt.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.darrenhoyt.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.darrenhoyt.com/" target="_blank">http://www.darrenhoyt.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Gahtan’s Technology and Internet Law Blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.gahtan.com/techlawblog/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.gahtan.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.gahtan.com/techlawblog/" target="_blank">http://www.gahtan.com/techlawblog/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Scott Hanselman's Computer Zen</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.hanselman.com/blog/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.hanselman.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.hanselman.com/blog/" target="_blank">http://www.hanselman.com/blog/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">James Ward - RIA Cowboy, Rich Internet Applications, Flex, Adobe AIR, Java, Open Source, Linux, Enterprise Software.</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.jamesward.com/blog/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.jamesward.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.jamesward.com/blog/" target="_blank">http://www.jamesward.com/blog/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">The personal weblog of Kelvin Luck - a Flash, Flex and Javascript developer</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.kelvinluck.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.kelvinluck.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.kelvinluck.com/" target="_blank">http://www.kelvinluck.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Niall Kennedy's Weblog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.niallkennedy.com/blog/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.niallkennedy.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.niallkennedy.com/blog/" target="_blank">http://www.niallkennedy.com/blog/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Paul Graham's Blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.paulgraham.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.paulgraham.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.paulgraham.com/" target="_blank">http://www.paulgraham.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Stoyan's web dev blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.phpied.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.phpied.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.phpied.com/" target="_blank">http://www.phpied.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Rands In Repose</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.randsinrepose.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.randsinrepose.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.randsinrepose.com/" target="_blank">http://www.randsinrepose.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Ted Leung on the Air</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.sauria.com/blog/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.sauria.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.sauria.com/blog/" target="_blank">http://www.sauria.com/blog/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Scott Berkun's Blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.scottberkun.com/blog/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.scottberkun.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.scottberkun.com/blog/" target="_blank">http://www.scottberkun.com/blog/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Omar Shahine's Blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.shahine.com/omar/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.shahine.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.shahine.com/omar/" target="_blank">http://www.shahine.com/omar/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Skellie's Blog </span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.skelliewag.org/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.skelliewag.org.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.skelliewag.org/" target="_blank">http://www.skelliewag.org/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Jesse Ruderman's Blog</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.squarefree.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.squarefree.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.squarefree.com/" target="_blank">http://www.squarefree.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Steve Souders - High Performance Web Sites</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.stevesouders.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.stevesouders.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.stevesouders.com/" target="_blank">http://www.stevesouders.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Jen deHaan - Web and Video</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://www.webvideoblogger.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/www.webvideoblogger.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://www.webvideoblogger.com/" target="_blank">http://www.webvideoblogger.com/</a></div></td>
</tr>
</tbody></table>
</li>
	<li style="margin-bottom:20px;"><span style="font-size:16px; color:#000000;">Joost de Valk - Yoast - Tweaking Websites</span>
<table border="0" cellspacing="0" cellpadding="10">
<tbody>
<tr>
<td><a rel="external nofollow" href="http://yoast.com/" target="_blank"><img style="border:1px solid #e0e0e0;" src="/blog/blog_images/page_rank_snapshots/yoast.com.jpg" alt="" /></a></td>
<td>
<div style="margin-bottom:14px;"><strong>PageRank:</strong> <span style="color:#006000; font-size:18px;">6</span></div>
<div><strong>URL:</strong> <a rel="external nofollow" href="http://yoast.com/" target="_blank">http://yoast.com/</a></div></td>
</tr>
</tbody></table>
</li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://help.dottoro.com/blog/64-high-ranked-blogs-for-developers/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

