<?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>Query7 &#187; Chinmay Chiranjeeb</title>
	<atom:link href="http://query7.com/author/chin/feed" rel="self" type="application/rss+xml" />
	<link>http://query7.com</link>
	<description>PHP, Javascript, Python and Web Development</description>
	<lastBuildDate>Sat, 25 Jun 2011 21:29:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Blogger Template Wizardry</title>
		<link>http://query7.com/blogger-template-wizardry</link>
		<comments>http://query7.com/blogger-template-wizardry#comments</comments>
		<pubDate>Fri, 04 Jun 2010 03:46:49 +0000</pubDate>
		<dc:creator>Chinmay Chiranjeeb</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[blogger]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[customizing]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.webdevelopmentbits.com/?p=599</guid>
		<description><![CDATA[Google’s Blogger is the eighth most popular site on the entire Web today, and by far the most popular free blogging site.  According to Google, Blogger now hosts over 300 million blogs and publishes 388 million words per day – simply staggering figures.  Let’s look at some of the more compelling reasons for Blogger’s popularity.]]></description>
			<content:encoded><![CDATA[<p>Google’s Blogger is the eighth most popular site on the entire Web today, and by far the most popular free blogging site.  According to Google, Blogger now hosts over 300 million blogs and publishes 388 million words per day – simply staggering figures.  Let’s look at some of the more compelling reasons for Blogger’s popularity.</p>
<ul>
<li>Google’s services are ubiquitous, and you’ve probably already got an account for say, Gmail, Docs, YouTube or Calendar.  So when you land on the Blogger homepage, all you need to do is enter your login info and off you go!  No registration required.</li>
<li>It’s powered by Google, so there’s a better chance of placing high on search engine rankings.  From an SEO/SEM (search engine optimization / search engine marketing) point of view, that’s quite the big deal.</li>
<li>Users can create multiple blogs.  For Web developers or designers with diverse portfolios it’s easier than ever to start your own blogging network.</li>
<li>Blogger has a limited but respectable directory of templates with plenty of options for customization.  Inveterate tweakers should clear the afternoon.</li>
<li>Users can create and configure their own templates for upload, or download an existing template, customize it, then re-upload and use it.</li>
<li>Rather than keeping the off-the-shelf yourname.blogspot.com domain, users can register their own custom domain and point their Blogger page to that.</li>
</ul>
<p>Sure enough, there are plenty of good reasons Blogger’s gained traction the past few years, but it’s become a hell of a crowded field and for anyone looking to grow their audience it’s increasingly hard to stand out.</p>
<p>The fact is, even if you’re posting killer, must-read content you’ve lost the lion’s share of readers before their first click with a page designed from a yawn-inducing Blogger template.</p>
<p>So besides great content, you’re going to want a template with distinctive design. Read on to follow this basic tutorial and create your own fresh Blogger template.</p>
<h2>Create an HTML Template for Your Blog</h2>
<p>Go to the <a href="http://www.blogger.com/">Blogger homepage</a> and log in with your Google info to create a new blog.  With or without a Google account the signup is pretty painless.</p>
<p><a href="http://query7.com/wp-content/uploads/1.png"><img class="aligncenter size-full wp-image-602" title="1" src="http://query7.com/wp-content/uploads/1.png" alt="" width="531" height="178" /></a></p>
<p>If you&#8217;re an existing user, you&#8217;ll also get the status of your current blogs.</p>
<p><a href="http://query7.com/wp-content/uploads/22.png"><img class="aligncenter size-full wp-image-618" title="2" src="http://query7.com/wp-content/uploads/22.png" alt="" width="531" height="115" /></a></p>
<h2>Head to Layout and then Edit HTML</h2>
<p><a href="http://query7.com/wp-content/uploads/3.png"><img class="aligncenter size-full wp-image-604" title="3" src="http://query7.com/wp-content/uploads/3.png" alt="" width="531" height="115" /></a></p>
<p>Developers love code, but sometimes even laymen want a peek under the hood.  If you&#8217;re up for it, just scroll down and click View Classic Template.</p>
<p>Keep in mind that Blogger can only use XML-formatted templates, so you’ll need to create a blank XML file on your hard drive as &lt;Your Template name&gt;.xml.</p>
<p>Now add the following code to your XML document:</p>
<pre>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//ES" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>"&gt;
&lt;html xmlns='<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>' xmlns:b='<a href="http://www.google.com/2005/gml/b">http://www.google.com/2005/gml/b</a>' xmlns:data='<a href="http://www.google.com/2005/gml/data">http://www.google.com/2005/gml/data</a>' xmlns:expr='<a href="http://www.google.com/2005/gml/expr">http://www.google.com/2005/gml/expr</a>'&gt;
&lt;head&gt;</pre>
<h2>Let’s start with the Blogger code to add a header element.</h2>
<p>Generally, Blogger code starts with &lt;b:</p>
<pre>&lt;b:include data='blog' name='all-head-content'/&gt;</pre>
<h2>Now we’ll add the title of the blog and post:</h2>
<pre>&lt;title&gt;&lt;data:blog.pageTitle/&gt;&lt;/title&gt;</pre>
<h2>Referencing the blog skin:</h2>
<pre>&lt;b:skin&gt;</pre>
<h2>And template details:</h2>
<pre>&lt;![CDATA[/*
/* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Name: MacDevelopmentBits
Blogger template by Sourcebits Technologies
Author: Sourcebits Technologies
Author URL: <a href="http://www.sourcebits.com/">http://www.sourcebits.com</a>
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- */</pre>
<h2>Now let’s hide the default navigation bar.</h2>
<p><a href="http://query7.com/wp-content/uploads/5.png"><img class="aligncenter size-full wp-image-606" title="5" src="http://query7.com/wp-content/uploads/5.png" alt="" width="531" height="31" /></a></p>
<pre>/*-- (Hiding the navbar) --*/
#navbar-iframe {
height:0px;
visibility:hidden;
display:none;
}</pre>
<h2>And add some custom CSS to stylize the blog.</h2>
<pre>/*-- (CSS for Blog ) --*/
body{
font-family:Georgia, "Times New Roman", Times, serif;
font-size:12px;
color:#000000;
margin:0px;
padding:0px;
background:#dedede;
}

:focus {
outline: 0;
}

.clr{
clear:both;
}

.wrap{
margin:0 auto;
padding:0px;
min-width:1200px;
}

.head{
background:#cde3e4 url(your path to header image) repeat-x;
margin-top:-1px;
}

]]&gt;&lt;/b:skin&gt;</pre>
<p>If you don&#8217;t have a domain to host images then you can use Picasa, Flickr or any other image hosting services.  Just make sure that image viewing permissions are set to public.</p>
<h2>To generate feeds and archives for your blog:</h2>
<pre>&lt;script type='text/javascript'&gt;

function rp(json){ document.write(&amp;#39;&amp;lt;ul&amp;gt;&amp;#39;);for(var i=0;i&amp;lt;numposts;i++){document.write(&amp;#39;&amp;lt;li&amp;gt;&amp;#39;);var entry=json.feed.entry[i];var posttitle=entry.title.$t;var posturl;if(i==json.feed.entry.length)break;for(var k=0;k&amp;lt;entry.link.length;k++){if(entry.link[k].rel==&amp;#39;alternate&amp;#39;){posturl=entry.link[k].href;break}}posttitle=posttitle.link(posturl);var readmorelink=&amp;quot;(more)&amp;quot;;readmorelink=readmorelink.link(posturl);var postdate=entry.published.$t;var cdyear=postdate.substring(0,4);var cdmonth=postdate.substring(5,7);var cdday=postdate.substring(8,10);var monthnames=new Array();monthnames[1]=&amp;quot;Jan&amp;quot;;monthnames[2]=&amp;quot;Feb&amp;quot;;monthnames[3]=&amp;quot;Mar&amp;quot;;monthnames[4]=&amp;quot;Apr&amp;quot;;monthnames[5]=&amp;quot;May&amp;quot;;monthnames[6]=&amp;quot;Jun&amp;quot;;monthnames[7]=&amp;quot;Jul&amp;quot;;monthnames[8]=&amp;quot;Aug&amp;quot;;monthnames[9]=&amp;quot;Sep&amp;quot;;monthnames[10]=&amp;quot;Oct&amp;quot;;monthnames[11]=&amp;quot;Nov&amp;quot;;monthnames[12]=&amp;quot;Dec&amp;quot;;if(&amp;quot;content&amp;quot;in entry){var postcontent=entry.content.$t}else if(&amp;quot;summary&amp;quot;in entry){var postcontent=entry.summary.$t}else var postcontent=&amp;quot;&amp;quot;;var re=/&amp;lt;\S[^&amp;gt;]*&amp;gt;/g;postcontent=postcontent.replace(re,&amp;quot;&amp;quot;);document.write(posttitle);if(showpostdate==true)document.write(&amp;#39; - &amp;#39;+monthnames[parseInt(cdmonth,10)]+&amp;#39; &amp;#39;+cdday);if(showpostsummary==true){if(postcontent.length&amp;lt;numchars){document.write(postcontent)}else{postcontent=postcontent.substring(0,numchars);var quoteEnd=postcontent.lastIndexOf(&amp;quot; &amp;quot;);postcontent=postcontent.substring(0,quoteEnd);document.write(postcontent+&amp;#39;...&amp;#39;+readmorelink)}}document.write(&amp;#39;&amp;lt;/li&amp;gt;&amp;#39;)}document.write(&amp;#39;&amp;lt;/ul&amp;gt;&amp;#39;)}

var numposts = 5;
var showpostdate = false;
var showpostsummary = false;
var numchars = 40;

&lt;/script&gt;</pre>
<h2>You can also insert external JavaScript files:</h2>
<pre>&lt;script language='javascript' src='<a href="http://code.jquery.com/jquery-1.4.2.min.js">http://code.jquery.com/jquery-1.4.2.min.js</a>' type='text/javascript'/&gt;
&lt;script type='text/javascript'&gt;
//your code here
&lt;/script&gt;</pre>
<h2>Now let’s replace the default Blogger favicon with a custom jobbie that suits our taste.</h2>
<pre>&lt;link href='path to favicon' rel='shortcut icon' type='favicon'/&gt;
&lt;/head&gt;
&lt;body&gt;</pre>
<h2>Include your HTML code from the blog template created earlier and let’s add a widget to your header.</h2>
<pre>&lt;b:section id='top35' maxwidgets='1' showaddelement='no'&gt;
&lt;b:widget id='Header1' locked='true' title='MacDevelopmentBits (Header)' type='Header'&gt;

&lt;b:includable id='title'&gt;
&lt;A expr:href='data:blog.homepageUrl'&gt;&lt;div class='logo'&gt;&lt;data:title/&gt;&lt;/div&gt;&lt;/A&gt;
&lt;/b:includable&gt;

&lt;b:includable id='description'&gt;
&lt;h1 class='slogan'&gt;&lt;data:description/&gt;&lt;/h1&gt; &lt;!-- It fetches the description from basic settings page. --&gt;
&lt;/b:includable&gt;

&lt;b:includable id='main'&gt;
&lt;div class='slogan1'&gt;
&lt;b:include name='title'/&gt;
&lt;/div&gt;
&lt;b:include name='description'/&gt;
&lt;/b:includable&gt;

&lt;/b:widget&gt;
&lt;/b:section&gt;</pre>
<p>Note that you can use multiple widgets in the template but they should have unique id= &#8216;Your Unique ID&#8217; and maxwidgets=&#8217;No of widgets&#8217;</p>
<h2>Now add navigation:</h2>
<pre>&lt;b:include name='nextprev'/&gt;</pre>
<p>And the conditional statement to show/hide navigation is:</p>
<pre>&lt;b:if cond='data:newerPageUrl'&gt;

&lt;span id='blog-pager-newer-link'&gt;
&lt;a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + &amp;quot;_blog-pager-newer-link&amp;quot;' expr:title='data:newerPageTitle'&gt;&lt;data:newerPageTitle/&gt;&lt;/a&gt;
&lt;/span&gt;

&lt;/b:if&gt;
&lt;b:if cond='data:olderPageUrl'&gt;
&lt;span id='blog-pager-older-link'&gt;
&lt;a class='blog-pager-older-link' expr:href='data:olderPageUrl' expr:id='data:widget.instanceId + &amp;quot;_blog-pager-older-link&amp;quot;' expr:title='data:olderPageTitle'&gt;&lt;data:olderPageTitle/&gt;&lt;/a&gt;
&lt;/span&gt;

&lt;/b:if&gt;</pre>
<h2>And include feed links:</h2>
<pre>&lt;b:include name='feedLinks'/&gt;</pre>
<h2>To display content only on the main and archive pages, include this tag with your content:</h2>
<pre>&lt;MainOrArchivePage&gt;
&lt;1-- Your Content for Home and Archive Page--&gt;
&lt;/MainOrArchivePage&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<h2>Phew!  Almost there.  Now after saving the XML file, it’s time to upload to Blogger.</h2>
<p>Back on the Layout tab, under Edit HTML, you’ll find:</p>
<p><a href="http://query7.com/wp-content/uploads/6.png"><img class="aligncenter size-full wp-image-607" title="6" src="http://query7.com/wp-content/uploads/6.png" alt="" width="533" height="33" /></a></p>
<p>After uploading, save the template so now you can edit the file online and preview changes as you go.</p>
<p><a href="http://query7.com/wp-content/uploads/7.png"><img class="aligncenter size-full wp-image-608" title="7" src="http://query7.com/wp-content/uploads/7.png" alt="" width="533" height="45" /></a></p>
<p>And feel free to experiment!  You can always hit the <strong>Clear Edits</strong> button to revert to the last saved version.</p>
<p>Let&#8217;s take a look at an outline of the page elements used in the template:</p>
<p><a href="http://query7.com/wp-content/uploads/8.png"><img class="aligncenter size-full wp-image-609" title="8" src="http://query7.com/wp-content/uploads/8.png" alt="" width="531" height="115" /></a></p>
<p>We can also place widgets with just a few clicks.</p>
<p><a href="http://query7.com/wp-content/uploads/4.png"><img class="aligncenter size-full wp-image-605" title="4" src="http://query7.com/wp-content/uploads/4.png" alt="" width="531" height="178" /></a></p>
<p>Clicking one of the Add a Gadget links drops you into a vast pool of Blogger and third party gadgets. Pick a gadget and add it by clicking the +, however many suit your needs.</p>
<p><a href="http://query7.com/wp-content/uploads/9.png"><img class="aligncenter size-full wp-image-610" title="9" src="http://query7.com/wp-content/uploads/9.png" alt="" width="533" height="180" /></a></p>
<p>And&#8230; VOILA!</p>
<p>Here’s a sample template we did up awhile ago with a basic but unique design, just FYI.</p>
<p style="text-align: center;"><a href="http://macdevelopmentbits.blogspot.com/"><img class="aligncenter size-full wp-image-611" title="10" src="http://query7.com/wp-content/uploads/10.png" alt="" width="531" height="178" /></a></p>
<p><a href="http://macdevelopmentbits.blogspot.com/">http://macdevelopmentbits.blogspot.com/</a></p>
<p>Feel free to drop us a line with any of your Blogger templating issues.  We&#8217;re happy to lend a hand. For that matter, we&#8217;re keen to discuss any Web development projects you&#8217;re interested in.  <a href="http://www.webdevelopmentbits.com/contact">Get in touch</a> any time!</p>
]]></content:encoded>
			<wfw:commentRss>http://query7.com/blogger-template-wizardry/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Tableless Table – Exploring the power of CSS3</title>
		<link>http://query7.com/exploring-the-power-of-css3</link>
		<comments>http://query7.com/exploring-the-power-of-css3#comments</comments>
		<pubDate>Mon, 27 Oct 2008 11:26:55 +0000</pubDate>
		<dc:creator>Chinmay Chiranjeeb</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Beauty of CSS]]></category>
		<category><![CDATA[CSS Table]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[Tableless table]]></category>

		<guid isPermaLink="false">http://www.webdevelopmentbits.com/?p=138</guid>
		<description><![CDATA[<p>The recent browser versions like Firefox 3, Google Chrome, Internet Explorer 8, Opera 9.5 and Safari 3 are now coming with a great and brand new support: CSS3. Some of the new properties are introduced and here I am going to describe the <code>table</code> value for the <code>display</code> property.</p>
<p>To align data in a tabular structure we can use a common table using the HTML tags &#60;table&#62;, &#60;tr&#62;, &#60;td&#62; nonetheless we all know that by using that we are violating the latest web standards, right?But hold on for a second. I&#8217;m just going to introduce you a hot new way to code it using nothing else than div tags with the great CSS3 and the data will appear just like a table. Believe, that&#8217;s true!</p>
<p><strong>Here is an example:</strong></p>
<p><code><br />
&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&#62;<br />
&#60;html xmlns="http://www.w3.org/1999/xhtml"&#62;<br />
&#60;head&#62;<br />
&#60;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&#62;<br />
&#60;title&#62;Some Page&#60;/title&#62;<br />
&#60;style type="text/css"&#62;<br />
.table {<br />
display: table;<br />
width:100%;<br />
}<br />
.row {<br />
display: table-row;<br />
width:100%;<br />
}<br />
.cell {<br />
display: table-cell;<br />
border: 1px solid blue;<br />
padding: 1em;<br />
width: 33%;<br />
}<br />
.element1 {<br />
background:#0099FF;<br /></code>&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>The recent browser versions like Firefox 3, Google Chrome, Internet Explorer 8, Opera 9.5 and Safari 3 are now coming with a great and brand new support: CSS3. Some of the new properties are introduced and here I am going to describe the <code>table</code> value for the <code>display</code> property.</p>
<p>To align data in a tabular structure we can use a common table using the HTML tags &lt;table&gt;, &lt;tr&gt;, &lt;td&gt; nonetheless we all know that by using that we are violating the latest web standards, right?But hold on for a second. I&#8217;m just going to introduce you a hot new way to code it using nothing else than div tags with the great CSS3 and the data will appear just like a table. Believe, that&#8217;s true!</p>
<p><strong>Here is an example:</strong></p>
<p><code><br />
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;<br />
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;<br />
&lt;title&gt;Some Page&lt;/title&gt;<br />
&lt;style type="text/css"&gt;<br />
.table {<br />
display: table;<br />
width:100%;<br />
}<br />
.row {<br />
display: table-row;<br />
width:100%;<br />
}<br />
.cell {<br />
display: table-cell;<br />
border: 1px solid blue;<br />
padding: 1em;<br />
width: 33%;<br />
}<br />
.element1 {<br />
background:#0099FF;<br />
}<br />
.element2 {<br />
background:#00FF99;<br />
}<br />
.element3 {<br />
background:#FFFF99;<br />
}<br />
&lt;/style&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;div class="table"&gt;<br />
&lt;div class="row"&gt;<br />
&lt;div class="cell element1"&gt;<br />
&lt;p&gt;&lt;strong&gt;Web Development &lt;/strong&gt;&lt;/p&gt;<br />
&lt;p&gt;PHP &amp;amp; MySQL&lt;br /&gt;<br />
Ruby on Rails&lt;br /&gt;<br />
ActionScript 3.0 / Flash / Flex / Adobe Integrated Runtime&lt;br /&gt;<br />
Amazon Web Services&lt;br /&gt;<br />
Zend Framework&lt;br /&gt;<br />
JavaScript / AJAX&lt;br /&gt;<br />
XHTML &amp;amp; CSS Scripting&lt;br /&gt;<br />
Content Management System&lt;/p&gt;<br />
&lt;/div&gt;<br />
&lt;div class="cell element2"&gt;</code><code>&lt;p&gt;&lt;strong&gt;Windows Development&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;<br />
&lt;div class="cell element3"&gt;&lt;p&gt;&lt;strong&gt;Mac &amp;amp; iPhone Development&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</code></p>
<p><strong>Screen shots:</strong></p>
<p>Firefox 3</p>
<p style="text-align: center;"><a href="http://query7.com/wp-content/uploads/ff.png"><img class="alignnone size-medium wp-image-165" title="Firefox3" src="http://www.webdevelopmentbits.com/wp-content/uploads/2008/10/ff-300x181.png" alt="" width="300" height="181" /></a></p>
<p>Google Chrome</p>
<p style="text-align: center;"><a href="http://query7.com/wp-content/uploads/google.png"><img class="alignnone size-medium wp-image-166" title="Google Chrome" src="http://www.webdevelopmentbits.com/wp-content/uploads/2008/10/google-300x182.png" alt="" width="300" height="182" /></a></p>
<p>Internet Explorer 8</p>
<p style="text-align: center;"><a href="http://query7.com/wp-content/uploads/ie8.png"><img class="alignnone size-medium wp-image-168" title="Internet Explorer 8" src="http://www.webdevelopmentbits.com/wp-content/uploads/2008/10/ie8-300x157.png" alt="" width="300" height="157" /></a></p>
<p>Opera 9.5</p>
<p style="text-align: center;"><a href="http://query7.com/wp-content/uploads/opera.png"><img class="alignnone size-medium wp-image-169" title="Opera 9.5" src="http://www.webdevelopmentbits.com/wp-content/uploads/2008/10/opera-300x149.png" alt="" width="300" height="149" /></a></p>
<p>Safari 3</p>
<p style="text-align: center;"><a href="http://query7.com/wp-content/uploads/safari.png"><img class="alignnone size-medium wp-image-170" title="Safari 3" src="http://www.webdevelopmentbits.com/wp-content/uploads/2008/10/safari-300x207.png" alt="" width="300" height="207" /></a></p>
<p>Internet Explorer7</p>
<p style="text-align: center;"><a href="http://query7.com/wp-content/uploads/ie7.png"><img class="alignnone size-medium wp-image-167" title="Internet Explorer 7" src="http://www.webdevelopmentbits.com/wp-content/uploads/2008/10/ie7-300x204.png" alt="" width="300" height="204" /></a></p>
<p><strong>Working Principle:</strong><br />
The display property specifies a range of table-related values to make elements display and behave as they were table elements.</p>
<p>The new available display values for drawing tables are:<br />
<code>table</code> to make the element behave like a table element<br />
<code>table-row</code> to make the element behave like a table row (tr) element<br />
<code>table-cell</code> to make the element behave like a table cell (td) element<br />
<code>table-row-group</code> to make the element behave like a table body row group (tbody) element<br />
<code>table-header-group</code> to make the element behave like a table header row group (thead) element<br />
<code>table-footer-group</code> to make the element behave like a table footer row group (tfoot) element<br />
<code>table-caption</code> to make the element behave like a table caption element<br />
<code>table-column</code> to make the element behave like a table column (col) element<br />
<code>table-column-group</code> to make the element behave like a table column group (colgroup) element</p>
<p>The table element in HTML is a semantic structure: it describes what data is. Therefore, you should only use the table element if the data you are marking up is tabular &#8211; for example, a table of financial information.</p>
<p>On the other hand, table value of the display property is simply an indication of how something should look in the browser &#8211; it has no semantic meaning. Using a table element for your layout tells the browser, “This data is tabular.”</p>
<p>Also we have to take care of, not to use display: table; property on a bunch of div elements when the data needs to be present in tabular format. Else simply avoid to use this property.</p>
<p><strong>The main advantages on using this new structure are:</strong></p>
<ul>
<li> Place the data in tabular manner without violating the latest web standards.</li>
<li> No need of specify the <code>cellpadding="0" cellspacing="0"</code>.</li>
<li> No need to make the <code>border="0"</code>.</li>
<li> No need to make the <code>margin</code> and <code>padding</code> 0 of table, tr, td.</li>
<li> Print the page in tabular format without wired.</li>
<li>No need to specify the <code>height</code>, as the content added it will automatically adjust the height of the row and columns with specified background.</li>
</ul>
<p><strong>As we&#8217;re not living in Wonderland, we also have some disadvantages, as follow:</strong></p>
<ul>
<li> Only latest browsers support this property.</li>
<li> Mainly IE 7, IE6 are not supporting this property. They show the data in wired manner.</li>
</ul>
<p>The solution would be to use this property only when we are going to develop a website for latest browsers and just ignoring the older versions. But as the statistics shows, most of the users still using IE6 and IE7.</p>
<p>To implement this in realistic world won’t be feasible to use CSS3’s advanced layout features for at least 4 or 5 years, once users need to upgrade themselves from the stone age of Internet to our beautiful high-tech development world.</p>
]]></content:encoded>
			<wfw:commentRss>http://query7.com/exploring-the-power-of-css3/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

