Archive for February, 2009

Structuring a website for Search Engines – First Place In Google.com

Sunday, February 22nd, 2009

This post aims to help you structure your entire site for search engines before and during development. This is by no means the be all and end all of SEO, Structuring or best method out there but is the personal effective method that I use.

To begin, when preparing to develop a site what steps do you take? Do you jump right in and just start coding your .psd or alternative? Maybe you just build using your coding application and use minimal graphics? Whatever method you use I will try to explain why methodical structuring can make or break your new shiny website. (more…)

CSS Layout using percentage (%) and pixels (px) together

Monday, February 16th, 2009

Quite often either I or other people are asked how to control CSS layouts using both pixels and percentages. The answer is a simple one but I will demonstrate the code needed a little more so you can better understand it. For this tutorial I will be basing the tutorial on a post I answered on Neowin.net (A forum I frequent).

Ok, so start with we want to have a main div which stretches for 80% of the browser width. Our main div will have the class .red and uses the following CSS.
(more…)

Internet Explorer 6 (IE6) Double Margin CSS Fix

Wednesday, February 11th, 2009

I thought I should share with you a little bug fix within Internet Explorer 6 that certainly would have had some of you pulling your hair out before now. I am of course talking about a situation where you have a floating element within IE6 that magically gains extra padding or margin without setting it.

The problem occurs when you float an element such as a div within your page with padding or margin. IE6 sees it and decides it has a passion for a fatty (no pun intended) and waves its magical MS wand. The MS spell makes the element expand with “double” the padding you wanted on it.

So what can we do to fix the issue? (more…)