Archive for February, 2008

Redirecting with .htaccess

.htaccess, Other
Redirecting with .htaccess

Here’s my second tutorial about .htaccess, the first one was about making your own custom 404-error page. This one is about redirecting with .htaccess. In this tutorial I’ll explain the benefits of using .htaccess to redirect, instead of PHP or Javascript and I’ll show some examples about how to use .htaccess redirects.

Read more...

CSS Adjacent-Sibling Selector

CSS
CSS Adjacent-Sibling Selector

Most CSS selectors are well known, but there are some interesting selectors that are not common used, like the adjacent-sibling selector. An adjacent sibling selector will select the sibling immediately following an element, with the same parent. In this example, I will show you how to use the adjacent-sibling selector to style this list.

Read more...

How to make a custom 404 page

.htaccess, Other
How to make a custom 404 page

You can achieve a lot of things with a .htaccess-file. You can make your own custom 404-error pages, redirect pages, rewrite pages, block IP-adresses and more. In this first .htaccess tutorial, I will explain the custom error pages.

Read more...

CSS Positioning

CSS
CSS Positioning

There are many ways to position your elements in CSS. Relative positioning, absolute positioning or a combination of both. I’ll explain those ways with some clear examples.

Read more...