Jump to content


Photo

Font Size Difference In Ie Vs Firefox


  • Please log in to reply
2 replies to this topic

#1 MIPS64

MIPS64

    Member

  • Members
  • PipPip
  • 10 posts

Posted 15 November 2012 - 11:42 AM

I have noticed that in Firefox the font size is 1 pixel larger than what is displayed in IE and Chrome. Normally I would not care but the font size difference is pushing an element down by 1px. I have tried doing a CSS reset. I just think its the way Firefox renders it that makes it that way. I am guessing there is no way to fix this problem?

Edited by MIPS64, 15 November 2012 - 11:43 AM.


#2 SocialCloud

SocialCloud

    Advanced Member

  • Members
  • PipPipPip
  • 607 posts

Posted 16 November 2012 - 08:21 AM

You can use javascript to determine the browser name, then adjust accordingly if it is. As far as I know, there is no detection for firefox browser in css.

#3 Beeeeney

Beeeeney

    Advanced Member

  • Members
  • PipPipPip
  • 194 posts
  • LocationEngland!
  • Age:20

Posted 16 November 2012 - 11:22 AM


<script>

if (BrowserDetect.browser == 'Firefox' )

{

//Load your stylesheet

}

</script>






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com