Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

(tye)Re: New code wrap options

by tye (Cardinal)
on Aug 12, 2002 at 14:49 UTC ( #189514=note: print w/ replies, xml ) Need Help??


in reply to Re: New code wrap options
in thread New code wrap options

Now code is wrapped in <tt class="code"> (for all combinations of wrapping settings). Let me know if that works.

Update: In-line <code> (like that -- stuff in <code> tags that doesn't include a newline) is not designated class="code". If someone wants a class designation for this, then come up with a nice, short, clear name for the class. (:

        - tye (but my friends call me "Tye")


Comment on (tye)Re: New code wrap options
Select or Download Code
Re: (tye)Re: New code wrap options
by blakem (Monsignor) on Aug 12, 2002 at 22:41 UTC
    Thanks tye. Setting CSS styles for tt.code instead of pre tt works with both user setting options now.

    -Blake

Re: (tye)Re: New code wrap options
by demerphq (Chancellor) on Mar 12, 2004 at 19:01 UTC

    If someone wants a class designation for this, then come up with a nice, short, clear name for the class.

    class="fragment"

    However getting short and clear at the same times seems to me to be setting the bar too high. Maybe having one without the other is preferable?


    ---
    demerphq

      First they ignore you, then they laugh at you, then they fight you, then you win.
      -- Gandhi


      Well, I'd just do "inlinecode".

      - tye        

        Yep, that was my original though as well, but it seemed too long considering your requirements. I actually thought of suggesting 'icode' but thought that wasnt sufficiently clear. 'inline' or 'inlinecode' seems good to me, as does 'fragment' still.


        ---
        demerphq

          First they ignore you, then they laugh at you, then they fight you, then you win.
          -- Gandhi


Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://189514]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2014-09-02 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (29 votes), past polls