Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Cross-computer site rendering issues in Firefox

  • 2 svar
  • 3 har detta problem
  • 4 visningar
  • Senaste svar av mikerowaves

more options

I'm having a problem with how Firefox renders a site we recently deployed at our company.

Our site has a standard link list navigation set at the top - block display, floated left, height/width padding to fit, the usual. However, the navigation breaks to the next line when viewed on my computer. In a fixed-width layout, this becomes an issue. Normally, I would adjust the padding values to get it to fit on one line, but the odd part is that through most of the initial development for the site, the navigation remained on one line and was never touched or adjusted after being created. Let me further elaborate by saying that this isn't a CSS inheritance issue or cascade issue. I'd be posting in the wrong forum if that were the case. I know this because the site renders the navigation in one line on several co-workers computers while breaking it to two lines on mine.

I attributed this to the 9.01 update as I had installed it a few hours before the navigation started breaking. I did an uninstall/reinstall of Firefox, system restore (in case it wasn't Firefox), and I even attempted to push the version back to FF8. However, I had my co-worker install the same updates through 9.01, and the site looks fine on his computer. Same for someone else's.

TL;DR - Our website looks different on the same browser/computer setup.

I poked around these forums a little bit and found a thread about the hardware acceleration setting "gfx.direct2d.disabled" and how it affects rendering. I switched the value to "true" and the site immediately corrected itself. However, I don't understand why this fixes the problem on my computer and why my co-workers computers (or anyone else for that matter) do not need to perform the same fix to have an unbroken experience. I went home later that weekend and my home computer also breaks the navigation into two lines.

Anyone have any insight into this? Thanks in advance.

I'm having a problem with how Firefox renders a site we recently deployed at our company. Our site has a standard link list navigation set at the top - block display, floated left, height/width padding to fit, the usual. However, the navigation breaks to the next line when viewed on my computer. In a fixed-width layout, this becomes an issue. Normally, I would adjust the padding values to get it to fit on one line, but the odd part is that through most of the initial development for the site, the navigation remained on one line and was never touched or adjusted after being created. Let me further elaborate by saying that this isn't a CSS inheritance issue or cascade issue. I'd be posting in the wrong forum if that were the case. I know this because the site renders the navigation in one line on several co-workers computers while breaking it to two lines on mine. I attributed this to the 9.01 update as I had installed it a few hours before the navigation started breaking. I did an uninstall/reinstall of Firefox, system restore (in case it wasn't Firefox), and I even attempted to push the version back to FF8. However, I had my co-worker install the same updates through 9.01, and the site looks fine on his computer. Same for someone else's. TL;DR - Our website looks different on the same browser/computer setup. I poked around these forums a little bit and found a thread about the hardware acceleration setting "gfx.direct2d.disabled" and how it affects rendering. I switched the value to "true" and the site immediately corrected itself. However, I don't understand why this fixes the problem on my computer and why my co-workers computers (or anyone else for that matter) do not need to perform the same fix to have an unbroken experience. I went home later that weekend and my home computer also breaks the navigation into two lines. Anyone have any insight into this? Thanks in advance.

Alla svar (2)

more options

Are there special font used to display that text properly?

You can verify which font is used with the FontInfo extension:

more options

No. We use standard system fonts for the entire site. Someone at the Mozillazine forums mentioned that the hardware acceleration feature triggers font metrics problems with certain system setups. Can anyone elaborate on this?