<?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>Ashish Kulkarni &#187; EJB3</title>
	<atom:link href="http://www.ashishkulkarni.com/tags/ejb3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ashishkulkarni.com</link>
	<description>A Blog on OpenSource Technology and more...</description>
	<lastBuildDate>Mon, 07 Nov 2011 18:04:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Search for the Holy Grail of CSS</title>
		<link>http://www.ashishkulkarni.com/search-for-the-holy-grail-of-css/</link>
		<comments>http://www.ashishkulkarni.com/search-for-the-holy-grail-of-css/#comments</comments>
		<pubDate>Fri, 30 May 2008 15:54:57 +0000</pubDate>
		<dc:creator>ashish</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[EJB3]]></category>
		<category><![CDATA[JavaEE]]></category>
		<category><![CDATA[JBoss]]></category>
		<category><![CDATA[JBoss Seam]]></category>
		<category><![CDATA[JPA]]></category>
		<category><![CDATA[JSF]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.ashishkulkarni.com/?p=13</guid>
		<description><![CDATA[This week, CSS layouts kept me awake into the wee hours almost every single day. I think a bit of background is in order before I go any further here. My company is busy developing the next generation shopping cart application. We are looking to break our usual mould and use some new technologies &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>This week, CSS layouts kept me awake into the wee hours almost every single day. I think a bit of background is in order before I go any further here.</p>
<p>My company is busy developing the next generation shopping cart application. We are looking to break our usual mould and use some new technologies &#8211; well, some are old and established and some are new &#8211; such as CSS (so that we can optimise the shopping card for Search Engines), XHTML, Java EE, JBoss Seam, JSF, EJB3 and JPA.</p>
<p>In the past, I have used frames and tables to a very large extent for layouts. However, this has quite a few problems:</p>
<ul>
<li>Search Engines cannot work with Frames particularly well</li>
<li>Screen readers cannot read Frames and Tables based websites properly</li>
<li>Coding Login and Logout using Frames requires JavaScript hacks</li>
<li>and many more&#8230;</li>
</ul>
<p>So I decided to look for a way to use CSS for layouts. Initially I managed to get hold of a layout that got us off the ground. However, we quickly realised that if we were serious about our product, we needed a better layout&#8230;something that made better utilisation of the Screen real estate.</p>
<p>Most CSS layouts out there are lame, to say the least. They simply use a width of 800 pixels. Come on designers, most people have a monitor with 1024 pixels width these days&#8230;and even more so on wide screen laptops such as mine. So why waste this space?</p>
<p>So I set out to search for a layout that had a header, a top menu, 2 to 3 columns with one column having fluid width and a footer that stuck to the bottom of the screen/content. Easier said than done. It so happens that what I was looking for was the &#8220;Holy Grail of CSS&#8221;. And the search proved to be just as difficult and frustrating as the search for the real &#8220;Holy Grail&#8221;.</p>
<p>I searched on Google. I asked the question on <a href="http://www.linkedin.com/answers/technology/web-development/TCH_WDD/240097-321129">LinkedIn Answers</a>. And I tried many a times in vain to create a layout of my own.</p>
<p>Well, I must say, I had quite a few sleepless nights&#8230;and a lot of frustration. However, I kept at it. And finally, I have managed to come up with a set of my own layouts.</p>
<p>I have uploaded all my layouts in a single zip file <a href="http://www.ashishkulkarni.com/downloads/css.zip">here</a>.</p>
<p>These layouts are as follow:</p>
<ul>
<li><a href="/1colsbottomfooter/layout.html" target="_blank">1colsbottomfooter</a> &#8211; 1 column with footer sticking to the bottom of the screen/content</li>
<li><a href="/1colsleftnavslickbottomfooter/layout.html" target="_blank">1colsleftnavslickbottomfooter</a> &#8211; 1 column with footer sticking to the bottom of the screen/content and extra CSS for navigation</li>
<li><a href="/1colstickyfooter/layout.html" target="_blank">1colstickyfooter</a> &#8211; 1 column with footer sticking to the bottom of the content</li>
<li><a href="/2colsleftnavbottomfooter/layout.html" target="_blank">2colsleftnavbottomfooter</a> &#8211; 2 columns with left nav and footer sticking to the bottom of the screen/content</li>
<li><a href="/2colsleftnavslickbottomfooter/layout.html" target="_blank">2colsleftnavslickbottomfooter</a> &#8211; 2 columns with left nav and footer sticking to the bottom of the screen/content and extra CSS for navigation</li>
<li><a href="/2colsleftnavstickyfooter/layout.html" target="_blank">2colsleftnavstickyfooter</a> &#8211; 2 columns with left nav and footer sticking to the bottom of the content</li>
<li><a href="/2colsrightnavbottomfooter/layout.html" target="_blank">2colsrightnavbottomfooter</a> &#8211; 2 columns with right nav and footer sticking to the bottom of the screen/content</li>
<li><a href="/2colsrightnavslickbottomfooter/layout.html" target="_blank">2colsrightnavslickbottomfooter</a> &#8211; 2 columns with right nav and footer sticking to the bottom of the screen/content and extra CSS for navigation</li>
<li><a href="/2colsrightnavstickyfooter/layout.html" target="_blank">2colsrightnavstickyfooter</a> &#8211; 2 columns with right nav and footer sticking to the bottom of the content</li>
<li><a href="/3colsbottomfooter/layout.html" target="_blank">3colsbottomfooter</a> &#8211; 3 columns &#8211; holy grail css &#8211; with foter sticking to the bottom of the screen/content</li>
<li><a href="/3colsslickbottomfooter/layout.html" target="_blank">3colsslickbottomfooter</a> &#8211; 3 columns &#8211; holy grail css &#8211; with foter sticking to the bottom of the screen/content and extra CSS for navigation</li>
<li><a href="/3colstickyfooter/layout.html" target="_blank">3colstickyfooter</a> &#8211; 3 columns &#8211; holy grail css &#8211; with foter sticking to the bottom of the content</li>
</ul>
<p>Quite a few of them&#8230;I didn&#8217;t realise until I actually started to write about them.</p>
<p>The following resources were useful in creating the above layouts:</p>
<ul>
<li><a href="http://blog.html.it/layoutgala/">Layout Gala</a></li>
<li><a href="http://ryanfait.com/sticky-footer/">Ryan Fait&#8217;s Sticky Footer</a></li>
<li><a href="http://wonderwebware.com/downloads.html">Wonderwebware&#8217;s CSS Menu Generator</a></li>
</ul>
<p>These layouts are free to use. And if they help you sleep any better, feel free to link back to me or drop me an email <img src='http://www.ashishkulkarni.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p>For those of you looking to get any modifications done, I am happy to do so at a reasonable charge. Feel free to <a href="http://www.ashishkulkarni.com/contact-me">contact me</a>.</p>
<p>I hope you have found the true Holy Grail of CSS <a href="http://www.ashishkulkarni.com/downloads/css.zip">here</a>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.ashishkulkarni.com%2Fsearch-for-the-holy-grail-of-css%2F&amp;title=Search%20for%20the%20Holy%20Grail%20of%20CSS"><img src="http://www.ashishkulkarni.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.ashishkulkarni.com/search-for-the-holy-grail-of-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

