Jump to content

Just like PayPal


Vanessa
 Share

Recommended Posts

Using relative values is usually a good thing but if you are sure you want to disable your page from resizing I would suggest using absolute values, or to be more exact: Pixels.Like this:

<span style="font-zise: 14px">The text with 14px size</span>

Link to comment
Share on other sites

I for one, can change the text size at www.paypal.com, as I am using FireFox. Px is actually a relative measurement as well.The only fixed measurements are:

    * in: inches — 1 inch is equal to 2.54 centimeters.    * cm: centimeters    * mm: millimeters    * pt: points — the points used by CSS 2.1 are equal to 1/72nd of an inch.    * pc: picas — 1 pica is equal to 12 points.
Source
Link to comment
Share on other sites

@DeathRay2K, I've read that px IS a fixed value in an e-book I saw a while ago.It's weird, the offical W3C site says differently :) Anyway, Firefox and Opera can resize even fixed values. Only IE would have a problem changing px (meaning that IE don't resize text written in pixels)The e-book I read also suggests that if you want your text to resize in IE, use em.1em is the size the normal text size2em is double the size0.5em is half the normal sizeetc.

Link to comment
Share on other sites

you should never not allow font size changes - its not good practice - old, blind, and partial blind people surf the web too you know.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...