Is CSS more compatible that some HTML codes in all browsers? I know Netscape 4 had css problems a while back, but in terms of some code. I recently found out that only IE6 accepts bgproperties="fixed" so I had to switch to CSS. Are there other instances where CSS is favoured over HTML? like alink, vlink, and link in the body tag?
margin: auto; instead of align="center" maybe? The question would be irrelevent if all the browsers were fully web standards compliant (are you listening Bill Gates? )
I guess certain instances are better, but I like to look at it as a whole. CSS is better than HTML for many reasons...
1. Its ability to use the same properties multiple times, with little effort. With plain HTML we find it hard to manually type in property after property of similar garbage.
2. Overall layout - With css we can get away with using no tables. Tables = suck.
3. Absolute Positioning - This is a heckawesome feature if used properly.
4. General properties - Are overall less basic and can be tampered with a lot. You change a lot with a little...Less development time then plain HTML.
6. CSS just sounds a lot cooler than HTML...I mean...yeah