The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Unknown CSS Error

Last post 01-28-2008 5:30 AM by dhromed. 20 replies.
Page 1 of 1 (21 items)
Sort Posts: Previous Next
  • 01-24-2008 9:36 PM

    Unknown CSS Error

    A friend of mine who is very much a n00b at web development was having some CSS issues. Try as he might, he couldn't get that one last error to go away:

    Warning: Expected identifier for class selector but found ' '. Ruleset ignored due to bad selector. Source File: http://www.site_name_removed.com/filename.css Line: 33

    So I took a quick look at the CSS file, and found this:

    a { color: #FFFFFF; text-decoration: underline; }
    a:hover { color: #FFFFCC; text-decoration: underline; }
    ill wash your body with my bare hands. :)
    h2 { color: #FFFFCC; text-decoration: bold; font-family: serif; size: 28; }

    When I asked him about it, he (after a long silence) said an IM with a "certain female friend" had intefered with some copy/paste he was doing on his CSS. He thanked me for my help and promptly signed out!

    Filed under: ,
  • 01-24-2008 10:41 PM In reply to

    Re: Unknown CSS Error

    erichthewebguy:
    ill wash your body with my bare hands. :)
     

    The web browser was only erroring because it was waiting for him to turn up and follow through with his promise.  

    Filed under:
  • 01-25-2008 3:44 AM In reply to

    Re: Unknown CSS Error

    Oh, the humanity.

     

    — Flurp.
  • 01-25-2008 3:59 AM In reply to

    Re: Unknown CSS Error

    erichthewebguy:
    A friend of mine who is very much a n00b at web development was having some CSS issues. Try as he might, he couldn't get that one last error to go away:

    Warning: Expected identifier for class selector but found ' '. Ruleset ignored due to bad selector. Source File: http://www.site_name_removed.com/filename.css Line: 33

    So I took a quick look at the CSS file, and found this:

    a { color: #FFFFFF; text-decoration: underline; }
    a:hover { color: #FFFFCC; text-decoration: underline; }
    ill wash your body with my bare hands. :)
    h2 { color: #FFFFCC; text-decoration: bold; font-family: serif; size: 28; }

    When I asked him about it, he (after a long silence) said an IM with a "certain female friend" had intefered with some copy/paste he was doing on his CSS. He thanked me for my help and promptly signed out!

     

    He obviously didn't try very hard to fix it before calling you - the error message gives him the line number to look at...

    the forum software ate my colon
  • 01-25-2008 4:52 AM In reply to

    Re: Unknown CSS Error

    gremlin:

    He obviously didn't try very hard to fix it before calling you - the error message gives him the line number to look at...

     

    Yeah, but who wants to count that many lines in a file? 

  • 01-25-2008 5:09 AM In reply to

    Re: Unknown CSS Error

    boomzilla:
    Yeah, but who wants to count that many lines in a file?

    Yeah, that sure makes sense if you're using Windows Notepad. 

    # The Brillant Paula Bean
    # Author:: derula
    # Copyright:: Copyright (c) 2005-2008 Paula Bean
    # License:: Originally distributed under a
    # proprietary license by Paula Bean.
    # Ruby port by derula published
    # under the same terms as Ruby's.

    # This module provides a method to return the
    # brillance of Paula Bean. This can be achieved
    # by calling the module method get_paula.

    module Paula_Bean

    # This constant stores the essence of Paula
    # Bean's brillance. This is a private
    # constant, so you MAY NOT use
    # Paula_Bean::PAULA to access it! Please use
    # the get_paula method instead.

    PAULA = "Brillant"

    # Returns Paula Bean's brillance.
    def self.get_paula
    return PAULA
    end
    end
  • 01-25-2008 5:14 AM In reply to

    Re: Unknown CSS Error

     

    derula:

    boomzilla:
    Yeah, but who wants to count that many lines in a file?

    Yeah, that sure makes sense if you're using Windows Notepad. 

    ... and are too arsed to click "Status Bar" in the "View" menu.

  • 01-25-2008 6:08 AM In reply to

    • Benn
    • Top 500 Contributor
    • Joined on 01-08-2008
    • Derbyshire, UK
    • Posts 69

    Re: Unknown CSS Error

    wooter:

     

    derula:

    boomzilla:
    Yeah, but who wants to count that many lines in a file?

    Yeah, that sure makes sense if you're using Windows Notepad. 

    ... and are too arsed to click "Status Bar" in the "View" menu.

    Count lines? Click on some mysterious 'Status Bar' ? Nahhh - he just needed SwampSearch...
  • 01-25-2008 7:38 AM In reply to

    Re: Unknown CSS Error

    Benn:

    Count lines? Click on some mysterious 'Status Bar' ? Nahhh - he just needed SwampSearch...

     

    Oh, sure, come along and just hijack TRWTF, why don't you...

    Anyways, I think that you'd have to just play random lines, and hope that you notice the bug scrolling away.  Or was that second prompt option kd? 

    Filed under:
  • 01-25-2008 8:01 AM In reply to

    • tdittmar
    • Top 200 Contributor
    • Joined on 11-14-2006
    • Hassia, Germany
    • Posts 156

    Re: Unknown CSS Error

    boomzilla:

    Benn:

    Count lines? Click on some mysterious 'Status Bar' ? Nahhh - he just needed SwampSearch...

     

    Oh, sure, come along and just hijack TRWTF, why don't you...

    Anyways, I think that you'd have to just play random lines, and hope that you notice the bug scrolling away.  Or was that second prompt option kd? 

     

    I just love the fact that this idiot is becoming a running gag among the TRWTF community :-D 

    SpectateSwamp - Fighting Open Source with ClueLessNess
  • 01-25-2008 9:41 AM In reply to

    Re: Unknown CSS Error

    wooter:

     

    derula:

    boomzilla:
    Yeah, but who wants to count that many lines in a file?

    Yeah, that sure makes sense if you're using Windows Notepad. 

    ... and are too arsed to click "Status Bar" in the "View" menu.

     

    ... or haven't noticed the "Go To..." line (Ctrl+G) option that it's supported since more or less the start of the current millennium. 

  • 01-25-2008 9:48 AM In reply to

    Re: Unknown CSS Error

     TRWTF is that he was (and maybe still is) using Dreamweaver. 

    Filed under:
  • 01-25-2008 11:44 AM In reply to

    • dlikhten
    • Top 25 Contributor
    • Joined on 09-27-2007
    • New York Citeyah
    • Posts 670

    Re: Unknown CSS Error

    tdittmar:

    boomzilla:

    Benn:

    Count lines? Click on some mysterious 'Status Bar' ? Nahhh - he just needed SwampSearch...

     

    Oh, sure, come along and just hijack TRWTF, why don't you...

    Anyways, I think that you'd have to just play random lines, and hope that you notice the bug scrolling away.  Or was that second prompt option kd? 

     

    I just love the fact that this idiot is becoming a running gag among the TRWTF community :-D 

     

    Line numbers? Thats just a bunch of horse-sh** used to confuse the REAL coders! You can't code in notepad? What kind of a programmer needs anything more than notepad! Integrated Development Environment? I am not developing any integrated environment, so get off my back! Line numbers... pfft.

    Code is like a box of chocolates. You never know who stuck a turd in there and why.
    The Stupidest Man On Earth
    SSDS Bug: Program should not start up
    Filed under:
  • 01-25-2008 12:39 PM In reply to

    Re: Unknown CSS Error

    dlikhten:

    Line numbers? Thats just a bunch of horse-sh** used to confuse the REAL coders! You can't code in notepad? What kind of a programmer needs anything more than notepad! Integrated Development Environment? I am not developing any integrated environment, so get off my back! Line numbers... pfft.

    Notepad?!?  What a bunch of bloat.  Ed is the standard text editor.

    Filed under:
  • 01-25-2008 12:49 PM In reply to

    Re: Unknown CSS Error

    dlikhten:
    Line numbers? Thats just a bunch of horse-sh** used to confuse the REAL coders!
     

    You're absolutely correct. The real coders don't use n00b things like line numbers. We all know that just wastes disk space, plus, isn't one line easier to read and maintain than 6,000?

    Hint: yes it is.

    I get so tired of wanna-be programmers and compilers telling me about line numbers. I love it when an error message says "Syntax error. Line:1 Character: 4,134,987" That makes me feel better about myself as a programmer. Not only that, but you save a ot of wear and tear on the 'enter' key.  

  • 01-25-2008 2:02 PM In reply to

    Re: Unknown CSS Error

    This is as opposed to washing it with a rubber glove, I suppose.  We've got a real Don Juan in the house.  And of course he doesn't know where to find the apostrophe, or the shift key.

    At least tell me that this didn't happen while he was at work.


  • 01-25-2008 3:22 PM In reply to

    Re: Unknown CSS Error

    boomzilla:
    Notepad?!?  What a bunch of bloat.  Ed is the standard text editor.
    Isn't that ironic that, ed is an order of magnitude more full-featured and powerful than Notepad? Would not call it "bloated", though.
    ╩юфют√ь ёЄЁрэшЎрь яюЁр эр яхэёш■.

    Visit #TDWTF @ SlashNET - the semi-official WTF IRC channel.
  • 01-26-2008 5:34 AM In reply to

    Re: Unknown CSS Error

    erichthewebguy:

    I get so tired of wanna-be programmers and compilers telling me about line numbers. I love it when an error message says "Syntax error. Line:1 Character: 4,134,987" That makes me feel better about myself as a programmer. Not only that, but you save a ot of wear and tear on the 'enter' key.  

    I've actually had that a couple of times at work - a run-time error on an embedded PL/SQL block in Oracle Pro*C. (Feel free to shout "TRWTF" now...) The Pro*C precompiler converts the whole block into a single string, losing newlines. Occasionally (I think it was while we were migrating to a later Oracle release) a run-time error would be described as something like "ORA-06502 occured at line 1, column 6720".

    "Who is General Failure and why is he reading my disk?"
  • 01-26-2008 3:12 PM In reply to

    Re: Unknown CSS Error

    boomzilla:
    Notepad?!?  What a bunch of bloat.  Ed is the standard text editor.
     

    You modern babies and your fancy schmany tools. Real men use

    copy con > whatever.txt

    or better yet, use debug to stuff the text directly into memory and/or onto disk. 

    h2 { color: #FFFFCC; text-decoration: bold; font-family: serif; size: 28; }

    Umm... "text-decoration: bold"? Didn't realize that was a valid decoration value. Or maybe it's more residue from the sex-chat about how "bold" the other one's being.

    -- Never play leapfrog with a unicorn
  • 01-27-2008 10:36 PM In reply to

    Re: Unknown CSS Error

    MarcB:

    h2 { color: #FFFFCC; text-decoration: bold; font-family: serif; size: 28; }

    Umm... "text-decoration: bold"? Didn't realize that was a valid decoration value. Or maybe it's more residue from the sex-chat about how "bold" the other one's being.

    I don't think that "size: 28" is valid either; I'll leave you to guess how that came into the steamy conversation. And what units are in force.

  • 01-28-2008 5:30 AM In reply to

    Re: Unknown CSS Error

    Daniel Beardsmore:
    MarcB:

    h2 { color: #FFFFCC; text-decoration: bold; font-family: serif; size: 28; }

    Umm... "text-decoration: bold"? Didn't realize that was a valid decoration value. Or maybe it's more residue from the sex-chat about how "bold" the other one's being.

    I don't think that "size: 28" is valid either; I'll leave you to guess how that came into the steamy conversation. And what units are in force.

    The funny thing is that the color property is the odd-man-out between the other font-properties. Why was it named color, instead of font-color? 

    — Flurp.
Page 1 of 1 (21 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems