Categories
Code Design Internet Linux UNIX

Enable keep-alive in Apache

What is keep alive? Keep alive is a method to allow the same tcp connection for HTTP conversation instead of opening a new one with each new request. More simply put, it is a communication between the web server and the web browser that says “you can grab more than just one file at a time”. Keep […]

Categories
Design Internet Technology

CSS Basic Template

Here’s a basic CSS template that you can use. There’s a header, a footer, a left side and a right side. You need to create an index.html and mystyle.css file. Place them in the same directory. index.html <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ /> <link rel=”stylesheet” […]

Categories
Design Internet

Google: Web Fonts

Are you still limiting the type of font on your webpage? Let me introduce you to Google Web Fonts. http://www.google.com/webfonts There are three simple steps to follow. Choose your font Add the font API code between <head></head> Add CSS code I went ahead and choose Stardos Stencil for this example. I added the following code […]

Categories
Design Wordpress

WordPress: WP-Syntax – Pre/Code

I was looking for a simple way to show/highlight the code portion of my blog. The regular <pre> tags didn’t do it for me. It just didn’t look professional. After a quick search, I came across a WordPress plugin called WP-Syntax. “WP-Syntax provides clean syntax highlighting using GeSHi — supporting a wide range of popular […]

Categories
Design Wordpress

WordPress | Front page displays > Your latest posts – Home Page Link

While creating a WordPress website, I ended up wanting to put a home page link on the far left side of my menu bar. The only problem was that if I created a Home page, meaning yourwebsite.com/home, it would NOT re-direct to yourwebsite.com like I wanted it to. As you can see, my Reading Setting […]