Font Size


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 6 of 6

Thread: Font Size

Hybrid View

  1. #1
    Roe Guest

    Font Size


    Hi all,
    I have implemented a dynamic menu system which uses layering to pop up cascading
    menu.
    The problem I have is that the web was developed in the Windows platform
    with font size set to "Small Fonts" (systems display setting of windows,
    NOT the browser text size) and everything was as expected.
    However when the page was displayed on a PC with the Windows text size set
    to "Large Fonts", the text size became larger and the absolute positioning
    of the layers gets out of place.

    Does anyone know of a way to override the FontSize setting of the operating
    system and use the font size specified in the web page?? I'm sure this could
    be done because I have visited web pages with my PC's font setting set to
    "Large" and everything gets displayed properly.

    Thanks in advance!!

  2. #2
    Patrick Steele Guest

    Re: Font Size

    In article <3a2f84e6$1@news.devx.com>, rl1999@bigfoot.com says...
    >
    > Hi all,
    > I have implemented a dynamic menu system which uses layering to pop up cascading
    > menu.
    > The problem I have is that the web was developed in the Windows platform
    > with font size set to "Small Fonts" (systems display setting of windows,
    > NOT the browser text size) and everything was as expected.
    > However when the page was displayed on a PC with the Windows text size set
    > to "Large Fonts", the text size became larger and the absolute positioning
    > of the layers gets out of place.
    >
    > Does anyone know of a way to override the FontSize setting of the operating
    > system and use the font size specified in the web page?? I'm sure this could
    > be done because I have visited web pages with my PC's font setting set to
    > "Large" and everything gets displayed properly.
    >
    > Thanks in advance!!
    >


    Try using a specific point size. This is just a guess.

    <font style="font-size: 8pt;">...</font>

    --
    Patrick Steele
    (patrick@neovisionsystems.com)
    http://www.neovisionsystems.com
    Microsoft MCP

  3. #3
    Roe Guest

    Re: Font Size


    Patrick Steele <patrick@neovisionsystems.com> wrote:
    >In article <3a2f84e6$1@news.devx.com>, rl1999@bigfoot.com says...
    >>
    >> Hi all,
    >> I have implemented a dynamic menu system which uses layering to pop up

    cascading
    >> menu.
    >> The problem I have is that the web was developed in the Windows platform
    >> with font size set to "Small Fonts" (systems display setting of windows,
    >> NOT the browser text size) and everything was as expected.
    >> However when the page was displayed on a PC with the Windows text size

    set
    >> to "Large Fonts", the text size became larger and the absolute positioning
    >> of the layers gets out of place.
    >>
    >> Does anyone know of a way to override the FontSize setting of the operating
    >> system and use the font size specified in the web page?? I'm sure this

    could
    >> be done because I have visited web pages with my PC's font setting set

    to
    >> "Large" and everything gets displayed properly.
    >>
    >> Thanks in advance!!
    >>

    >
    >Try using a specific point size. This is just a guess.
    >
    ><font style="font-size: 8pt;">...</font>
    >
    >--
    >Patrick Steele
    >(patrick@neovisionsystems.com)
    >http://www.neovisionsystems.com
    >Microsoft MCP


    I have actually done that in my coding and specifying the font size but the
    system seems to override it.


  4. #4
    R.Rajkumar Guest

    Re: Font Size


    Hi,

    Check if the Browser overrides all font sizes. This option is available
    in Internet Explorer menu Tools-Internet Options-Accessibility-Ignore font
    sizes specified on web pages.

    R.Rajkumar
    (rraj@india.adventnet.com)
    ----------------------------------------------------------


    "Roe" <rl1999@bigfoot.com> wrote:
    >
    >Patrick Steele <patrick@neovisionsystems.com> wrote:
    >>In article <3a2f84e6$1@news.devx.com>, rl1999@bigfoot.com says...
    >>>
    >>> Hi all,
    >>> I have implemented a dynamic menu system which uses layering to pop up

    >cascading
    >>> menu.
    >>> The problem I have is that the web was developed in the Windows platform
    >>> with font size set to "Small Fonts" (systems display setting of windows,
    >>> NOT the browser text size) and everything was as expected.
    >>> However when the page was displayed on a PC with the Windows text size

    >set
    >>> to "Large Fonts", the text size became larger and the absolute positioning
    >>> of the layers gets out of place.
    >>>
    >>> Does anyone know of a way to override the FontSize setting of the operating
    >>> system and use the font size specified in the web page?? I'm sure this

    >could
    >>> be done because I have visited web pages with my PC's font setting set

    >to
    >>> "Large" and everything gets displayed properly.
    >>>
    >>> Thanks in advance!!
    >>>

    >>
    >>Try using a specific point size. This is just a guess.
    >>
    >><font style="font-size: 8pt;">...</font>
    >>
    >>--
    >>Patrick Steele
    >>(patrick@neovisionsystems.com)
    >>http://www.neovisionsystems.com
    >>Microsoft MCP

    >
    >I have actually done that in my coding and specifying the font size but

    the
    >system seems to override it.
    >



  5. #5
    Wendy Bossons Guest

    Re: Font Size


    As far as I know, you can't override the large font setting on the user's
    computer. However, you may be able to "fudge" the positioning by using percentages
    in the left setting so that instead of a layer being 400 pixels from the
    left, you would specify that it be 40% from the left.

    Wendy B.




    "Roe" <rl1999@bigfoot.com> wrote:
    >
    >Hi all,
    >I have implemented a dynamic menu system which uses layering to pop up cascading
    >menu.
    >The problem I have is that the web was developed in the Windows platform
    >with font size set to "Small Fonts" (systems display setting of windows,
    >NOT the browser text size) and everything was as expected.
    >However when the page was displayed on a PC with the Windows text size set
    >to "Large Fonts", the text size became larger and the absolute positioning
    >of the layers gets out of place.
    >
    >Does anyone know of a way to override the FontSize setting of the operating
    >system and use the font size specified in the web page?? I'm sure this could
    >be done because I have visited web pages with my PC's font setting set to
    >"Large" and everything gets displayed properly.
    >
    >Thanks in advance!!



  6. #6
    Simone Guest

    Re: Font Size


    The problem I think is in the browser permissions. I read in fact that the
    browser can override the choice of the size of the font if the option is
    set. Otherwise if you specify a font size using CSS style (with points or
    pixels) that size cannot be changed (unless the browser has the permission
    to override this property).
    Anyway go here for a font essay...
    http://www.webreference.com/new/font/

    Cheers
    Simone

    ps sorry for my bad English I'm from Italy )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center