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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:16:31+00:00 2026-06-17T17:16:31+00:00

I built an HTML navigation strip using ul and li tags. <div id=navLimitedLength> <ul

  • 0

I built an HTML navigation strip using ul and li tags.

<div id="navLimitedLength">
    <ul id="navmenulist">
        <li class="menu"><a>Add</a></li>
        <li class="menu"><a>Update</a></li>
        <li class="menu"><a>View</a></li>
        <li class="menu"><a>Delete</a></li>
    </ul>
</div>

Intially I set it to have Arial font using CSS as follows:

    li.menu a
    {   
        text-decoration:none;
        font-family:Arial;
        font-size:18px;         
    }

Then I tried to change the font to Segoe UI as follows:

li.menu a
{   
    text-decoration:none;
    font-family: 'Segoe UI';
    font-size:18px;         
} 

However this also changes the look of menus making them to overlap down
enter image description here

As far as I understand, changing font should not change other styling. This may be since I am trying it in IE8.

But what is the standard way to ensure that things remain in place and behave in desired way.

  • 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-17T17:16:33+00:00Added an answer on June 17, 2026 at 5:16 pm

    The difference is caused by different default line heights for different fonts. By CSS specifications, the initial value of line-height is normal, and by the spec, browsers are expected to “to set the used value to a ‘reasonable’ value based on the font of the element”. If you inspect the situation in Firebug, you can see that for 18px Arial, the used value is 22px, but for Segoe UI it is 25px.

    In this case, adding e.g. line-height: 1.2 into the style sheet would help.

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

Sidebar

Related Questions

Below is the HTML on my in built page: <div class=notes quotes-notification member-savings f-left>
I've built a CSS navigation menu using a sprite, very similar to the one
I am attempting to build a Tabbed side navigation menu using html/css. I am
I've built a drop-down menu with HTML & CSS. The drop-down menu is supposed
I have a client who has built her entire site using html extensions. As
On my first day of work with html I built a navigation bar yesterday
I built an android app using PhoneGap and JqueryMobile framework containing several html and
I have a navigation bar where the icons are built using a sprite. I
I have an ASP.NET MVC page that has left Menu Navigation that is built
When I use simple menu built manually in html and css presents problem with

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.