I will miss the old style, it's so much more work and error prone just to save a couple hundred characters.
Printable View
I will miss the old style, it's so much more work and error prone just to save a couple hundred characters.
No. CSS externalizes styling so that it applies across your site; change the .css file that is linked to from many pages, and all of the pages change. Style is never more efficient and often significantly less efficient. Of course there's nothing wrong with using style in some cases (except that it's not the standard now) but on average unless there is a single item on a single page that gets a special style, it's much more efficient to use a css declaration instead.
I don't see it as error-prone at all; and certainly not more so than writing your styles embedded or inline.
What 'old style', to what are you referring? Do you mean tag soup including the deprecated <font> tag, or inline style, or something else?
Anyways, I've moved this to the lounge as it's not really a help question. And I've added a poll. My vote is the first, and it's no.
CSS is a great tool for styling elements, it's very simple to learn and I don't really see how websites would get by without it, unless there were some alternative. But I really don't see a need for one.
Even if someone did come up with an alternative for CSS, think about the millions of sites that are already using CSS, if it was replaced with something else that wasn't backwards compatible, it would mean a lot of work for web designers / developers.
In short, no, I don't think this will ever happen and I hope it never does.
So...what you're saying is that...
is less work and less "error-prone" thanHTML Code:<table width="100%" height="100%" border="0">
<tr>
<td width="100%" height="10%" backgroundcolor="#0000FF"><font color="#0000FF">Hello.</font></td>
</tr>
<tr>
<td width="100%" height="90%" backgroundcolor="#FFFF00"><font color="#FF0000">How are you today?</font></td>
</table>
HTML Code:<div style="position: absolute; top: 0; left: 0; height: 10%; width: 100%; background-color: green; color: blue;">Hello.</div>
<div style="position: absolute; top: 10%; left: 0; height: 90%; width: 100%; background-color: yellow; color: red;">How are you today?</div>