Nandu

His name is Nandu and he is living somewhere in Mattancherry, Kochi, Kerala. Right now he is feeling very sleepy and don’t want to get disturbed and want to enjoy his lazy Sunday morning.


In the Sky

in the sky

On top of the clouds

An amazing view of clouds from a flight from Pune to Bangalore.


The Immortals of Meluha by Amish Tripathi

I just completed reading this wonderful book.

The Immortals of  Meluha is a fiction by Amish Tripathi. This book is first of the Trilogy on Lord Shiva, a fierce warrior, a passionate lover, an accomplished dancer and a wise philosopher. This is an interesting adaptation of great Indian mythology from human perspective i.e. The simple man whose karma recast him as our Mahadev, the God of Gods.

Though it’s a fiction, you might believe in it, the way author explains the concept behind Somras, origin of ‘OM’, invention of ‘Trishul’, ‘Har Har Mahadev’ and so on. Also it will impart you some knowledge on Indus valley civilisation, Sapt Sindhu, Suryavanshis, Chandravanshis, ancient caste system and so on.

A web presence for this trilogy can be found here.

Check out a wonderful video teaser here:

It’s a believable realistic approach, An intelligent approach to serve mythology which is digestible. A wonderful read. And yeah I must say, Don’t read it for mythology, read it for entertainment and you will love mythology.

Now I am eagerly awaiting for second installment of this trilogy to meet Nagas and to learn their secrets ;)


How Facebook Targeting me

On my Gmail, Facebook is luring me to meet a Gujju girl ;). I must say AdSense is working.

P.S. Funny :)


A Funny Requirement

Many a times I browse various project requirements on freelancing websites and bid on them for my freelancing work related with PHP, MySQL, jQuery, JavaScript, CSS and XHTML.

In one of the freelancing site I came across this requirement which is totally funny, here is print screen excerpt for the same:

This guy is looking for best gay to develop his website and also he will pay in different kind ;). God bless the bidder.


Keeping footer always at the Bottom of the Page

In a recent website work I had to keep footer always at the bottom regardless of the content. If there is no content or very less content then footer use to come up instead of sticking at bottom of the page. Here is the CSS solution I found for the same:

Lets say the page structure is something like this:

<html>
<head><title>TITLE</title></head><body>
<div id="page">
 <div id="header">HEADER</div>
 <div id="content">CONTENT</div>
 <div id="footer">FOOTER</div>
</div>
</body>
</html>

Then we just need to use the following CSS code for footer which we need to keep in head section or some CSS file which will linked in head section:

<!--
#page
{
 position:relative;
 height:100%;
}
#content
{
 padding-bottom:40px;   /* Height of the footer */
}
#footer
{
 position:absolute;
 bottom:0;
 width:100%;
 height:40px;   /* Height of the footer */
}
-->

and we are done. Just test in any browser :)

This can be quite easily done without using any CSS if we are using <table> tag with height attribute instead of <div> tag. for e.g.

<html>
<head><title>TITLE</title></head>
<body>
 <table width="100%" height="100%">
 <tr><td valign="top">HEADER</td></tr>
 <tr><td valign="middle">CONTENT</td></tr>
 <tr><td valign="bottom">FOOTER</td></tr>
</table>
</body>
</html>

Here table height is set to 100% to use whole page and valign is used for vertical alignment of .  height attribute can be avoided using style element.

This will work fantastic but might fail in W3C validation as height attribute is no more supported so better use the solution with <div> tag with CSS.

Note: I tested this in Chrome browser only.

Have Fun ;-)


Symbol Interpretation

coincidentally it depicts the real situation in India

Rupee Symbol Interpretation

hats off to the person who imagined this …


Follow

Get every new post delivered to your Inbox.