Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: Probable Bug in PM while creating a node ( preview )!

by rnahi (Curate)
on Oct 07, 2005 at 13:20 UTC ( #498203=note: print w/replies, xml ) Need Help??

in reply to Re: Probable Bug in PM while creating a node ( preview )!
in thread Probable Bug in PM while creating a node ( preview )!

You can use <pre> tags when you want to show something that should stay aligned (like a ascii table or a program's output) but it is not actually code.

The difference is that things in <code> tags are downloadable, while things in <pre> tags aren't.

Replies are listed 'Best First'.
Re^3: Probable Bug in PM while creating a node ( preview )! (--pre)
by tye (Sage) on Oct 07, 2005 at 14:08 UTC

    No, you shouldn't. Use of <pre> tags is tolerated for very narrow content. Perhaps one day, PerlMonks will make <pre> better than HTML intended, but, for now, it is best to just never use them here.

    Don't get hung up on the word "code". It can be quite useful to download output or other things. There are more differences between 'code' and 'pre' than whether or not 'download' is offered.

    And relax and let the viewer decide whether they want to see 'download' links for just a one-line item. If you don't want to see them, then fix your settings so you don't see them anywhere rather than using the problematic <pre> tag.


    - tye        

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://498203]
[marto]: good morning all
[Corion]: Hi marto!
[Corion]: I hope you're well!
[Discipulus]: good morning monks!
[marto]: Corion, I've been better, but things are improving in many cases :) Simply not enough time/rest :)
[Corion]: Hi Discipulus!
[marto]: hopefully you guys are also well :)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2017-07-27 07:33 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (404 votes). Check out past polls.