Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8767353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:47:19+00:00 2026-06-13T16:47:19+00:00

I want to scale down my fonts for the mozilla browser by say, 10%.

  • 0

I want to scale down my fonts for the mozilla browser by say, 10%.
So I have the following code in my stylesheet:

body{   font-size: 62.5%; }
@-moz-document url-prefix() {
    body{   font-size: 56.25%; }
}

But for some reason, it doesn’t seem to do anything.

Changes on individual divs work fine though.
Example:

#footer-links{  font-size: 1em; }
@-moz-document url-prefix(){
    #footer-links{  font-size: .9em; }
}

I will probably just end up doing this for all divs then…
But I’m just puzzled why the body setting above isn’t working.

EDIT:

I’ve also just tried with the html tag:

@-moz-document url-prefix(){
   html{    font-size: 56.25%; }
}

Although this does rescale the font, it’s not to the size specified, but to much smaller than the original.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T16:47:20+00:00Added an answer on June 13, 2026 at 4:47 pm

    Thanks for the fiddle.

    rem units are root em. That is, they’re in terms of the font size of the root element. Which in HTML is html, not body. So changing the font size of body doesn’t change the size of a rem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have a BitmapData of 600x600 and I want to scale it down
I have canvas element and I want to scale it down, but without changing
i have some images that have a certain size and i want to scale
So I want to scale an image down with css into the size of
Summary: I want a horizontal row of ImageButtons to scale down evenly to fit
I want to scale images these day and find the following example: Example #1
We want to scale, rotate and drag functionality in flash as3. I do have
I want to scale out my EC2 instances on AWS. For this I have
I'm not after saving an image, I just want to scale down an image
I want to load a swf into a Flex application and scale it down

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.