Practical Web Applications for Daily Living…
How tos
Response.Redirect using Javascript
Dec 8th
window.location = "http://www.adtweeting.com/confirmation.php";
</script>
Css Background Image Set to Center and Top Vertical Alignment
Nov 25th
the code:
{
padding:0px;
margin:0px;
background-image:url(/images/background.jpg);
text-align:center;
background-color:#0b5eba;
background-repeat:no-repeat;
background-position:center;
background-position:top;
}
Center Align using margin:0 auto;
Nov 20th
to center align using divs with css
The HTML
the CSS
width:1000px;
margin:0 auto;
}
.content{
width:1000px;
}
Now these may look ok in new browsers, but it causes problem in ie5…
so to fix this.. you need to put a style of text-align to center in body tag…
text-align:center;
}
.wrap{
width:1000px;
margin:0 auto;
}
.content{
width:1000px;
}
How to set-up a Blog
Nov 16th
A lot of my friends always come to me and is asking for help on how to setup their blogs and start making money from it… so to better answer them all without repeating myself I decided to the write this how-to steps for them to follow.
You can setup your blogs for free on blogger.com or wordpress.com but if you want to have total control of the codes and how to manage it, you need to setup it in your own server, having your own server is very expensive so I recommend you to buy a hosting server like godaddy, hostgator and more… just try to search google or bing for web hosting services that meets your needs.
If you don’t want to pay for anything to setup your blog, just create an account on blogger or wordpress and start posting your articles there.
Else, here are the steps on building your blog on the hosting server and domain name of your choice.
step 1. buy your domain name
you can buy your domain name in websites like 1and1 or godaddy, if you have credit card or paypal account (and your paypal has money in it..) you are ready to buy your domain name. after you have your domain name proceed to step 2.
step 2. buy your hosting server service
buy your hosting server (make sure it has can run php and mysql ), you can buy services like this in hostgator.com or try searching google for other hosting services. Once you have your hosting server, go back to godaddy.com login and go to the domain name you have bought earlier. change its DNS to the DNS of your hosting server, this will take 5 hours or more depending on the services you have bought, after this step proceed to step 3.
step 3. download the wordpress blogging software
download wordpress software in there website. then proceed to step 4.
step 4. upload your wordpress software to your hosting server.
upload your wordpress software downloaded in the previous step to your hosting server.. (if you don’t know how to do this… and I know you don’t, download filezilla first or any ftp uploader software out there.)
create an ftp account from your hosting server cpanel, if you dont have any yet.. ftp credentials looks like this.. host: ftp.yourdomain.com username:yourusername password: yourpassword port:21
after this.. start uploading your wordpress software to your webroot. after this step.. you are ready to go.
step 5. Install and redesign your wordpress.
Install and configure your wordpress software by typing into browsers URL the location of you wordpress templage, after successful installation you can then redesign the look and feel of your website my searching and downloading existing wordpress themes out there, you can also redesign the default theme if you knew enough php and html/css skills. after this proceed to the next step.
step 6. start adding and updating articles.
start adding articles to your blog.
step 7. making money in your blog.
Once your blog is already setup, you can start making money in it only if you can have thousands of visitors in it per day. try searching about google.com/adsense or other advertising services like adsense, you can also make money by selling reviews and ad spaces.
