Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Aug 2005
    Posts
    16
    Member #
    10864
    Hey everyone,

    I'm having a problem with an issue that browsers give users. The option to hold ctrl and scroll your mousewheel up and down makes the text bigger or smaller. Is there anyway to lock this and the data within a table? If there is anyone who could help me i would greatly appreciate it. Thanks.

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Righty, in Firefox, it is still possible to change the font size using the old Ctrl and Mouse Wheel move.

    In IE however, if you set a element with a px font size, it will not move.

    Heres my code

    PHP Code:
    <html>

    <
    head>

    <
    title></title>

    <
    style type="text/css">

    p.main {
        
    font-size24px;
        
    font-familyverdana;
    }

    </
    style>

    </
    head>

    <
    body>

    <
    class="main">i will not move in IE but I will do in FF</p>

    <
    p>i will move anywhere</p>

    </
    body>
    </
    html

  4. #3
    Junior Member
    Join Date
    Aug 2005
    Posts
    16
    Member #
    10864
    Quote Originally Posted by bfsog
    Righty, in Firefox, it is still possible to change the font size using the old Ctrl and Mouse Wheel move.

    In IE however, if you set a element with a px font size, it will not move.

    Heres my code

    PHP Code:
    <html>

    <
    head>

    <
    title></title>

    <
    style type="text/css">

    p.main {
        
    font-size24px;
        
    font-familyverdana;
    }

    </
    style>

    </
    head>

    <
    body>

    <
    class="main">i will not move in IE but I will do in FF</p>

    <
    p>i will move anywhere</p>

    </
    body>
    </
    html

    Thanks a lot, that worked ( :

  5. #4
    Senior Member
    Join Date
    May 2005
    Location
    Essex, United Kingdom
    Posts
    200
    Member #
    10131
    I would not recommend doing this, that feature is there for people with viewing difficulties to see your site better. By removing this option you could be turning visitors away. Use percentages for your font sizes.

  6. #5
    Junior Member
    Join Date
    Aug 2005
    Posts
    16
    Member #
    10864
    If i don't do that though, the deisgn will get distorted depending on how high of a font number they choose. Is there any sort of short fix to this?

  7. #6
    Senior Member mossoi's Avatar
    Join Date
    Apr 2003
    Location
    Englandshire, United Kingdomsville y'all!
    Posts
    1,111
    Member #
    1206
    Liked
    1 times
    It's not easy to fix and generally means changing a lot of the layout code to allow the whole design to accomodate different sized areas.

    It's not really necessary though. If someone wants to enlarge the text then it's up to them, most sites break up when this is done so it's to be expected. Removing the option will merely make people leave. Don't forget, the content of the site is what people visit for, not the layout.

  8. #7
    Senior Member
    Join Date
    Jul 2005
    Location
    S.Wales, UK
    Posts
    250
    Member #
    10742
    If you want to fix sizes use pixels instead of relative or ems.

    However being able to change the font size is normal if you think about it.

    Why would a use want to increase the font size?
    Probably because he is having difficulty reading the font the size it currently is at.

    Ideally you should try to design the site so that text can be enlarged without there being too much distortion of the site. Not everyone has 20/20 vision. I myself often increase the font size by a notch.

    Trying to stop the user from altering the text size will make them walk and never visit your site again.
    Paul Creedy
    Visit my community site at: www.rhonddacynontaff.com
    My hosting: www.rcthosting.com
    My Content Management product: www.dynamiccontenteditor.com

  9. #8
    Senior Member
    Join Date
    Aug 2003
    Posts
    444
    Member #
    2801
    Regardless, some browsers allow you to zoom the text, not necessarily enlarge it. This will break the design too. Opera does that.
    eKstreme
    eKstreme.com - Free website tools!
    fontfox - free fonts Hand-picked quality fonts.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:09 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com