![]() |
|
![]() | ||
|
Subject:
Browser Control: Prevent browser from resizing text
Category: Computers > Internet Asked by: respree-ga List Price: $5.00 |
Posted:
14 Jan 2003 10:01 PST
Expires: 07 Feb 2003 14:18 PST Question ID: 142560 |
I would like to know if there is any way to prevent a browser from resizing text (on an HTML page). Solution needs work on all browsers (or at least IE and NS) and both PC & MAC. Please provide code (if this is possible). Thank you. | |
| |
| |
| |
|
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: Browser Control: Prevent browser from resizing text
From: tar_heel_v-ga on 14 Jan 2003 10:07 PST |
From the research I have found, that is one of those things that cannot be done through HTML. However, I think there may be a solution using cascading style sheets. Will that work? -THV |
Subject:
Re: Browser Control: Prevent browser from resizing text
From: lebritish-ga on 14 Jan 2003 10:46 PST |
Have a look at www.bookmarklets.com Bookmarklets are small javascript which can change the way a webpage looks. At www.bookmarklets.com there are many examples and even an introduction on how to write your own. Also a search of Google with "bookmarklets" gives 34600 other sites on this subject. Bonne chance |
Subject:
Re: Browser Control: Prevent browser from resizing text
From: slawek-ga on 14 Jan 2003 10:47 PST |
Hi respree-ga, As a professional web designer, the only sure way that I know of to keep text size static is to actually turn it into an image. Of course that option has a lot of disadvantages, thus I am not posting it as an official reply. Hope this helps. Regards, Researcher slawek-ga |
Subject:
Answer to hedgie-ga's question
From: respree-ga on 14 Jan 2003 20:10 PST |
hedgie-ga, Thank you for your comments. Yes, I'd be appreciative in sharing your knowledge of HTML tag that prevents resizing and also a brief explanation of why its not a good idea to use is (browser compatibility?). Yes, I am the author of the page. I agree its bad form to take away a surfer's god given right to resize text. I'm considering using it for navigation and for keeping the design layout constant (bigger fonts break the intended layout). Currently, I am using a graphic to represent the text (which is probably just as bad form) to accomplish this, but want to replace it with a link that looks like a link for consistency. Thanks for your effort and comments. |
Subject:
Re: Browser Control: Prevent browser from resizing text
From: funkywizard-ga on 16 Jan 2003 03:09 PST |
well if you want the link to look like a link, and you are already using an image for your text layout, what you could do is use normal text for the link, do a screen capture of how this looks on your computer, crop the screen capture down to only include the text (with underlining as a link would have) and make an image (jpg/gif) and use that on your website. This is not a perfect solution, but is a little closer to what you want than what you are already using. |
Subject:
Re: Browser Control: Prevent browser from resizing text
From: pappa-ga on 05 Feb 2003 13:05 PST |
This might clarify things a bit. You can use CSS to fix the font size on a page, and yes it will work on a mac (with any version 5, 6 or 7 web browser). Try the following: <html> <head> <style type="text/css"> <!-- p { font-size:10px !important; } --> </style> </head> <body> <p>Some Random Text</p> </body> </html> The only circumstance that this won't work (in a CSS aware browser) is when a user has something like " p { font-size:20px !important; } " in their 'user stylesheet'. In which case, their specific style will override yours. But since they will expect this to happen with all the websites they view, it will not be unusual to them. The reasoning behind all this, is that if somebody really needs BIG text, because they have poor eyesight, for example, they will not be excluded from content on the web. i.e. ACCESSABILITY. There is another circumstance in which this won't work, and that is when a browser has little or no support for CSS. I would estimate that about 98% of users have browsers that support this CSS. If you feel this answers your question please let me know. Regards, pappa-ga |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |