can someone tell me the good points or give me a link they recommend me to read. It seems everyone uses table.... I thought CSS was for fonts... "style sheet"? can soemone tell me whats the big difference. Thanks!
Tables are outdated, and are relatively inaccessible. csszengarden presents perfect examples of how css makes tables obsolete, and at the same time provides more accessible HTML code for text-based browsers and readers. Accessiblity and standards compliance are huge points if you ever want to get a job in web design for a university, institution, or the government. Since it's basically illegal if you make a non-accessible web site. They have resouce links if you want reading material.
People make table websites because they either : a) Are lazy B) its the quickest way to convert your Template into a Site c) Genuinely don't understand why tables are bad What do you use tables for in real life? Let me help you... storing tabular data? You dont make a table for any other purpose other to store some kind of data and the same is true or atleast should be with webdesign. CSS is for style, CSS does not add any content, it is for the pure pose of changing how your content looks. HTML is to present your content but shoudl not in any way affect how it looks, so don't touch tags like , <font> they are all junk and shouldnt be otouched. CSS changes how your HTML content looks. Javascript alters the behaviour PHP is a scripting language to add dynamics, same as ASP and CF, Anyone hope this short explanation helps a bit. Its just dont mix them, so no HTML to change how your code looks etc.
okay i see now. so css = code where where u screw up you will only screw a part of webpage or box u were coding in. but tables are ... yeh when u screw up one thing u screw up the entire... right?
CSS is for every single page style. Your HTML page should pretty much look like this: http://www.csszengarden.com/zengarden-sample.html Tables are for printing Excel-esque tables on a web page.