Web site text.
How do you setup text so that it will appear the same on everyones computer? For example if I design a website on my machine using a medium font setting in Internet Explorer, and then my user views the page using a large font setting, all of the text on the page will overlaps and look distorted.
Kre
Brykess posted this at 23:23 — 10th January 2002.
They have: 50 posts
Joined: Aug 2001
Here, try this, keep in mind though that everyone's computer is diffent and some older computers with old monitors might change the text. However, for the most part, this should work.
HI
Suzanne posted this at 00:06 — 11th January 2002.
She has: 5,507 posts
Joined: Feb 2000
Brykess, thank you for your reply, but I don't think you understood the question. That won't make the text the same if the user changes his/her settings. However it does bring up the whole "what if the user doesn't have these fonts installed" question.
There is no surefire way to do it -- at least as far as the newest browsers are concerned, as they all have the ability to zoom or change the text size. Opera does it nicely by zooming everything on the page.
Otherwise, you would use CSS and specify the font-size in pixels. This will force N4.x, IE4 & 5 (and 5.5 I think) to view the text in whatever size you determine. It's the most reliable way to control text size.
If you want more information on what sort of mayhem this may or may not cause, you can check out resources like alistapart.com (start with Fear of Stylesheets 4 in the archives).
Suzanne
Wil posted this at 09:34 — 11th January 2002.
They have: 601 posts
Joined: Nov 2001
Yep, StyleSheets will force IE5+ and the latest versions of NS and Mozilla to display your font-size just the way you intended.
If you really want to make sure that the viewer is viewing the site in the FONT intended, you can too imbed that, so that the FONT downloads with the page. This is actually quite an old technique, but one that is not often used.
- wil
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.