Archive for the 'Windows' Category

css border shades without images

Its a very simple css code, and creat a shaded like affect using multiple borders. It has 7 borders with blending shades.

shaded css border

<html>
<head>
<style>
html,body{ margin:0; padding:0; text-align:center; height:100%;}
#sh1{ margin:0 auto; width:800px; border-left:1px solid #fdfdfd; border-right:1px solid #fdfdfd;text-align:left; height:100%;_margin-right:-3px; }
#sh2{ border-left:1px solid #f8f8f8;border-right:1px solid #f8f8f8;height:100%}
#sh3{border-left:1px solid #f1f1f1;border-right:1px solid #f1f1f1; height:100%}
#sh4{border-left:1px solid #e7e7e7;border-right:1px solid #e7e7e7;height:100%}
#sh5{border-left:1px solid #dadada;border-right:1px solid #dadada; height:100%}
#sh6{border-left:1px solid #cacaca;border-right:1px solid #cacaca;height:100%}
#sh7{border-left:1px solid #eaeaea;border-right:1px solid #eaeaea;height:100%}
</style>
</head>
<body>
<div id=”sh1″>
<div id=”sh2″>
<div id=”sh3″>
<div id=”sh4″>
<div id=”sh5″>
<div id=”sh6″>
<div id=”sh7″>
Your Content goes here..<br />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

The advantage of using this method over using images is that you can easily change the width of your site without changing the background image.

Watch demo

Securing computer from viruses and hackers

Internet, Computers and Networks are merging in our real lives so rapidly that everything is now depended on it. The more things are merging into computers and internet the more it become unsecured. Internet is a blind world you can’t trust on any thing, even if you are communicating with your family on internet or receiving a file from your friends, you can’t trust the file being sent or your communication, as they might interrupted by a third person sitting in the middle of you communication and monitoring your packets.

You have to be very careful while using internet, especially for sensitive stuff, like credit card transactions, buying something online, or sharing your personal data. There can be hackers who are spying your internet activities, or viruses that slowed down your computer or messed up your computer behavior and lots of other malicicious programs like Spywares, Trojans, Adwares, Worms and rootkits. All these malicious softwares are also called as malware (MALicious softWARE). Lot of people miss use the concept of these programs, they all call it a virus, which are different due to their behavior and their influence.

Read the rest of this entry »

locate: can not open `/var/lib/mlocate/mlocate.db’

if you are trying to locate files in linux and you get such errors

[root@localhost /]# locate openssl
locate: can not open `/var/lib/mlocate/mlocate.db’: No such file or directory

type updatedb to fix this problem

[root@localhost /]#updatedb

sharing cableNET

Scenario:- You have Cable Modem Connection (in my example is Virgin NTL) and You have one or more Laptop(s) and one or more Desktop(s) and You just want internet on PC (through wire) and on laptop (wirelessly) If you have same scenario then keep on reading.sharing cable modem

Requirements:

  • Wireless Cable/DSL Router
  • Network Cable( RJ-45 ) to connect Cable Modem and Router.
  • Laptop or a PC with wireless Card
  • Cable Modem.
  • Thats it

Read the rest of this entry »

Turn Windows Xp into Webserver

Did you ever wish to have Apache, PHP, Mysql, PhpMyadmin, and SQLiteManager on your Xp Desktop or Laptop? Thanks to Wamps Server which make it easy to work all together in one go. Just install wampserver and all these bunch of stuff will be installed and configured automatically so no need to do it manually now.

Here is a easy step by step way using images of how to install and make it work on windows xp.

Installing Wampserver

download wampserver from http://www.wampserver.com/en/download.php and open the file. The following images will guide you the step by step way of installing wampserver. Click on Next when the first screen appears.

Read the rest of this entry »