Pagina 1 di 3 1 2 3 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 25

Discussione: dimensione font

  1. #1
    Utente di HTML.it L'avatar di BananaBoat
    Registrato dal
    Aug 2004
    Messaggi
    1,269

    dimensione font

    meglio % o em?

  2. #2
    Make it accessible
    I think em it's better.

    :byez:

  3. #3
    Utente di HTML.it L'avatar di BananaBoat
    Registrato dal
    Aug 2004
    Messaggi
    1,269
    Originariamente inviato da pierofix
    Make it accessible
    I think em it's better.

    :byez:
    why?

  4. #4
    For one principal thing: if you resize your window to very small dimensions, your text will follow them. Result: totally unreadable text.

    Not really a good thing...


  5. #5
    Utente di HTML.it L'avatar di BananaBoat
    Registrato dal
    Aug 2004
    Messaggi
    1,269
    Originariamente inviato da pierofix
    For one principal thing: if you resize your window to very small dimensions, your text will follow them. Result: totally unreadable text.

    Not really a good thing...

    I tried this:
    codice:
    <span style="font-size:90%;">some text</span>
    but if I resize my window to very small dimensions, my text doesn't follow it ( copy and paste :maLOL: )

  6. #6
    Ok. Try this: resize browser window before you load the document, then load it.

    What's going to happen?

  7. #7
    Utente di HTML.it L'avatar di BananaBoat
    Registrato dal
    Aug 2004
    Messaggi
    1,269
    nothing
    I tried also this code
    codice:
    <html>
    <head>
    <style type="text/css">
    html,body{width:100%;height:100%;font-size:100%;}
    </style>
    </head>
    <body>
    <span style="font-size:90%;">SOME TEXT</span>
    </body>
    </html>

  8. #8
    I've always believed the text follows window dim.

    Does anybody know something about it?

  9. #9
    Utente di HTML.it L'avatar di zoom
    Registrato dal
    Dec 2001
    Messaggi
    1,737

    c'a fate?

    Va poi sottolineato come Internet Explorer al momento gestisca le impostazioni in px ed in em delle dimensioni del testo in modo non standard, da qui il consiglio di impostare dette dimensioni in %:

    * i pixel (px) vengono considerati valori assoluti, perciò il testo non viene ridimensionato (ingrandito);
    * gli em, se utilizzati del "body" delle pagine, vengono gestiti in modo da ingrandire esageratamente il testo
    le misure dei caratteri in %
    Chicco Ravaglia per sempre con noi!

  10. #10
    Utente di HTML.it L'avatar di BananaBoat
    Registrato dal
    Aug 2004
    Messaggi
    1,269
    Originariamente inviato da pierofix
    I've always believed the text follows window dim.

    Does anybody know something about it?
    I tried both with FireFox and IE, but it doesn't.
    That's why I use % , I find it easier and faster than em.
    What about xx-small, x-small, small, medium, large, x-large, xx-large?

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.