<?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>Frank MacDonald&#187; CSS Properties</title>
	<atom:link href="http://www.frankmacdonald.co.uk/css-properties/feed" rel="self" type="application/rss+xml" />
	<link>http://www.frankmacdonald.co.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 24 Jul 2010 02:56:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cross-Browser CSS Opacity</title>
		<link>http://www.frankmacdonald.co.uk/css-properties/cross-browser-css-opacity.html</link>
		<comments>http://www.frankmacdonald.co.uk/css-properties/cross-browser-css-opacity.html#comments</comments>
		<pubDate>Thu, 29 Apr 2010 18:57:07 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[CSS Properties]]></category>
		<category><![CDATA[background color]]></category>
		<category><![CDATA[browser code]]></category>
		<category><![CDATA[code lt]]></category>
		<category><![CDATA[cross-browser]]></category>
		<category><![CDATA[css code]]></category>
		<category><![CDATA[css opacity]]></category>
		<category><![CDATA[div class]]></category>
		<category><![CDATA[div element]]></category>
		<category><![CDATA[KHTML]]></category>
		<category><![CDATA[konqueror]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.frankmacdonald.co.uk/?p=183</guid>
		<description><![CDATA[The ability to make a div element opaque using CSS is useful for creating aseptically pleasing websites and effects.  The following code can be used on any CSS element. 


Cross-Browser Code

filter: alpha(opacity=50);
-khtml-opacity: 0.5;
-moz-opacity: 0.5;
opacity: 0.5; 



Working Example

In this example a div element (.box) is centered on the screen using the margin auto code. It [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>The ability to make a div element opaque using CSS is useful for creating aseptically pleasing websites and effects.  The following code can be used on any CSS element. </p>
<div class="spacertopRight"></div>
<div class="spacertopRight"></div>
<p><b>Cross-Browser Code</b></p>
<div class="containerCode">
<code class="css">filter: alpha(opacity=50);<br />
-khtml-opacity: 0.5;<br />
-moz-opacity: 0.5;<br />
opacity: 0.5; </code>
</div>
<div class="spacertopRight"></div>
<div class="spacertopRight"></div>
<p><b>Working Example</b></p>
<div class="spacertopRight"></div>
<p>In this example a div element (.box) is centered on the screen using the margin auto code. It is then told its size, width and background color. Finally the element is told to be transparent in IE, Firefox Safari and Konqueror using the code depicted above.</p>
<div class="spacertopRight"></div>
<div class="spacertopRight"></div>
<p><b>HTML code</b></p>
<div class="spacertopRight"></div>
<div class="containerCode">
<code class="html">&lt;div class= &quot;box&quot;&gt;&lt;/div&gt;<br />
</code></div>
<div class="spacertopRight"></div>
<div class="spacertopRight"></div>
<p><b>CSS code</b></p>
<div class="spacertopRight"></div>
<div class="containerCode">
<code class="css">.box {<br />
margin: 0 auto 0 auto;<br />
width: 100px;<br />
height: 100px;<br />
background-color:#000;<br />
filter: alpha(opacity=50);<br />
-khtml-opacity: 0.5;<br />
-moz-opacity: 0.5;<br />
opacity: 0.5;<br />
}</code></div>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.frankmacdonald.co.uk/css-properties/cross-browser-css-opacity.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Round Edges with CSS</title>
		<link>http://www.frankmacdonald.co.uk/css-properties/round-edges-with-css.html</link>
		<comments>http://www.frankmacdonald.co.uk/css-properties/round-edges-with-css.html#comments</comments>
		<pubDate>Mon, 05 Oct 2009 16:33:45 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[CSS Properties]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css 3.0]]></category>
		<category><![CDATA[css only]]></category>
		<category><![CDATA[Curves]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[KHTML]]></category>
		<category><![CDATA[moz]]></category>
		<category><![CDATA[radius]]></category>
		<category><![CDATA[Round Edges]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://www.frankmacdonald.co.uk/?p=37</guid>
		<description><![CDATA[Drawing curves with CSS makes designing alot quicker. For instance, say you want to place a box with curved edges, you would traditionaly have to use images or javascript to render such an effect.  With the Development of CSS 3.0, it has become possible to draw curves using only CSS in some of the [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Drawing curves with CSS makes designing alot quicker. For instance, say you want to place a box with curved edges, you would traditionaly have to use images or javascript to render such an effect.  With the Development of CSS 3.0, it has become possible to draw curves using only CSS in some of the mainstream browsers. The following code can be used on any css element.</p>
<div class="spacertopRight"></div>
<div class="spacertopRight"></div>
<p><b>Firefox CSS code</b></p>
<div class="containerCode">
<code class="css">-moz-border-radius-bottomleft:4px;<br />
-moz-border-radius-bottomright:4px;<br />
-moz-border-radius-topleft:4px;<br />
-moz-border-radius-topright:4px;</code>
</div>
<div class="spacertopRight"></div>
<div class="spacertopRight"></div>
<p><b>Safari CSS code:</b></p>
<div class="spacertopRight"></div>
<div class="containerCode">
<code class="css">-webkit-border-top-left-radius:4px;<br />
-webkit-border-top-right-radius:4px;<br />
-webkit-border-bottom-left-radius:4px;<br />
-webkit-border-bottom-right-radius:4px;<br />
</code></div>
<div class="spacertopRight"></div>
<div class="spacertopRight"></div>
<p><b>Konqueror CSS code:</b></p>
<div class="spacertopRight"></div>
<div class="containerCode">
<code class="css">-khtml-border-top-left-radius:4px;<br />
-khtml-border-top-right-radius:4px;<br />
-khtml-border-bottom-left-radius:4px;<br />
-khtml-border-bottom-right-radius:4px;<br />
</code></div>
<div class="spacertopRight"></div>
<div class="spacertopRight"></div>
<p><b>Working Example</b></p>
<div class="spacertopRight"></div>
<p>In this example a div element (.box) is centered on the screen using the margin auto code. It is then told its size, width and background color. Finally the element is told to have rounded edges with a radius of 4 pixels in IE, Firefox and Konqueror using the code depicted above.</p>
<div class="spacertopRight"></div>
<div class="spacertopRight"></div>
<p><b>HTML code</b></p>
<div class="spacertopRight"></div>
<div class="containerCode">
<code class="html">&lt;div class= &quot;box&quot;&gt;&lt;/div&gt;<br />
</code></div>
<div class="spacertopRight"></div>
<div class="spacertopRight"></div>
<p><b>CSS code</b></p>
<div class="spacertopRight"></div>
<div class="containerCode">
<code class="css">.box {<br />
margin: 0 auto 0 auto;<br />
width: 100px;<br />
height: 100px;<br />
background-color:#000;<br />
-moz-border-radius-topleft:4px;<br />
-moz-border-radius-topright:4px;<br />
-moz-border-radius-bottomleft:4px;<br />
-moz-border-radius-bottomright:4px;<br />
-webkit-border-top-left-radius:4px;<br />
-webkit-border-top-right-radius:4px;<br />
-webkit-border-bottom-left-radius:4px;<br />
-webkit-border-bottom-right-radius:4px;<br />
-khtml-border-top-left-radius:4px;<br />
-khtml-border-top-right-radius:4px;<br />
-khtml-border-bottom-left-radius:4px;<br />
-khtml-border-bottom-right-radius:4px;<br />
}</code></div>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.frankmacdonald.co.uk/css-properties/round-edges-with-css.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Reset</title>
		<link>http://www.frankmacdonald.co.uk/css-properties/css-reset.html</link>
		<comments>http://www.frankmacdonald.co.uk/css-properties/css-reset.html#comments</comments>
		<pubDate>Mon, 05 Oct 2009 15:58:19 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[CSS Properties]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[cross-browser]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css reset]]></category>
		<category><![CDATA[normalize css]]></category>
		<category><![CDATA[reset css]]></category>
		<category><![CDATA[yahoo library]]></category>

		<guid isPermaLink="false">http://www.frankmacdonald.co.uk/?p=14</guid>
		<description><![CDATA[It is a good idea to reset or normalize your css stylesheet before starting a web-site design. This will remove most of the problems which arise when trying to make a site look the same in all web browsers. This is achieved by telling the web brower to set every available property to 0. Using [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>It is a good idea to reset or normalize your css stylesheet before starting a web-site design. This will remove most of the problems which arise when trying to make a site look the same in all web browsers. This is achieved by telling the web brower to set every available property to 0. Using this technique fixes padding differences between IE and Firefox.</p>
<div class="spacertopRight"></div>
<div class="spacertopRight"></div>
<p><b>Insert the following code at the top of your css file:</b></p>
<div class="spacertopRight"></div>
<div class="containerCode">
<code class="css">body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6 {<br />
	margin:0;<br />
	padding:0;<br />
}<br />
pre,form,fieldset,input,textarea,p,blockquote,th,td {<br />
	margin:0;<br />
	padding:0;<br />
}<br />
table {<br />
	border-collapse:collapse;<br />
	border-spacing:0;<br />
}<br />
fieldset,img {<br />
	border:0;<br />
}<br />
address,caption,cite,code,dfn,em,strong,th,var {<br />
	font-style:normal;<br />
	font-weight:normal;<br />
}<br />
ol,ul {<br />
	list-style:none;<br />
}<br />
caption,th {<br />
	text-align:left;<br />
}<br />
h1,h2,h3,h4,h5,h6 {<br />
	font-size:100%;<br />
	font-weight:normal;<br />
}<br />
q:before,q:after {<br />
	content:&#39;&#39;;<br />
}<br />
abbr,acronym { border:0;<br />
}<br />
</code></div>
<p>(YAHOO, 2009)</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.frankmacdonald.co.uk/css-properties/css-reset.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
