Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: More ways to download code...

by adrianh (Chancellor)
on Aug 29, 2005 at 12:01 UTC ( #487384=note: print w/replies, xml ) Need Help??


in reply to More ways to download code...

<niggle>
embed_code_dl should really be embed-code-dl. Plain underscores aren't legal in CSS identifiers (see the relevant bit of the spec). This means some browsers (earlier Mozilla based browsers for a start) ignore them.
</niggle>

Replies are listed 'Best First'.
Re^2: More ways to download code...
by demerphq (Chancellor) on Aug 30, 2005 at 07:43 UTC

    I changed the class name as you requested. We still have a lot of classes that have underbars in our CSS however, so I kinda feel like it was a drop in the bucket/waste of time. What a bizarre and foolish restriction. Sigh.

    ---
    $world=~s/war/peace/g

      I changed the class name as you requested. We still have a lot of classes that have underbars in our CSS however, so I kinda feel like it was a drop in the bucket/waste of time

      I now find out that I am a big fat liar. Underscores have been in the spec since the 1998 errata.

      Apologies. My bad.

      What a bizarre and foolish restriction. Sigh.

      Personally I find hyphens far more readable. I really miss not being able to use them in variables, etc. from my years with Lisp.

        Apologies. My bad.

        I will refrain from sending the droids of doom after you. This time. :-)

        ---
        $world=~s/war/peace/g

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://487384]
help
Chatterbox?
and snow settles gently...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2016-12-11 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (168 votes). Check out past polls.