View Full Version : font size restriction
j-lo
Jan 14th, 2002, 12:01 PM
I am currently trying to see if there's any javascript to automatically default an individual's text size for their browser. The page is formatted on an image (unfortunately, not my choice) and therefore gets skewed when the text increases in size. mac users don't default to the standard medium because font sizes appear smaller for them. I noticed on the mac computers in our office, they have their browser text set to large and largest. Is there any way to curb this? to see what i'm referring to, feel free to check out the page (very basic) at http://www.skylineny.com/Rentals.htm Please help or at least say hi (don't leave me hanging :()
akashik
Jan 25th, 2002, 08:27 AM
Note sure about what happens inside a Mac, but should CSS do the trick? Setting the text size to 10 or 12 etc should cover it for the most part.
Greg Moore
Tommy
Jan 25th, 2002, 11:42 AM
Hi,
I must have missed this one but with Greg posting it has been raised to the top of the list.
I have a Mac so let me know when you have tried the CSS suggestion and I will be happy to test it for you.
Tommy
noxtras
Feb 17th, 2002, 06:39 PM
Hi:)
Yes...it is possible to resize the fonts for Mac using JavaScript.
First of all you'll need to check the browser version. MACs have different browsers than PCs. Then You can load a set of css style's of MACs and one for PCs. Microsoft is doing this, and apple too so i think it's the only way around.
CSS styles are cool but they change if i set my browser to 'larger'
and i don't understand why..but they apear differently in web browsers and web browser versions. ?!
Best regards,
George Laslau
http://www.web4future.com
Adam
Oct 7th, 2002, 05:17 AM
Hey,
The reason the font size changes is because you have probably been using variable instead of absolute font size. I did a quick google search and came up with this. I hope it helps.
http://www.dejeu.com/web/tools/tech/css/variablefontsizes.asp
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.