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 6 of 6
  1. #1
    Member fortm's Avatar
    Join Date
    Jul 2011
    Posts
    30
    Member #
    28679
    HTML Code:
    <html>
    <body>
                                                        <span style=
                                                        'font-size:10pt;line-height:115%;font-family:Wingdings;'>
                                                        &#252;<span style=
                                                        'font:7.0pt "Times New Roman"'>&nbsp;</span></span>
    </body>
    </html>
    When I run this HTML on Chrome/IE , a TICK mark appears on screen.
    But when I run it on Firefox, it is getting corrupted and latin "u" appears on screen.

    Please suggest how can I get Tick Mark on Firefox as well as on Chrome/IE ?

    I also tried using "✔" but it shows as tick mark in firefox and chrome, but not in IE ..

  2.  

  3. #2
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    If you don't define a doc type with a language identifier, the browser is just guessing at what character to display. All modern browsers will display HTML without a doc type, but the browser is kicked into quirk mode. If you don't define a doc type, many CSS styles as well as special characters are at the mercy of the browser engine used in quirk mode, meaning, you don't know what you'll get.

  4. #3
    Member fortm's Avatar
    Join Date
    Jul 2011
    Posts
    30
    Member #
    28679
    Thanks Webzarus, I changed HTML to following :-
    But somehow, firefox is still not able to display like chrome/IE in this case..

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
    
    <html>
    <head>
    
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>
    <body>
                <span style='font-size:10pt;line-height:115%;font-family:Wingdings;'>
                            &#252;<span style='font:7.0pt "Times New Roman"'>&nbsp;</span></span>
    </body>
    </html>

  5. #4
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    Firefox doesn't support the wingdings font:

    http://forums.mozillazine.org/viewto...f=25&t=1473555

    need to use the unicode equivalent

  6. #5
    Member fortm's Avatar
    Join Date
    Jul 2011
    Posts
    30
    Member #
    28679
    I used Courier New font and HEX "✓" instead to fix this up.
    Thanks again for your help

  7. #6
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    Thanks for coming back and posting the resution, I might help someone else.


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