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 8119471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:48:46+00:00 2026-06-06T04:48:46+00:00

edit This question is solved! Having something weird. I’m using html { font-size: 100%

  • 0

edit

This question is solved!


Having something weird.

I’m using html { font-size: 100% } and body {font-size: 62.5%} so I have 1em == 10px in CSS. I’ve done this several times before.

Now on my page everything works fine with the font-size, except for the font in the navigation in IE8 and IE7 (XP Mode)

I’ve fiddled relevant the HTML/CSS code here http://jsfiddle.net/gk4j9/3/

Using modernizr for browser ability switch for the gradients and shadows

Zoom is 100%
Text zoom is medium

Screenshots of IE7, IE8, IE9


edit
For testing go here
http://netrenderer.com/index.php
and test this address
http://fiddle.jshell.net/gk4j9/3/show/light/


edit
The font-size is 2em, so should be 20px.
If I change to 1.8em in IE8 wih Developer Tools (18px) it looks quite the same as 2em in IE9 and other browsers


HTML

<div class="l-fullwrap clearfix">
    <header class="page-header">
        <div class="l-header-nav-primary">
            <nav class="primary">
                <ul>
                    <li class="first has-children">
                        <a href="javascript:;">
                            <span>Item 1</span>
                        </a>
                    </li><li class="has-children">
                        <a href="javascript:;">
                            <span>Item 2</span>
                        </a>
                    </li><li class="has-children">
                        <a href="javascript:;">
                            <span>Item 3</span>
                        </a>
                    </li>
                </ul>
            </nav>
        </div>
    </header>
</div>

CSS

html {
  font-size: 100%;
}

html, button, input, select, textarea {
  font-family: sans-serif;
  color: #222;
}

body {
  font-size: 62.5%;
  line-height: 1.4em;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}


nav ul, nav ol {
  list-style: none;
  list-style-image: none;
}


a, a:link, a:visited {
  color: #EFAA03;
}
a, a:link, a:visited {
  color: #EFAA03;
}
a:visited {
  color: #551A8B;
}
a, a:link, a:visited {
  color: #EFAA03;
}
a {
  color: #00E;
}








/* Primary Nav */
.l-header-nav-primary {
  position: absolute;
  right: 0px;
  top: 45px;
}
nav.primary {
  border-top: 1px solid #CDCDCD;
  border-bottom: 1px solid #AAAAAA;
}
nav.primary,
nav.primary li{
  display: inline-block;
  *zoom: 1;
  *display: inline;
  vertical-align: baseline;
}
.no-cssgradients nav.primary li,
nav.primary li{
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d2d2d2', endColorstr='#979696',GradientType=0 ); /* IE6-9 */
}
.cssgradients nav.primary li,
nav.primary li{
  line-height: 3.2em;
  padding-right: 1px;
  background: #979696; /* Old browsers */
  background: -moz-linear-gradient(top, #d2d2d2 0%, #979696 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d2d2d2), color-stop(100%,#979696)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #d2d2d2 0%,#979696 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #d2d2d2 0%,#979696 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #d2d2d2 0%,#979696 100%); /* IE10+ */
  background: linear-gradient(top, #d2d2d2 0%,#979696 100%); /* W3C */
  filter: none;
}
nav.primary li.last{
  padding-right: 0;
}
.no-cssgradients nav.primary a,
nav.primary a {
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#b6b6b6',GradientType='0' ); /* IE6-9 */
}
.cssgradients nav.primary a,
nav.primary a{
  display: block;
  background: #b6b6b6; /* Old browsers */
  background: -moz-linear-gradient(top, #ffffff 0%, #b6b6b6 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#b6b6b6)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #ffffff 0%,#b6b6b6 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #ffffff 0%,#b6b6b6 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #ffffff 0%,#b6b6b6 100%); /* IE10+ */
  background: linear-gradient(top, #ffffff 0%,#b6b6b6 100%); /* W3C */
  filter: none;
}
nav.primary a {
  display: block;
  padding: 0 10px;
  font-size: 2em;
  font-family: Calibri;
  font-weight: bold;
  color: #333333;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 1px 1px rgba(255,255,255, 0.65);
  height: 100%;
}
.no-textshadow nav.primary a span{
    display: inline-block;
    *zoom: 1;
    *display: inline;
    background-color: #E0E0E0;
    -ms-filter: "Chroma(Color=#E0E0E0) DropShadow(OffX=1, OffY=1, Color=#FFFFFF)";
    filter: Chroma(Color=#E0E0E0) DropShadow(OffX=1, OffY=1, Color=#FFFFFF);
}
.no-textshadow nav.primary li.active a span,
.no-textshadow nav.primary a:focus span,
.no-textshadow nav.primary a:hover span,
.no-textshadow nav.primary a:active span {
    display: inline-block;
    *zoom: 1;
    *display: inline;
    background-color: transparent;
    -ms-filter: "none";
    filter: none;
}

nav.primary li.active a,
nav.primary a:focus,
nav.primary a:hover,
nav.primary a:active,
.no-cssgradients nav.primary li.active a,
.no-cssgradients nav.primary a:focus,
.no-cssgradients nav.primary a:hover,
.no-cssgradients nav.primary a:active {
  filter: none;
}
.cssgradients nav.primary li.active a,
.cssgradients nav.primary a:focus,
.cssgradients nav.primary a:hover,
.cssgradients nav.primary a:active,
nav.primary li.active a,
nav.primary a:focus,
nav.primary a:hover,
nav.primary a:active {
  color: #FFFFFF;
  background:#231F20;
  text-shadow: none;
  outline: none;
}

​

  • 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-06T04:48:47+00:00Added an answer on June 6, 2026 at 4:48 am

    I figured it out.

    In my XP Mode I do not have the Calibri font installed. So it uses a different font.

    Bloody me!

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

Sidebar

Related Questions

EDIT: This question is solved, but I can't accept my own answer just yet.
EDIT: This is solved now but I don't have enough rep to answer it
Edit This question has gone through a few iterations by now, so feel free
EDIT: This question is a duplicate of What is the difference between managed and
EDIT: This question was initially too general, I think. So What I really need
EDIT: This question is about finding definitive reference to MySQL syntax on SELECT modifying
[EDIT] This question is how do I do atomic changes to entity beans with
Edit : This question has already been asked and answered, and I apparently am
EDIT: This question is now redundant since Twitter no longer supports basic auth. I've
[EDIT: this question is about Mozilla Audio Data API which is no longer considered

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.