Saturday, September 10, 2011

A Cross Browser* and Standards Compliant Custom ScrollBar Script by Hesido

I have tried to style the scrollbars through CSS. I used
scrollbar-base-color: #009966;
scrollbar-track-color: #009966;
scrollbar-face-color: #ffff99;
scrollbar-highlight-color: #009966;
scrollbar-3dlight-color: #009966;
scrollbar-darkshadow-color: #009966;
scrollbar-shadow-color: #009966;
scrollbar-arrow-color: #009966;

But browsers like Firefox and Safari was not able to get the this styling.
I tried to find solution for this, but was not successful until I got this site :
This site helps for styling scrollbar using javascript with examples and source code.

Sequencing data in rails application

There are many plugins available for sequencing data. Sharing something similar which depends on the jQuery library.
Considering that there is a Single table inheritance with more that 15 different types.
There were more than 15 views of the inherited modules.

Sunday, September 4, 2011

Woking with position:absolute in CSS

position:absolute is really nice when we are positioning some div through CSS. But we need to understand how to use it properly. When we add position:absolute we also need to take care of its behaviour. Just adding this does not make any difference, then we also need to add margin or directly(top, right, bottom and left) positions.

Creating a static site in ruby

Creating a static site is now very easy in ruby, Just need to install the gem.
The article about creating the site can be found at