User Agents

Web browsers and everyday web tech, explained

Why Do Some Ads and Websites Look Different in Safari?

· 5 min read · Browsers

In this article
  1. The Browser Engine Behind the Differences
  2. How Safari’s Privacy Features Change Ads
  3. Font Rendering and Text Differences
  4. CSS and Layout Inconsistencies
  5. JavaScript and Web API Differences
  6. How to Fix or Adapt to Safari Differences
  7. Common Misconceptions About Safari Differences
  8. Frequently Asked Questions

Some ads and websites look different in Safari because Safari renders web content with a different engine (WebKit) and has stricter privacy and compatibility settings than Chrome, Firefox, or Edge. This affects fonts, CSS features, JavaScript APIs, and ad delivery, so the same page can appear subtly or dramatically altered.

The Browser Engine Behind the Differences

Safari uses WebKit, while Chrome, Edge, and Opera use Blink (a fork of WebKit), and Firefox uses Gecko. These engines interpret HTML, CSS, and JavaScript in slightly different ways. For example, Safari may not support certain CSS properties like aspect-ratio in older versions, or it may handle flexbox and grid layouts with different default spacing. When a website’s code relies on a feature that Safari doesn’t fully support, the browser falls back to an older or simpler rendering, which can change the layout, spacing, or even hide elements entirely.

How Safari’s Privacy Features Change Ads

Safari’s Intelligent Tracking Prevention (ITP) is a major reason ads look different. ITP blocks third-party cookies by default, which means ad networks can’t track your browsing across sites. As a result:

  • Ads may be generic rather than personalized (e.g., showing a generic banner instead of a product you viewed earlier).
  • Some ad formats, especially those that rely on cross-site tracking, may not load at all.
  • Ad placeholders might appear as blank boxes or gray rectangles.
  • Video ads may fail to autoplay because Safari requires user interaction before playing media with sound.

This isn’t a bug—it’s a deliberate privacy feature. But it often makes ads look less integrated or “broken” compared to other browsers.

Font Rendering and Text Differences

Safari uses a different font rendering engine (Core Text) than Chrome and Firefox. This means text can look thinner, sharper, or slightly larger in Safari. For example, a font like Helvetica Neue may render with different letter spacing. Websites that specify a custom font via @font-face may fall back to a system font if the file format isn’t supported. Safari supports WOFF and WOFF2, but older versions had issues with certain font weights. Also, Safari’s default font size (16px) is the same as others, but its “minimum font size” setting can override tiny text, making it appear larger.

CSS and Layout Inconsistencies

CSS features that are “experimental” or “prefixed” can behave differently. For instance:

  • position: sticky works in Safari, but older versions had bugs with nested sticky elements.
  • backdrop-filter (blur effect) is supported in Safari, but may be disabled if “Reduce Motion” is enabled in macOS accessibility settings.
  • CSS Grid and Flexbox are supported, but Safari may have different default gaps or alignment.
  • Some CSS variables (custom properties) might not update correctly in Safari 13 or earlier.

Websites that use modern CSS without vendor prefixes may look broken in Safari. Developers often add -webkit- prefixes for Safari, but if they forget, the layout shifts.

JavaScript and Web API Differences

JavaScript APIs also differ. For example, Safari doesn’t support the Notification API on iOS, and it handles localStorage differently in private browsing mode (it throws an error if you try to write). Some ad scripts use document.write or window.open in ways that Safari blocks. Also, Safari’s “Prevent Cross-Site Tracking” setting can block third-party iframes, which some ads use. This is why you might see an ad’s container but no content inside.

How to Fix or Adapt to Safari Differences

If you’re a website owner or developer, you can take steps to make your site look consistent in Safari:

  1. Use CSS vendor prefixes where needed (e.g., -webkit- for older Safari).
  2. Test your site in Safari using the “Develop” menu (enable in Safari Preferences > Advanced).
  3. Use feature detection (like Modernizr) instead of browser detection.
  4. Provide fallback fonts and ensure your @font-face includes WOFF2 and WOFF.
  5. For ads, use async loading and avoid scripts that depend on third-party cookies.
  6. Check Safari’s “Privacy Report” to see what was blocked on your page.

For users, you can’t fully “fix” ads, but you can try disabling “Prevent Cross-Site Tracking” (Safari > Settings > Privacy) to allow more ads to load, though this reduces privacy.

Common Misconceptions About Safari Differences

One common myth is that Safari is “outdated” because it doesn’t support certain features. In reality, Safari is updated regularly, but it often adopts new web standards later than Chrome. For example, Safari 14 added support for WebP images, while Chrome had it for years. Another misconception is that all differences are due to privacy settings. While ITP affects ads, many layout differences are due to CSS support and rendering quirks. Also, some users think Safari is slower, but it’s often faster on Macs due to hardware acceleration—it just looks different.

Frequently Asked Questions

Why do some websites look completely broken in Safari but fine in Chrome?

This usually happens because the site uses CSS or JavaScript features that Safari doesn’t support or supports differently. For example, if a site uses position: sticky with a parent that has overflow: hidden, Safari may not stick the element. Also, some sites use clip-path or mask properties that Safari handles with different syntax. The site’s developer may have only tested in Chrome.

Can I make Safari look like Chrome?

You can’t change the rendering engine, but you can adjust some settings. In Safari’s Advanced settings, you can enable “Show full website address” and change the default font. However, you cannot force Safari to use Blink or Gecko. For a more consistent experience, you could use a different browser, but that defeats the purpose of Safari.

Why do ads show as blank boxes in Safari?

Blank ad boxes are often caused by Safari’s Intelligent Tracking Prevention blocking the ad’s third-party cookies, so the ad server can’t deliver a personalized ad. Also, some ad scripts use document.write, which Safari may block. The ad container loads, but the content doesn’t. You can check Safari’s Privacy Report to see what was blocked on the page.

Does Safari support WebP images?

Yes, Safari 14 and later support WebP. If you see broken images, it’s likely because the site is serving WebP without a fallback to JPEG/PNG, and you’re using an older Safari version. Updating macOS will usually fix this.

Why do some fonts look different in Safari?

Safari uses Core Text for font rendering, which applies different anti-aliasing and hinting than Chrome’s Skia. This can make fonts look thinner or slightly more spaced. Also, if a website uses a font that isn’t installed, Safari may fall back to a different system font than Chrome would.

Is Safari less secure because it blocks ads?

No, blocking ads is a security and privacy feature. It reduces tracking and malicious ad scripts. However, some sites may not function as intended if they rely on ads for revenue, but that doesn’t make Safari less secure—it’s actually a safer browsing experience.