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

  • Home
  • SEARCH
  • 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 8176335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T23:07:57+00:00 2026-06-06T23:07:57+00:00

I have a responsive web design with a SVG logo/image which is dynamic with

  • 0

I have a responsive web design with a SVG logo/image which is dynamic with its container. All major browsers seem to support SVG really good.

My SVG is dynamic, so if I scale up my browser window, the SVG does it too. In Chrome and IE9 it works like a charm. In Firefox the SVG is blurry at some sizes. But I can’t say its all the time blurry when it’s over the initial SVG size. It just seems not to rerender correctly all the time while I’m scaling up my browser window.

That’s what it looks like sometimes (have a look at it in fullsize to see the difference):
enter image description here

Maybe I’m using the wrong way to embed it. That’s what my CSS and HTML look like:

<div id="logo"></div>

CSS:

#logo {
   background-image: url('http://dl.dropbox.com/u/569168/jess.svg');
   height: 22em;
   background-repeat: no-repeat;
   -webkit-background-size: 100%;
   -moz-background-size: 100%;
   -o-background-size: 100%;
   background-size: 100%;
}

Grab the SVG with the link in the CSS if you want to have a look at it. It’s made with Adobe Illustrator.

Any idea how to fix that?

  • 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-06T23:07:59+00:00Added an answer on June 6, 2026 at 11:07 pm

    Update 2013-10: Confirmed fixed in v24 which now made it into the release channel


    Update 2013-07: Bug is solved! Fix will make it into Firefox 24 which will be released somewhere between September and October


    I read about a somewhat simple solution to this problem somewhere that I now use in my projects (will add source when i find it again):

    simply set width and height of the svg-container to the maximum values the image is likely going to have and you are fine. Works in all current browsers just fine. only restriction is, that firefox and opera (yes, the same two browsers that caused this mess) dont work well with very big images –> dont use too high values for the dimensions

    original file:

    <svg width="64px" height="128px"> 
    

    lets say the maxium width will be 3x that big, then your SVG should contain this:

    <svg width="192px" height="384px"> 
    

    (yes, the svg node can have more attributes…)

    The reason why this works is that Opera and FF render SVGs before resizing them instead of the other way round as it is supposed to be done with vector gfx

    UPDATE: credits go to David Bushell who wrote a wonderfull article on Resolution Independence With SVG.

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

Sidebar

Related Questions

I am trying to implement responsive web design and I have set the viewport
I've been researching responsive web design technologies and head.js and I have a few
I am looking into responsive web design and have come across many methods of
I have a column in my web design, which is periodically refreshed by a
I have a WCF web service which is responsible for managing work sent from
I have a web service with several methods, each method has its own response
I have implemented a GoogleMapsV3 map in a twitterBootstrap basic responsive design site. But
I'm trying to create a responsive gui, which basically means that I have an
In Simon Collison's new old Responsive Web Design , in the CSS, there are
I'm writing a simple web page using responsive web design, so CSS3 media queries

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.