Vanessa Posted January 8, 2006 Share Posted January 8, 2006 I have a HTML site with some light FLASH usage.When I change the text size the text and pictures all go out of sync.What can I do to disable the ability to change text size. This is an example of what I want to do:www.PayPal.comyou can't change a darn thingThank you.V Link to comment Share on other sites More sharing options...
boen_robot Posted January 8, 2006 Share Posted January 8, 2006 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 More sharing options...
DeathRay2K Posted January 8, 2006 Share Posted January 8, 2006 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 More sharing options...
Eric Posted January 9, 2006 Share Posted January 9, 2006 @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 More sharing options...
Skemcin Posted January 9, 2006 Share Posted January 9, 2006 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 More sharing options...
~Shinta Posted January 9, 2006 Share Posted January 9, 2006 Yeah, I suggest you start coding your website for more screen resolutions. If your website gets messed up with larger text, I shudder to think what it looks like in a smaller monitor. Link to comment Share on other sites More sharing options...
Vanessa Posted January 9, 2006 Author Share Posted January 9, 2006 thanks for the help.I'll work on the code more. I wouldn't want to discourage others needing larger/smaller fonts anyways. Didn't think of that.Thanks neways all!V Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now