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 3 of 3
  1. #1
    Member
    Join Date
    Aug 2009
    Posts
    36
    Member #
    19700
    On newegg.com, if you are using IE and have the font set to"Largest" it displays a warning in the top, right hand corner. The warning code is:
    <p id="bigFontWarring" style="display: block;">For optimal viewing, please lower your browser's text size setting.</p>

    I looked through their CSS and cant find the code for it.

    Can someone tell me how to get this on my website?

    SO IE users as well as Firefox users with overly large fonts would
    see this?

    And please dont feed me any of the "Accessibility" stuff.

    Thanks

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,693
    Member #
    5580
    Liked
    717 times
    It starts out like this ... none means that it's there, but doesn't show up...

    <p id="bigFontWarring" style="display: none;">For optimal viewing, please lower your browser's text size setting.</p>


    Then, they are using Javascripting to change the style to this ...

    <p id="bigFontWarring" style="display: block;">For optimal viewing, please lower your browser's text size setting.</p>

    ====

    They have too many scripts to find the exact spot where they use it,
    but see these related links ...

    http://www.quirksmode.org/dom/getstyles.html
    http://www.google.com/search?hl=en&q...&aq=f&oq=&aqi=


  4. #3
    Member
    Join Date
    Aug 2009
    Posts
    36
    Member #
    19700
    Thank you


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 02:46 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com