<?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>Paul Randall &#187; ie6</title>
	<atom:link href="https://paulrandall.com/tag/ie6/feed/" rel="self" type="application/rss+xml" />
	<link>https://paulrandall.com</link>
	<description>Experimenting for a living.</description>
	<lastBuildDate>Sat, 15 Mar 2025 15:32:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
	<item>
		<title>CSS3 Multiple Backgrounds</title>
		<link>https://paulrandall.com/2010/03/19/css3-multiple-backgrounds/</link>
		<comments>https://paulrandall.com/2010/03/19/css3-multiple-backgrounds/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 22:28:34 +0000</pubDate>
		<dc:creator><![CDATA[Paul]]></dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[png]]></category>

		<guid isPermaLink="false">http://prandall.com/?p=340</guid>
		<description><![CDATA[I thought it was about time I experimented with some CSS3 multiple backgrounds so I decided to play around with a wallpaper design I worked on in September. My experiment uses a top left, top right, bottom left and bottom right png gradient on the HTML element, with a repeating png overlay on the BODY. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I thought it was about time I experimented with some CSS3 multiple backgrounds so I decided to play around with a wallpaper design I worked on in September.
<p>My experiment uses a top left, top right, bottom left and bottom right png gradient on the HTML element, with a repeating png overlay on the BODY.</p>
<p><span id="more-340"></span></p>
<p><strong>As I firmly believe that you should make your design look at least acceptable in Internet Explorer 6, I have used Modernizr, a JavaScript library that allows you to take advantage of emerging web technologies.</strong></p>
<p>It&#8217;s the first time I have used it and I can see the huge potential of it. This system uses feature detection to add classes to the HTML document, allowing you to progressively enhance your websites.</p>
<p>In this example, I have been using <em>multiplebgs</em>, which allowed me to use the CSS3 technology only on sites that supported it. That allowed me to use a fallback JPG image for browsers that don&#8217;t.</p>
<h2>Here is the CSS code:</h2>
<p><code><br />
html.multiplebgs{<br />
	background-color: #141414;</p>
<p>	background-image: url("top-left.png"), url("top-right.png"),<br />
		url("bottom-left.png"), url("bottom-right.png");</p>
<p>	background-repeat: no-repeat, no-repeat,<br />
		no-repeat, no-repeat;</p>
<p>	background-position: top left, top right,<br />
		bottom left, bottom right;<br />
}<br />
body{background: url('fallback-bg.jpg') repeat; height:100%; width:100%;}<br />
.multiplebgs body{background: url('body-bg.png');}<br />
</code></p>
<h2>See the Example</h2>
<p><a href="https://paulrandall.com/experimental/css3-backgrounds/">https://paulrandall.com/experimental/css3-backgrounds/</a></p>
<p>If you have used multiple backgrounds before i&#8217;d love you to leave a comment and link to an example.</p>
]]></content:encoded>
			<wfw:commentRss>https://paulrandall.com/2010/03/19/css3-multiple-backgrounds/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
