I am trying to build my website using CSS. After trying to do it with tables and being totally frustrated, I figured there must be a better way. As somebody who has never done any html designing before it really took me a while to find css. But I understand that you need to have the "correct" doctype heading to make css work properly. I am just wondering which doctype should I be using. It seems like there are really only three: Strict, Transitional, and Frameset. I'd like to use Strict so that it forces me to use the most robust code, but I think I started by using Transitional, then I changed the header one day and it changed a bunch of my alignment stuff in CSS. Does anybody know of a good document that explains which doctypes will do what to your css styles. Right now I have no idea why some things in my CSS will work, and some won't. The some that won't is namely my alignment, I'm trying to get the page to center and that is a big headache.
Joined: Nov 08, 2001
You might just do a search for xhtml or pick up a book on it. It will help you out more. If you are just starting, I would not be to worried about compliance right away or you will b pulling your hair out too much!