Archive for the ‘Tutorials’ Category

IE6 color patches on scroll Fixes

I came across the color patches problem on scroll of IE6.
Cause: If we have no or different background color in the parent div and the Current div has different background color.
Example:
HTML CODE
… … …
<div class=”outter-content”>
<div class=”content-home”>
<div class=”banner”>… … …</div>
</div>
</div>
… … …

CSS CODE
.outter-content {
background: #000;
clear: both;
border:#a5b3bb 1px solid;
border-top:0px;
}

.content-home {
clear: both;
padding:0 1px;
background: #d8eaf0;
border-bottom:1px solid #a6b4bc;
}

.banner{
background: url(“../images/banner.png”) [...]

Posted in CSS Hacks, Tutorials , Tagged with , , On May 4, 2009, 0 Comments.

IE6 Auto-width Margins Problem fixed

Many of developers faced the Auto width Margin (margin:0 auto;) problem in IE6 browsers to make the content div center aligned irrespective of browser window.
Here is the solution.
Modify the CSS accordingly:

body {
margin:50px 0px; padding:0px;
/* Need to set body margin and padding to get
[...]

Posted in CSS Hacks, Tutorials , Tagged with , , On May 1, 2009, 0 Comments.

Learn C++ in Singing the Songs

C++ sings the following songs
* Null pointers
Mera jeevan kora kagaz kora hi reh gaya.
*Local variable
Mein pal do pal ka shayar hu, pal do pal meri kahani hai, pal do pal meri hasti hai
* Undeleted pointers
Maut bhi aati nahi jaan bhi jati nahi.
* Unused variables
Badi sooni sooni hai zindagi yeh zindagi
#include
Saathi haath bataana [...]

Posted in Technology, Tutorials , On April 1, 2009, 0 Comments.

Folder Lock without any Software!!!

Many people have wished to lock folders without the use of any alternative software. So, here you go.
Lets Create a Batch file to do the Folder Lock and Unlock.
Open Notepad and copy the below code and save as locker.bat .
Don’t forget to change your password in the code it’s shown the place where to [...]

Posted in Technology, Tutorials , Tagged with , , On February 22, 2009, 2 Comments.

10 steps to recover Projects Localhost crashes.

10 steps to recover all your Projects, database and tables when server/localhost crashes.
——————————————————————————————————————
1. Before uninstalling the crashed server copy the full folder as backup of all previous data. (Example: Take backup of “C:wamp” folder)
2. Uninstall the Crashed server and install the new one.
3. Make sure your new server running and has no error.
4. If server [...]

Posted in Technology, Tutorials , On December 18, 2008, 0 Comments.