change font style in <PRE>

Discussion in 'HTML' started by zhisol, Sep 2, 2003.

  1. zhisol

    zhisol Guest

    is possible to change font style for text i <PRE></PRE> tag ?
    how? (if it's possible)

    --
    pozdr;)p
    zhisol
    zhisol, Sep 2, 2003
    #1
    1. Advertising

  2. zhisol schrieb:
    >
    > is possible to change font style for text i <PRE></PRE> tag ?
    > how? (if it's possible)


    Put this in the HEAD of your document:

    <style type="text/css">
    pre {font-style:italic;}
    </style>

    See <http://www.w3.org/TR/CSS2/fonts.html> for more CSS properties


    Matthias
    Matthias Gutfeldt, Sep 2, 2003
    #2
    1. Advertising

  3. zhisol

    zhisol Guest

    Matthias Gutfeldt <> wrote in news::

    > <style type="text/css">
    > pre {font-style:italic;}
    > </style>
    >
    > See <http://www.w3.org/TR/CSS2/fonts.html> for more CSS properties


    thanks. exactly, that's what i need :)

    --
    pozdr;)
    zhisol
    zhisol, Sep 2, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rocky Moore
    Replies:
    7
    Views:
    1,712
    mikeb
    Jan 14, 2004
  2. Replies:
    0
    Views:
    407
  3. Eitan M
    Replies:
    1
    Views:
    313
    Thomas Kellerer
    Aug 15, 2007
  4. mttc
    Replies:
    2
    Views:
    2,361
    Roedy Green
    Jul 3, 2009
  5. technoGirl
    Replies:
    8
    Views:
    671
    marss
    Jan 3, 2007
Loading...

Share This Page