Posts Tagged ‘HTML’

HTML link coloring with CSS

Posted: 12th September 2014 by Tim in CSS, HTML
Tags: , , , , , , , , ,

HTML link colors can be changed easily using CSS. The properties which can be set are: link – a link to a page which has not been visited visited – a visited link hover – a link which has the mouse hovering over it active – a link which is being clicked (mouse button held […]

301 Redirects in PHP

Posted: 9th July 2010 by Tim in PHP
Tags: , , , , , , , , , ,

If you have a web page which has been moved to another URL, or if the page has been completely removed, chances are people will have that address saved in their bookmarks, or they will try to access the page via a search engine and get a 404 – Page Not Found error. Not only […]

Creating a 2 column layout in HTML / CSS

Posted: 1st October 2009 by Tim in CSS, HTML
Tags: , , , , , , , , ,

Standards-compliant layouts can be difficult to do. Below is an example of an HTML 4.01 Transitional / CSS 2.1 compliant two-column layout, with headers and footers. An example can be seen here. Note: WordPress destroys tabs and layout. See the source code in the example for more readable code. HTML <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML […]

Adding subdomains in Apache

Posted: 20th August 2009 by Tim in Apache, Ubuntu
Tags: , , , , , , , ,

There are a number of ways to add subdomains in apache, but here is the quickest and most basic way to get it done. This example is for Ubuntu 8.04, but may be used on other flavours of linux if you find the correct paths to the files. Let’s say you have a blog on […]