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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:16:52+00:00 2026-05-10T16:16:52+00:00

I have a fairly standards compliant XHTML+CSS site that looks great on all browsers

  • 0

I have a fairly standards compliant XHTML+CSS site that looks great on all browsers on PC and Mac. The other day I saw it on FF3 on Linux and the letter spacing was slightly larger, throwing everything out of whack and causing unwanted wrapping and clipping of text. The CSS in question has

font-size: 11px; font-family: Arial, Helvetica, sans-serif; 

I know it’s going with the generic sans-serif, whatever that maps to. If I add the following, the text scrunches up enough to be close to what I get on the other platforms:

letter-spacing: -1.5px; 

but this would involve some nasty server-side OS sniffing. If there’s a pure CSS solution to this I’d love to hear it.

The system in question is Ubuntu 7.04 but that is irrelevant as I’m looking to fix it for at least the majority of, if not all, Linux users. Of course asking the user to install a font is not an option!

  • 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. 2026-05-10T16:16:53+00:00Added an answer on May 10, 2026 at 4:16 pm

    Sizing/spacing differences are usually difficult to catch. What you can do is create a Linux-specific CSS file that will contain these values adjusted for Linux, then do a simple JS-based detect to inject that CSS if the User agent is a Linux one.

    This is probably not the cleanest approach, but it will work, and with the least intrusion into your otherwise clean HTML/CSS.

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

Sidebar

Related Questions

I have a fairly standard OLTP normalised database and I have realised that I
I have a fairly standard star voting functionality in my app that uses jQuery's
I have a fairly standard mod_rewrite that comes packaged with a CMS called Modx
I've noticed that apps like instagram and picplz have a fairly standard screen that
I have a master project that's using a fairly standard source tree approach +
I have a fairly standard ASP.NET GridView that displays 2 columns that have a
I have a fairly standard search query to find related content. Among other things,
Good day all, I have been learning about databases and database design and I
I have a question about forms. I have a fairly standard form that saves
I have a fairly standard .Net MVC Controller method: public ActionResult Add(Customer cust) {

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.