Log in

View Full Version : Is there any chance css will go away?



dwhs
12-17-2010, 02:52 AM
I will miss the old style, it's so much more work and error prone just to save a couple hundred characters.

djr33
12-17-2010, 04:35 AM
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.

traq
12-17-2010, 05:00 AM
I don't see it as error-prone at all; and certainly not more so than writing your styles embedded or inline.

jscheuer1
12-17-2010, 05:50 AM
I will miss the old style, it's so much more work and error prone just to save a couple hundred characters.

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.

Schmoopy
12-17-2010, 10:29 AM
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.

techno_race
04-11-2011, 02:01 PM
So...what you're saying is that...


<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>

is less work and less "error-prone" than


<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>