View Poll Results: Any Chance CSS Will Go Away?

Voters
11. You may not vote on this poll
  • Yes

    0 0%
  • No

    11 100.00%
Results 1 to 6 of 6

Thread: Is there any chance css will go away?

  1. #1
    Join Date
    Apr 2007
    Location
    LA
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Is there any chance css will go away?

    I will miss the old style, it's so much more work and error prone just to save a couple hundred characters.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    I don't see it as error-prone at all; and certainly not more so than writing your styles embedded or inline.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by dwhs View Post
    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    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.

  6. #6
    Join Date
    Feb 2007
    Location
    🌎
    Posts
    528
    Thanks
    10
    Thanked 10 Times in 10 Posts
    Blog Entries
    2

    Default

    So...what you're saying is that...
    HTML 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>
    is less work and less "error-prone" than
    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>
    ....(o_ Penguins
    .---/(o_- techno_racing
    +(---//\-' in
    .+(_)--(_)' The McMurdo 500

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •