I have seen several posts over the past few days regarding template designs which are not working in IE or Firefox, or don't line up etc.
What stands out is that none of these sites have content yet, they are just designs. This is not the right way to begin a site development!
The first thing you should be doing is getting your content structure in order. How are level headings going to be used, where is my navigation list going to go, do I want forms? Have I got any table based data.
Even on a dynamic site getting content structure is important. Even if you have to create some test data, get it up and get is
semantically marked.
You should know the following before you even decide the colour of your site:
- How many levels of heading is each page going to have
- Where in the content stream will navigation go
- How many sections is the page going to have e.g. header, main, footer, navigation etc.
Once you have all your content marked up, then and only then should you start writing your CSS sheet, start by adding block color, logo images and background images to your current sections.
If you decide to opt for a more complex design then start wrapping your content in divs and spans, keep this logical and minimal, if you need an example of how to do this check out
CSS Zen Garden, while the markup is sometimes more than needed it is still strict and readable.
As you start adding CSS check every step in both browsers to help see where and when any changes take place.
Javascript
So you want to use some AJAX? Maybe have a few interactive sections?? No problem, but first, is your site functional without it? Can I do everything I want to do without Javascript? I can? Great!
Go ahead and start adding some nice javascript, make sure you don't touch the html, if you have to touch the html to get something working it isn't good JavaScript. All of it should be done in the javascript, no inline events. This can be hell to get working in all browsers, but your going to check for that arn't you?
Flash
Not enough power in javascript, want a more "flash" display? No problem but make sure it is in addition to the content already there.
The Aim
I should be able to use your site without looking at an image, javascript or flash file. All I should see is text. Of course if your site is an image gallery or likewise application then a few exceptions apply.
Jamie