What is CSS?
This is a mercy post for those of you who don’t have a clear understanding of what CSS is.
I’m not really familiar with css other than hearing that it’s better than html because of the <tables> vs <div> tags.
The previous quote was found on a freelance coding site and really highlights the fact that there is a lot of misunderstanding out there about CSS.
CSS does not replace HTML, it augments it.
HTML:
<div>This is a sentence</div>
HTML with CSS:
<div style=”border:1px #F00 solid;”>This is a sentence</div>
Just as I used CSS with this <div> tag, I can use CSS with a table. The dichotemy that this user mentions between <div>s and <table>s is that for many years tables have been (wrongly*) used for formatting, and by combining CSS with <div>s you can do similar formatting without using tables.
* I agree that tables are not the best solution for formatting issues, I don’t feel you should use 30k of complicated HTML/CSS/CSS hacks to replace a 12k tables-formatted design. ![]()