Browser Altering Font Size

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

Browser Altering Font Size

kvarnerexpress
Is there a way to make the text on a page stay the same size, even if the user clicks on the 'Enlarge text size' button or the 'Decrease text size' button within browsers.
I know you can use an image, but that makes the site too big.

I also am aware of the need to give the user control, but for particular reasons a particular section of text on the site needs to stay the same size. It doesn't matter if the text around it is enlarged or decreased. It is just a particular section. Any suggestions appreciated.

Also, as an aside, is there a way you can completely disable the function, just like you can disable the right mouse click, etc.

Thanks.
kvarnerexpress

Reply

amhso
well that would get rid of the purpose of the text size feature. Some people have bad eyes...What reason do you mean for doing this?

Reply

Lozbo
I used to declare pixels or points in CSS for the font size, and it never resized, but im not sure exactly when, browsers started resizing, even when in css you did not have measure in EM or other relative sizes.

Anyway, its been also a time since i quit doing that, so you might try this and see if it works... (using pixels or points for the font size, instead of relative measure)

But you have to declare this in the most specific rule that applies to your text.

Reply

arboc7
As far as I know, the only fool-proof way to keep your text a static size is to use an image. Browsers these days even allow the user to change the size of text that is defined to have a certain pixel size...

Sorry that I can't help much...

Good luck!

Reply

Tyssen
It's only IE that doesn't allow text size resizing if you use pixels. If it absolutely has to be a certain size (even though I can't think of any situation where that would have to be the case), then images is your only option.

Reply

rvalkass
Even images won't help entirely, Opera has a zoom feature to enlarge everything on a page. If the text must be that small for layout then thats fine, the zoom won't affect it, but otherwise, you will still have problems.

Reply

Tyssen
QUOTE(rvalkass @ Oct 17 2005, 03:16 PM)
Even images won't help entirely, Opera has a zoom feature to enlarge everything on a page. If the text must be that small for layout then thats fine, the zoom won't affect it, but otherwise, you will still have problems.

Yeah but Opera scales the whole page as one. The reason given for needing to restrict a certain portion of the layout was cos it breaks something else. If an image was used, Opera would scale it relative to everything else and so would maintain the page's overall layout.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Similar Topics

Keywords : browser, altering, font, size

  1. Width Of Display Area Of Browser Window
    is there a formula? (6)
  2. How To Make Youtube Embedded Videos Viewable On All Browsers
    including on Opera browser which is actually not viewable with embedde (3)
    Firstly, I've noticed that embedded YouTube videos on personal websites, or any sites not on
    YouTube's domain, cannot be viewed on Opera browser. In other words, the codes given by YouTube
    to embed the videos on your site does not have support for Opera browser. However I've found out
    a trick to do so. Here's how.. This is the original code given by YouTube to embed to your own
    website. Copy this codes and paste into the source of your site. CODE <object
    width="425" height="350"> <param name="movie" value="....
  3. Font Tag Interfears With Css
    (2)
    Here is my website: http://www.chronoxdesign.com As you can see I added a small navigation bar
    under the flash navigation. So That i could add more links. Anyway I want the text in that small
    navigation bar (table) to be Black. But I want the text of the page to be White. But when i change
    the css to black I cant see the text of the page. When i change it to white I cant see the text on
    the navigation bar. And when I make it black in the css file then I put a font tag to make the text
    of the page white nothing happens. What can I do. This is my Index: CODE ....
  4. How To Reference Parent Browser Window From.....
    (2)
    i have a custom button on the local browser toolbar which points to a local html application (HTA).
    the browser launches the HTA when the custom button is clicked. i have to reference the parent
    browser window from the child HTA window. an instruction in the local HTA window.opener sets or
    retrieves a reference to the window (the browser) that created the current window (the HTA).
    however, window.opener is returning null. the HTA is run under the mshta.exe process. how do i
    reference the browser from the HTA or javascript? i have winxp sp2 with ie6.0 kvarnerexpress....
  5. Font
    need help (13)
    hi I find one font on internet and i want use on my web site but that font is not standard in
    windows and user can not view that users must download and install font to view site in font desing
    i want to know how can i use this font on my web site with out downloads user font My mien is CSS
    or html code i want code to automatic show font to user with out manual download font with user
    thanks /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> ....
  6. Opening Images In Pictureviewer Instead Of Browser
    Locally (7)
    What I am trying to do is make up a small HTML site which will be based localy on my computer and
    basicly show all of the images I have taken on different holidays. What I want though is when I
    click on an image for it to be opened up in Windows Picture Viewer. As the web site will all be
    saved locally on my computer and not be going on the internet is there any way of achiving this? I
    am running Windows XP Professional if it makes any difference Thank you in advance,kvarnerexpress....
  7. Choosing the right font for your site
    http://www.netdummy.com/netdummy-31-2003 (0)
    Choosing the right typeface for your website copy is important, since it will affect the way your
    readers perceive your page (serious and formal, or friendly and casual). Aside from this, there are
    also important usability concerns. For example, some font types are more easily readable than
    others, and some are more widely available. You want to choose font types that: fit the
    character of your site, are easy to read on a computer screen, and are widely available across
    many browsers and operating systems. There are basically two types of fonts: serif and sans ser....

    1. Looking for browser, altering, font, size

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for browser, altering, font, size

*MORE FROM TRAP17.COM*
advertisement



Browser Altering Font Size



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE