<?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/"
	>

<channel>
	<title>DomainFunk.com &#187; CSS</title>
	<atom:link href="http://domainfunk.com/generalsections/all-about-css/feed" rel="self" type="application/rss+xml" />
	<link>http://domainfunk.com</link>
	<description>A Magazine for webconnoissuers</description>
	<pubDate>Fri, 31 Jul 2009 08:31:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CSS Tips: The Absolute Theory of Relatively</title>
		<link>http://domainfunk.com/css-tips-the-absolute-theory-of-relatively</link>
		<comments>http://domainfunk.com/css-tips-the-absolute-theory-of-relatively#comments</comments>
		<pubDate>Wed, 14 Jan 2009 16:17:48 +0000</pubDate>
		<dc:creator>DomainFunk.com</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[css absolute relative]]></category>

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

		<category><![CDATA[Css tips]]></category>

		<guid isPermaLink="false">http://domainfunk.com/?p=185</guid>
		<description><![CDATA[  Many webmasters, who are still new to the webmaster world or are still learning CSS, have often pondered on this&#8230; Many of my students have asked me about this&#8230; many of my friends who are in to the same business as I have wondered why we, who have learnt the hard way do [...]]]></description>
			<content:encoded><![CDATA[<!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	--><div style='float:right'><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://domainfunk.com/css-tips-the-absolute-theory-of-relatively&amp;t=CSS+Tips%3A+The+Absolute+Theory+of+Relatively&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><iframe src='http://www.reddit.com/button_content?newwindow=1&amp;url=http://domainfunk.com/css-tips-the-absolute-theory-of-relatively&amp;title=CSS+Tips%3A+The+Absolute+Theory+of+Relatively&amp;t=2 ' height='80' width='52' scrolling='no' frameborder='0' ></iframe></td></table></div><p>Many webmasters, who are still new to the webmaster world or are still learning CSS, have often pondered on this&#8230; Many of my students have asked me about this&#8230; many of my friends who are in to the same business as I have wondered why we, who have learnt the hard way do it.. What am I talking about? Positioning in CSS, more so the relationship between absolute and relative positioning in CSS.</p>
<h1>So is it Relatively absolute or Absolutely relative?</h1>
<p>Whenever you are designing with CSS, more often than not, there will be times when you would have to nest divs. These nested divs could be relatively positioned or absolutely positioned. The more often used one would be nesting an absolute positioned div within a relative positioned div, albeit a relative positioned div wrapped around an absolute positioned div is also quite as famous. Huh?</p>
<p>Ok, Sherlock, here&#8217;s the 101 on it. An absolute positioned div or element is positioned with regards to the containment block. Any and all elements are considered to be positioned elements if they are either have relative, absolute or fixed positions. Any of the values, except static, assigned to the position property of a element, gives the element a “position”. Static is default value for most browsers, and if no value is specified(one of the values from the above three), static is taken as the default value. Static also means that the element is within the “normal flow” of the document, in regards with other elements in the web page.</p>
<p>An absolute-positioned element within a web page, having no containing block(s) [i.e. Having no ancestor elemets or having ancestors elements that are not positioned] is always placed in regards to the web page/browser render screen boundaries. Then such an element is known as the “initial containing block”.</p>
<p>For e.g :</p>
<p><code>#Main_Wrapper{<br />
position:absolute;<br />
top:0;<br />
left:0;<br />
}</code></p>
<p>The above element [i.e. Element with the id parameter set to “Main_Wrapper”] would be positioned on the top left hand side of the web browsers render area or screen media, only when the said element has not ancestral elements. But, if the above mentioned elements has any positioned ancestral blocks, the element would be positioned on the top left corner of that ancestral element.</p>
<h1>Absolute Twist, anyone?</h1>
<p>If, the above shown element, has any siblings, their positions are now reset to the boundaries of the ancestral element block! Not of the absolute-positioned block.</p>
<h1>CSS Yap Yap Yap&#8230;</h1>
<p>This does sound unwinding and at the same time ever winding to me. Lets see it action..<br />
During the design of one of my templates, lets call it AlphaZone, I had positioned the<br />
right column as absolute. Since I wanted the right hand side column to be appearing right below my template header. I never wanted an overlap or gaps between the header block and the right column block. My Header contained, a logo, a few links and a “call statement”. Because the links were in h1 tags and were basically texts. This is the reason the navigation could be resized by the browsers, since many people have different default text sizes along with different browsers rendering texts differently. This was the reason behind, me not positioning the right column in context to the screen media boundaries or page boundaries. If I would have, the right column would have overlapped the header for a number of people, using various browsers. So, What I did is absolute-positioned the header, and then created a wrapper block known as #wrappercontent, that would engulf the right column, main content pane and the left column. The main wrappercontent block was relative-positioned. This provided the container or wrapper to flow with the normal flow of the page. This way I achieved the results of having the container block being present below the header no matter what text size or browser or resolution.</p>
<h1>Now for the relative revelation&#8230;</h1>
<p>Since the main wrapper is relative-positioned, all the blocks or elements within the container block would have their positions reset and would have the position adhering to the #wrappercontent block as the containing element or ancestral element. Thus, the right column #rcol, would be auto positioned on the right hand side of #wrappercontent and would be positioned based on this ancestral element. It wouldn&#8217;t bother to be positioned on the top left or top right corner positions and this would also allow the right column to adjust vertically for different resolutions. </p>
<h1>CSS Butt Hugging, are we?</h1>
<p>Ok here is the rope-a-dope. I would have directly set a top-margin property for the top navigation, but I did not. Why? Same reason as above, texts, browsers and resolutions. The border or margin would have resized based on the above three influences. So what was eminent and still is, that The navigational links within the h1 tags were put into an element, which was relative-positioned within an ancestral element that was absolute-positioned, adding to this relative positioning, I also stated the height in pixels, 122px for the nav div, or #nav. This solved the margin or border dilemma.</p>
<h1>The other way out &#8230;</h1>
<p>Off course there are other ways of resolving the problem statement above, but to give you guys a rough idea of ancestral elements and the relationship of relative and absolute positioning, I took the above mentioned example. Perhaps this technique is now more clear to you guys.</p>
<h1>CSS Resources..</h1>
<p>Absolute Vs. Relative Positioning@     webdesign.about.com/od/advancedcss/a/aa061307.htm<br />
Layers, Absolute and relative positioning@ www.yourhtmlsource.com/stylesheets/csslayout.html</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Enjoyed it? Share it!:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;title=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively&amp;bodytext=Many%20webmasters%2C%20who%20are%20still%20new%20to%20the%20webmaster%20world%20or%20are%20still%20learning%20CSS%2C%20have%20often%20pondered%20on%20this...%20Many%20of%20my%20students%20have%20asked%20me%20about%20this...%20many%20of%20my%20friends%20who%20are%20in%20to%20the%20same%20business%20as%20I%20have%20wondered%20why%20we%2C%20who%20have" title="Digg"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;title=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively&amp;annotation=Many%20webmasters%2C%20who%20are%20still%20new%20to%20the%20webmaster%20world%20or%20are%20still%20learning%20CSS%2C%20have%20often%20pondered%20on%20this...%20Many%20of%20my%20students%20have%20asked%20me%20about%20this...%20many%20of%20my%20friends%20who%20are%20in%20to%20the%20same%20business%20as%20I%20have%20wondered%20why%20we%2C%20who%20have" title="Google Bookmarks"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;title=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively&amp;notes=Many%20webmasters%2C%20who%20are%20still%20new%20to%20the%20webmaster%20world%20or%20are%20still%20learning%20CSS%2C%20have%20often%20pondered%20on%20this...%20Many%20of%20my%20students%20have%20asked%20me%20about%20this...%20many%20of%20my%20friends%20who%20are%20in%20to%20the%20same%20business%20as%20I%20have%20wondered%20why%20we%2C%20who%20have" title="del.icio.us"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="TwitThis"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;t=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively" title="Facebook"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively" title="Technorati"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;title=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively" title="StumbleUpon"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="mailto:?subject=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively&amp;body=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively" title="E-mail this story to a friend!"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;title=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively&amp;source=DomainFunk.com+A+Magazine+for+webconnoissuers&amp;summary=Many%20webmasters%2C%20who%20are%20still%20new%20to%20the%20webmaster%20world%20or%20are%20still%20learning%20CSS%2C%20have%20often%20pondered%20on%20this...%20Many%20of%20my%20students%20have%20asked%20me%20about%20this...%20many%20of%20my%20friends%20who%20are%20in%20to%20the%20same%20business%20as%20I%20have%20wondered%20why%20we%2C%20who%20have" title="LinkedIn"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;title=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively" title="Live"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="Ma.gnolia"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="Ma.gnolia" alt="Ma.gnolia" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;t=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively" title="MySpace"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;submitHeadline=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively&amp;submitSummary=Many%20webmasters%2C%20who%20are%20still%20new%20to%20the%20webmaster%20world%20or%20are%20still%20learning%20CSS%2C%20have%20often%20pondered%20on%20this...%20Many%20of%20my%20students%20have%20asked%20me%20about%20this...%20many%20of%20my%20friends%20who%20are%20in%20to%20the%20same%20business%20as%20I%20have%20wondered%20why%20we%2C%20who%20have&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://yigg.de/neu?exturl=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;exttitle=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively" title="Yigg"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/yiggit.png" title="Yigg" alt="Yigg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;title=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively" title="Sphinn"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;title=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively" title="Mixx"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;title=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively" title="blogmarks"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://cimlap.blogter.hu/index.php?action=suggest_link&amp;title=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively&amp;url=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively" title="blogtercimlap"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/blogter.png" title="blogtercimlap" alt="blogtercimlap" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="Book.mark.hu"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="Book.mark.hu" alt="Book.mark.hu" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://co.mments.com/track?url=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;title=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively" title="co.mments"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/co.mments.png" title="co.mments" alt="co.mments" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="De.lirio.us"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="De.lirio.us" alt="De.lirio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;title=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively" title="DotNetKicks"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkagogo.com/go/AddNoPopup?url=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;title=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively" title="LinkaGoGo"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/linkagogo.png" title="LinkaGoGo" alt="LinkaGoGo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;h=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively" title="NewsVine"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fdomainfunk.com%2Fcss-tips-the-absolute-theory-of-relatively&amp;title=CSS%20Tips%3A%20The%20Absolute%20Theory%20of%20Relatively" title="Reddit"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="scuttle"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="scuttle" alt="scuttle" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="Spurl"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="Spurl" alt="Spurl" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" target="_blank" href="" title="YahooMyWeb"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="YahooMyWeb" alt="YahooMyWeb" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://domainfunk.com/css-tips-the-absolute-theory-of-relatively/feed</wfw:commentRss>
		</item>
		<item>
		<title>CSS : Avoiding Hacks</title>
		<link>http://domainfunk.com/css-avoiding-hacks</link>
		<comments>http://domainfunk.com/css-avoiding-hacks#comments</comments>
		<pubDate>Fri, 02 Jan 2009 20:55:22 +0000</pubDate>
		<dc:creator>DomainFunk.com</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[avoiding css hacks]]></category>

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

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

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

		<guid isPermaLink="false">http://domainfunk.com/?p=168</guid>
		<description><![CDATA[  Using hacks while designing a website based on CSS and XHTML is certainly an untamed reality. We all do it. I learnt it the hard way! When I started out with CSS and XHTML, I had a number of problems piling up with a number of Web 2.0 projects.  A lot of [...]]]></description>
			<content:encoded><![CDATA[<!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	--><div style='float:right'><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://domainfunk.com/css-avoiding-hacks&amp;t=CSS+%3A+Avoiding+Hacks&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><iframe src='http://www.reddit.com/button_content?newwindow=1&amp;url=http://domainfunk.com/css-avoiding-hacks&amp;title=CSS+%3A+Avoiding+Hacks&amp;t=2 ' height='80' width='52' scrolling='no' frameborder='0' ></iframe></td></table></div><p><img src="http://domainfunk.com/wp-content/uploads/2009/01/csshacks-300x195.jpg" alt="csshacks" title="csshacks" width="300" height="195" class="alignleft size-medium wp-image-169" align="left" />Using hacks while designing a website based on CSS and XHTML is certainly an untamed reality. We all do it. I learnt it the hard way! When I started out with CSS and XHTML, I had a number of problems piling up with a number of Web 2.0 projects.  A lot of googling for a LOT of time, I came across a lot hacks, some that worked, some that used to work and some that never worked, but I did have to use or come up with CSS hacks for making my clients happy. Funny what the stomuch makes you do eh? </p>
<h1>CSS Hacks a harsh reality</h1>
<p>The harsh reality is that hacks, doing more than helping you fix one CSS rendering problem, create more for you. Some of you migh debate this, but how many of us haven&#8217;t gone through times when browsers like Chrome were launched by Google, no offence, but I had to rush and check all my work to see how it rendered in chrome. For e.g look at this website itself in chrome, the top links still look a little wierd! There have been other times when browsers like FireFox update themselves and some of our previous hacks, stop working. </p>
<h1>Hacks are good, but&#8230;</h1>
<p>Precisely for reasons like these, I tried learning how to avoid the use of CSS hacks and still work the design right. I agree, Hacks provide a very systematic approach to handling discrepancies where various flavors of browsers are concerned and these little code snippnets do give us proper CSS fixes, but they still bloat up the CSS code and some may not be XHTML standard compliant. Whenever I use a CSS hack, I always think of me as being incapable of conjuring up a more elegant way of addressing the problem fixed by the CSS hack. Another baddie about using CSS hacks is as mentioned maintaining them throughout the life of the web design, for new and old browsers.</p>
<p>Today I go to great lengths to ensure that I avoid using CSS hacks and keep my code as simple and complain with the W3C, along with negligible or no maintaining trips invovled. </p>
<h1>Design Considerations to avoid CSS hacks</h1>
<p><b>#1 Avoiding precise pixel dimensioning in your design:</b> In my experience of designing websites, whatever it may be, I have come across using most hacks where defined width and height dimensions using pixel size. Try and design a page that renders the same no matter what browser one uses. You would not require a css hack when your design can easily address design inconsistancies and still look the way you intended too. </p>
<p><b>#2 Integrate the code behind with your design:</b> I learnt this, again, the hard way. It is much better to make your design work with your code hand in hand. Revisit and redesign every page element if you have to, but avoid using a CSS hack. If you are serious here, you would want to think of the entire process of designing and coding as one single process, instead of thinking of them separately. This would also make you go cycle around the code and the design with mulitple iterations, each refining your code and you design further. Do not approach coding separately than design.</p>
<p><b>#3 Design with limitations kept in mind:</b> No! I am not asking you to design thinking you have limitations imposed on you because of browser descrepancies. I am saying that find a way to overcome these limitations, without using CSS hacks. If you can not for now, then work within the scope of limitations imposed on you and come back and work on the overcoming these from a complete design point of view. I, for one have always thought of overcoming these limitations, what was more compelling and interesting was thinking of working within the constraints set by browsers descrepancies and still being able to get the desired design to look and feel the way the client or I wanted to. So look at it from a challenging point of view. </p>
<p><b>#4 Select you css hacks: </b> If you are in precarious position where you have to use a CSS hack, then I would suggest you use the hack for IE and you use the *html selector hack, avoid using the comment characters and comment based hacks within your CSS. I would also go ahead suggest, from personal experience, that any hacks used within your CSS, should be well documented so that six months later if the hack does not work anymore of needs be changed you know what you did! </p>
<h1>Resources</h1>
<p>Here is how to avoid CSS hacks where IE is concerned&#8230;<br />
Further Reading@ http://blogs.msdn.com/ie/archive/2005/10/12/480242.aspx</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Enjoyed it? Share it!:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;title=CSS%20%3A%20Avoiding%20Hacks&amp;bodytext=Using%20hacks%20while%20designing%20a%20website%20based%20on%20CSS%20and%20XHTML%20is%20certainly%20an%20untamed%20reality.%20We%20all%20do%20it.%20I%20learnt%20it%20the%20hard%20way%21%20When%20I%20started%20out%20with%20CSS%20and%20XHTML%2C%20I%20had%20a%20number%20of%20problems%20piling%20up%20with%20a%20number%20of%20Web%202.0%20projects.%20%20A%20lo" title="Digg"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;title=CSS%20%3A%20Avoiding%20Hacks&amp;annotation=Using%20hacks%20while%20designing%20a%20website%20based%20on%20CSS%20and%20XHTML%20is%20certainly%20an%20untamed%20reality.%20We%20all%20do%20it.%20I%20learnt%20it%20the%20hard%20way%21%20When%20I%20started%20out%20with%20CSS%20and%20XHTML%2C%20I%20had%20a%20number%20of%20problems%20piling%20up%20with%20a%20number%20of%20Web%202.0%20projects.%20%20A%20lo" title="Google Bookmarks"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;title=CSS%20%3A%20Avoiding%20Hacks&amp;notes=Using%20hacks%20while%20designing%20a%20website%20based%20on%20CSS%20and%20XHTML%20is%20certainly%20an%20untamed%20reality.%20We%20all%20do%20it.%20I%20learnt%20it%20the%20hard%20way%21%20When%20I%20started%20out%20with%20CSS%20and%20XHTML%2C%20I%20had%20a%20number%20of%20problems%20piling%20up%20with%20a%20number%20of%20Web%202.0%20projects.%20%20A%20lo" title="del.icio.us"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="TwitThis"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;t=CSS%20%3A%20Avoiding%20Hacks" title="Facebook"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks" title="Technorati"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;title=CSS%20%3A%20Avoiding%20Hacks" title="StumbleUpon"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="mailto:?subject=CSS%20%3A%20Avoiding%20Hacks&amp;body=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks" title="E-mail this story to a friend!"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;title=CSS%20%3A%20Avoiding%20Hacks&amp;source=DomainFunk.com+A+Magazine+for+webconnoissuers&amp;summary=Using%20hacks%20while%20designing%20a%20website%20based%20on%20CSS%20and%20XHTML%20is%20certainly%20an%20untamed%20reality.%20We%20all%20do%20it.%20I%20learnt%20it%20the%20hard%20way%21%20When%20I%20started%20out%20with%20CSS%20and%20XHTML%2C%20I%20had%20a%20number%20of%20problems%20piling%20up%20with%20a%20number%20of%20Web%202.0%20projects.%20%20A%20lo" title="LinkedIn"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;title=CSS%20%3A%20Avoiding%20Hacks" title="Live"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="Ma.gnolia"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="Ma.gnolia" alt="Ma.gnolia" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;t=CSS%20%3A%20Avoiding%20Hacks" title="MySpace"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;submitHeadline=CSS%20%3A%20Avoiding%20Hacks&amp;submitSummary=Using%20hacks%20while%20designing%20a%20website%20based%20on%20CSS%20and%20XHTML%20is%20certainly%20an%20untamed%20reality.%20We%20all%20do%20it.%20I%20learnt%20it%20the%20hard%20way%21%20When%20I%20started%20out%20with%20CSS%20and%20XHTML%2C%20I%20had%20a%20number%20of%20problems%20piling%20up%20with%20a%20number%20of%20Web%202.0%20projects.%20%20A%20lo&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://yigg.de/neu?exturl=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;exttitle=CSS%20%3A%20Avoiding%20Hacks" title="Yigg"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/yiggit.png" title="Yigg" alt="Yigg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;title=CSS%20%3A%20Avoiding%20Hacks" title="Sphinn"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;title=CSS%20%3A%20Avoiding%20Hacks" title="Mixx"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;title=CSS%20%3A%20Avoiding%20Hacks" title="blogmarks"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://cimlap.blogter.hu/index.php?action=suggest_link&amp;title=CSS%20%3A%20Avoiding%20Hacks&amp;url=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks" title="blogtercimlap"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/blogter.png" title="blogtercimlap" alt="blogtercimlap" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="Book.mark.hu"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="Book.mark.hu" alt="Book.mark.hu" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://co.mments.com/track?url=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;title=CSS%20%3A%20Avoiding%20Hacks" title="co.mments"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/co.mments.png" title="co.mments" alt="co.mments" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="De.lirio.us"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="De.lirio.us" alt="De.lirio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;title=CSS%20%3A%20Avoiding%20Hacks" title="DotNetKicks"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkagogo.com/go/AddNoPopup?url=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;title=CSS%20%3A%20Avoiding%20Hacks" title="LinkaGoGo"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/linkagogo.png" title="LinkaGoGo" alt="LinkaGoGo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;h=CSS%20%3A%20Avoiding%20Hacks" title="NewsVine"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fdomainfunk.com%2Fcss-avoiding-hacks&amp;title=CSS%20%3A%20Avoiding%20Hacks" title="Reddit"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="scuttle"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="scuttle" alt="scuttle" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="Spurl"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="Spurl" alt="Spurl" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" target="_blank" href="" title="YahooMyWeb"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="YahooMyWeb" alt="YahooMyWeb" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://domainfunk.com/css-avoiding-hacks/feed</wfw:commentRss>
		</item>
		<item>
		<title>Starter CSS Tricks</title>
		<link>http://domainfunk.com/starter-css-tricks</link>
		<comments>http://domainfunk.com/starter-css-tricks#comments</comments>
		<pubDate>Sun, 23 Nov 2008 00:04:36 +0000</pubDate>
		<dc:creator>DomainFunk.com</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[css for newbies]]></category>

		<category><![CDATA[css how-to]]></category>

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

		<guid isPermaLink="false">http://domainfunk.com/?p=84</guid>
		<description><![CDATA[  So, you are just a newbie in the Webmaster world and are still learning CSS?  Here are a few starter tricks that you might want to keep handy while learning advance CSS techniques/methodologies or syntax.  The CSS snippets shown below are just a few basic CSS tricks that you can use to learn [...]]]></description>
			<content:encoded><![CDATA[<!-- This is a HTML comment, it will not display in any page. Feel free to remove this comment if it cause any inconvenient to you.
	Thanks for using digg digg, please visit http://www.mkyong.com/blog/digg-digg-wordpress-plugin for any comments and ideas, 
	
    Author : Yong Mook Kim
    Website : http://www.mkyong.com
	--><div style='float:right'><table> <td><iframe src='http://digg.com/api/diggthis.php?w=new&amp;u=http://domainfunk.com/starter-css-tricks&amp;t=Starter+CSS+Tricks&amp;s=normal' height='80' width='52' frameborder='0' scrolling='no'></iframe></td> <td><iframe src='http://www.reddit.com/button_content?newwindow=1&amp;url=http://domainfunk.com/starter-css-tricks&amp;title=Starter+CSS+Tricks&amp;t=2 ' height='80' width='52' scrolling='no' frameborder='0' ></iframe></td></table></div><p><a href="http://domainfunk.com/starter-css-tricks"><img src="http://domainfunk.com/wp-content/uploads/2008/11/css-300x191.jpg" alt="" title="css" width="300" height="191" class="alignleft size-medium wp-image-89" /></a>So, you are just a newbie in the Webmaster world and are still learning CSS?  Here are a few starter tricks that you might want to keep handy while learning advance CSS techniques/methodologies or syntax.  The CSS snippets shown below are just a few basic CSS tricks that you can use to learn and can very well apply to websites.</p>
<p>While learning CSS, one major concern for you would be keeping in mind browser share over the Internet.  What works with one browser may not work with another. The scope of this article would be just to impart basic newbie knowledge about industry tricks, some of which might have now become a standard. This article will not be delving in to CSS for Beginners. There’s a lot more to CSS and our upcoming articles on CSS would discuss and take the scope further for now, lets just dive in to some basic CSS tricks.</p>
<h1>CSS Trick #1: Underline On Hover over text links</h1>
<p>You must have visited many websites that show links that have no underline at first, but once you move your mouse over such links the underline auto appears below such links. Well its no magic for one, and in the world of CSS Magic, this has become almost a standard, giving you cleaner links or link appearances. How do you achieve this using CSS? Read on.</p>
<p><code>&lt;style type="text/css"&gt;<br />
&lt;!--<br />
A:link { text-decoration: none }<br />
A:visited { text-decoration: none }<br />
A:hover {text-decoration: underline}<br />
--&gt;<br />
&lt;/style&gt;</code></p>
<h1>CSS Trick #2: Placing Lines above and below links</h1>
<p>Want to place underlines over and below text links? Here’s how-to;</p>
<p><code>&lt;style type="text/css"&gt;<br />
&lt;!--<br />
A:hover { text-decoration: overline underline }<br />
--&gt;<br />
&lt;/style&gt;</code></p>
<p>Looking at the above code, you can also modify the above code to show only an overline over such text links. For E.g:</p>
<p><code>&lt;style type="text/css"&gt;<br />
&lt;!--<br />
A:hover { text-decoration: overline }<br />
--&gt;<br />
&lt;/style&gt;</code></p>
<h1>CSS Trick #3: Text links with underline and color change on hover over</h1>
<p>If you have wondered about how to change the color of text links when the mouse hover over’s such links, here is the answer <img src='http://domainfunk.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><code>&lt;style type="text/css"&gt;<br />
&lt;!—<br />
A {color:#000000; text-decoration:none}<br />
A:hover { color: #000000; background-color: #ffff00; text-decoration: overline}<br />
--&gt;<br />
&lt;/style&gt;</code></p>
<h1>CSS Trick #4: No Tiling Background</h1>
<p>Ever wondered how you could stop the tiling of some images applied as background to your &lt;TD&gt; tags, or your &lt;DIV&gt; tags or for the matter your &lt;BODY&gt; tag?</p>
<p><code>&lt;style type="text/css"&gt;<br />
&lt;!--<br />
BODY { background: #ffffff url(imagenamewithrelativepath.jpg) no-repeat center}<br />
--&gt;<br />
&lt;/style&gt;</code></p>
<p>Here, the no-repeat of the ‘URL’ directive conveys to the browser not to repeat or “tile” the image and the ‘center’ directive requests the browser to display such an image in the middle or center of the web page.</p>
<h1>CSS Trick #5: Applying images to button controls or changing  colors  on button colors</h1>
<p>Don’t like the way the browsers render your buttons? Well here are some ways to change that!<br />
The below code would change the foreground and background color of the button control.</p>
<p><code>&lt;input style="background-color: #000000; color: #ffff00; font-weight: bold; font-size: 10pt;" type="submit" value="Click Me"&gt;</code></p>
<p>Whereas, the below code mentioned within the “style” parameter of the input tag would apply a background image to the button control, with changing the foreground color.</p>
<p><code>&lt;input type="submit" style="background-image: url(nameofimageforbutton.jpg); color: #000000; font-weight: bold; font-size: 13pt;"&gt;<br />
</code></p>
<h1>CSS Trick #6: Want to change the color of the browser scrollbars while visinting your webpage?</h1>
<p>The below shown code would impart color to your scroll bars.</p>
<p><code>&lt;style type="text/css"&gt;<br />
&lt;!--<br />
BODY { scrollbar-face-color: #d8afd8; scrollbar-shadow-color: #3C3C3C; scrollbar-highlight-color: #00A3F7; scrollbar-3dlight-color: #339933; scrollbar-darkshadow-color: #3C3C3C; scrollbar-track-color: #000080; scrollbar-arrow-color: #ffffff; }<br />
--&gt;<br />
&lt;/STYLE&gt;<br />
</code></p>
<h1>CSS Trick #7: Big fan for Sentence Case?</h1>
<p>The below shown code would convert the first letter or alphabet of all words within the scope of the applied CSS code to Capital.</p>
<p><code>&lt;style type="text/css"&gt;<br />
&lt;!--<br />
.sentencecaseit:first-letter{<br />
font-size:120%;<br />
float:left;<br />
color:#000000;<br />
--&gt;<br />
&lt;/style&gt;<br />
&lt;p class="sentencecaseit"&gt;state your text here.&lt;/p&gt;<br />
</code></p>
<h1>CSS Trick #8: Hate those scrollbars on your webpage?</h1>
<p>Here is the CSS code that will hide the scroll bars on your webpage.</p>
<p><code>&lt;style type="text/css"&gt;<br />
&lt;!--<br />
body { overflow:hidden; }<br />
--&gt;<br />
&lt;/style&gt;</code></p>
<p>For most browsers, it will disable the scrollbar, rendering page scrolling impossible.<br />
If you would like to only disable the vertical scrollbar, then the CSS code would look like</p>
<p><code>body { overflow-x:hidden; }</code></p>
<p>Alternative, if you would like to disable the horizontal scroll bar only, then the CSS would change and become,</p>
<p><code>body { overflow-y:hidden; }</code></p>
<h1>CSS Trick #9: Having fun with those &lt;HR&gt; Tags!</h1>
<p>Would you like a fancy horizontal rule on your webpage? No problem at all, have a look at CSS code shown below</p>
<p><code>&lt;hr noshade style="width: 500px; color: gray; height: 20px; text-align: center; border: 3px solid gray;"&gt;</code></p>
<h1>CSS Trick #10: Play around with CSS.</h1>
<p>The best way to come across CSS tricks is play around and test CSS combinations and permutations! That’s how we learnt!</p>
<h1>CSS Learning Resources</h1>
<p>Find CSS interesting, want to learn more? We suggest you start from http://www.w3schools.com/css/css_reference.asp</p>
<p>Some other sites for CSS we found useful. </p>
<p>http://css.maxdesign.com.au/</p>
<p>http://www.projectseven.com/tutorials/index.htm</p>
<p>to mention a few!</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Enjoyed it? Share it!:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;title=Starter%20CSS%20Tricks&amp;bodytext=So%2C%20you%20are%20just%20a%20newbie%20in%20the%20Webmaster%20world%20and%20are%20still%20learning%20CSS%3F%C2%A0%20Here%20are%20a%20few%20starter%20tricks%20that%20you%20might%20want%20to%20keep%20handy%20while%20learning%20advance%20CSS%20techniques%2Fmethodologies%20or%20syntax.%C2%A0%20The%20CSS%20snippets%20shown%20below%20are%20just%20a%20fe" title="Digg"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;title=Starter%20CSS%20Tricks&amp;annotation=So%2C%20you%20are%20just%20a%20newbie%20in%20the%20Webmaster%20world%20and%20are%20still%20learning%20CSS%3F%C2%A0%20Here%20are%20a%20few%20starter%20tricks%20that%20you%20might%20want%20to%20keep%20handy%20while%20learning%20advance%20CSS%20techniques%2Fmethodologies%20or%20syntax.%C2%A0%20The%20CSS%20snippets%20shown%20below%20are%20just%20a%20fe" title="Google Bookmarks"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;title=Starter%20CSS%20Tricks&amp;notes=So%2C%20you%20are%20just%20a%20newbie%20in%20the%20Webmaster%20world%20and%20are%20still%20learning%20CSS%3F%C2%A0%20Here%20are%20a%20few%20starter%20tricks%20that%20you%20might%20want%20to%20keep%20handy%20while%20learning%20advance%20CSS%20techniques%2Fmethodologies%20or%20syntax.%C2%A0%20The%20CSS%20snippets%20shown%20below%20are%20just%20a%20fe" title="del.icio.us"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="TwitThis"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;t=Starter%20CSS%20Tricks" title="Facebook"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks" title="Technorati"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;title=Starter%20CSS%20Tricks" title="StumbleUpon"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="mailto:?subject=Starter%20CSS%20Tricks&amp;body=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks" title="E-mail this story to a friend!"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;title=Starter%20CSS%20Tricks&amp;source=DomainFunk.com+A+Magazine+for+webconnoissuers&amp;summary=So%2C%20you%20are%20just%20a%20newbie%20in%20the%20Webmaster%20world%20and%20are%20still%20learning%20CSS%3F%C2%A0%20Here%20are%20a%20few%20starter%20tricks%20that%20you%20might%20want%20to%20keep%20handy%20while%20learning%20advance%20CSS%20techniques%2Fmethodologies%20or%20syntax.%C2%A0%20The%20CSS%20snippets%20shown%20below%20are%20just%20a%20fe" title="LinkedIn"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;title=Starter%20CSS%20Tricks" title="Live"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="Ma.gnolia"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="Ma.gnolia" alt="Ma.gnolia" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;t=Starter%20CSS%20Tricks" title="MySpace"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;submitHeadline=Starter%20CSS%20Tricks&amp;submitSummary=So%2C%20you%20are%20just%20a%20newbie%20in%20the%20Webmaster%20world%20and%20are%20still%20learning%20CSS%3F%C2%A0%20Here%20are%20a%20few%20starter%20tricks%20that%20you%20might%20want%20to%20keep%20handy%20while%20learning%20advance%20CSS%20techniques%2Fmethodologies%20or%20syntax.%C2%A0%20The%20CSS%20snippets%20shown%20below%20are%20just%20a%20fe&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://yigg.de/neu?exturl=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;exttitle=Starter%20CSS%20Tricks" title="Yigg"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/yiggit.png" title="Yigg" alt="Yigg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;title=Starter%20CSS%20Tricks" title="Sphinn"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;title=Starter%20CSS%20Tricks" title="Mixx"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;title=Starter%20CSS%20Tricks" title="blogmarks"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://cimlap.blogter.hu/index.php?action=suggest_link&amp;title=Starter%20CSS%20Tricks&amp;url=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks" title="blogtercimlap"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/blogter.png" title="blogtercimlap" alt="blogtercimlap" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="Book.mark.hu"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="Book.mark.hu" alt="Book.mark.hu" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://co.mments.com/track?url=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;title=Starter%20CSS%20Tricks" title="co.mments"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/co.mments.png" title="co.mments" alt="co.mments" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="De.lirio.us"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="De.lirio.us" alt="De.lirio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.dotnetkicks.com/kick/?url=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;title=Starter%20CSS%20Tricks" title="DotNetKicks"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/dotnetkicks.png" title="DotNetKicks" alt="DotNetKicks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkagogo.com/go/AddNoPopup?url=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;title=Starter%20CSS%20Tricks" title="LinkaGoGo"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/linkagogo.png" title="LinkaGoGo" alt="LinkaGoGo" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;h=Starter%20CSS%20Tricks" title="NewsVine"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fdomainfunk.com%2Fstarter-css-tricks&amp;title=Starter%20CSS%20Tricks" title="Reddit"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="scuttle"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="scuttle" alt="scuttle" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="" title="Spurl"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="Spurl" alt="Spurl" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow" target="_blank" href="" title="YahooMyWeb"><img src="http://domainfunk.com/wp-content/plugins/sociable/images/" title="YahooMyWeb" alt="YahooMyWeb" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://domainfunk.com/starter-css-tricks/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
