September 13th in Design, Internet by pbu .

CSS Tutorial: How to Design Round Corner Boxes

How to design a rounded corner menu boxes in CSS?

Being a beginner in CSS coding, i have always struggled to design round corner
menu boxes in CSS. At last i found a very simple way to to accomplish this with
minimum lines of code in CSS. In this tutorial i am going to show you how to
design a round corner menu box with header. You will need photoshop to slice
images and a CSS editor.

Objectives

To …

September 12th in Design, PHP Scripts by pbu .

How to design 3 Column Website Layout with Top Navigation Menu in CSS

CSS as we go deeper and deeper it gets harder and harder to understand, especially margins, padding and floats could be confusing at times as well. I am going to post here the tutorial to make a very simple CSS website layout (skeleton) with

- Container
- Header
-Top Navigation Menu
- Left Navigation Menu
- Right Navigation menu
- Content Part
- Footer

All elegantly stacked one by one with divs and with css stylesheet. This is a very basic skeleton. The most important css code …

September 10th in General by pbu .

Firefox 3 problem with CSS

i have noticed a weird problem ever since i updated to Firefox3. It tends to show certain websites a bit stretched and the CSS div float behaves abnormally by stretching div or shrinking them.

i believe the div float is the problem. With the previous versions of firefox this problem seems to be bit unnoticeable.

I just couldnt explain this abnormal behavior more than this.

September 5th in Money & Finance by pbu .

RTGS vs NEFT? What is the Difference?

I have been a long time confused between the two types of Electronic Funds Transfer system used in India between banks. When you send payments to other bank account in India through Internet banking you might stumble upon either payment through RTGS or NEFT.

Here is the main difference.

RTGS (Real Time Gross Settlement)

It means the funds will be credited immediately to the payee account in real time. No delays. The minimum amount to send is Rs 1 lac. Not …

August 27th in Money & Finance by pbu .

2Checkout Payment to Indian Bank Account

I have been a 2co vendor processing credit cards and recently, 2CO gave a bit of shock for indian people, if i selected wire transfer to indian bank account.

2Checkout.com has been informed by our bank that with the banking regulation in India that a wire can only be issued for payments that are over 100,000.00 INR and must include the IFSC (Indian Financial System Code) code for your bank, along with your bank’s full address and branch name – please …

August 26th in Linux/Unix by pbu .

Capturing a Screenshot of a Website

How to Capture a Website Screenshot in Linux

You might be wondering how to capture a website screenshot (as thumbnail) but
you dont know how to do it. Although PHP GD library is available, it is just
not possible to do the task with php. You will need a linux server running xwindow
system and a browser like KDE konquerer or firefox. In this tutorial i am going
to show you how to capture a website screenshot with khtml2png
in a Centos/RHEL server. I am documenting …

August 25th in Linux/Unix by pbu .

how to install a new .deb package in debian/ubuntu

If you have downloaded a new .deb package file and you dont know how to install it. here is an easy way to install it.

dpkg -i mypackage.deb

You cannot install by apt-get instead you need to use dpkg.

Hope this helps!

August 24th in Linux/Unix by pbu .

how to change default homepage with htaccess?

It is easy to change the default homepage with .htaccess file. Normally the default homepage is index.htm or index.php.

what if you want to set the default homepage to some other file (say home.php) . All you have to do is create a .htaccess file in the public html folder with the following line.

DirectoryIndex home.php

It would be interesting to note that you can access the home.php with GET like this.

http://www.domain.com/?photo=254

which will be same as

http://www.domain.com/home.php?photo=254

This is a useful tip!

Tip …

August 19th in Linux/Unix by pbu .

How to install Xvfb (X11 Server) in Linux Server

Xvfb is a virtual frame buffer X11 server that can be installed on linux servers without a monitor and graphics card. It can be customized for multiple displays and screens as well. In this tutorial i will show how to install, setup and configure a display. I am installing the Xvfb (X11 server) on a Centos/ Redhat linux system.

Example:

If you want to capture a screen shot but you have only a linux server running and no graphics card or …

August 18th in Linux/Unix by pbu .

Xvfb – Fatal server error: Couldn’t add screen 0

i was attempting to launch Xvf (virtual x server) and i have noticed that if i specify 32 bit depth i always get this error. Its a bit strange becuase it works perfectly fine for 24bit and 16bit colors.

Xvfb :1 -screen 0 800x600x32&

The error i get is

Fatal server error:
Couldn’t add screen 0

If i run in 24bit

Xvfb :1 -screen 0 800x600x24&

No error!
I dont know why!