SVG canvas too big, android default browser only -


I have created a mobile website, which has a SVG file which functions as a fancy HR. We choose SVG because it is a good scales.

It expects all (mobile) browsers, separate from Android's stock browser , which produces screenshots (all other browsers show only the green part of the screenshot,

  • Designer saved this image with a full green background (select all, make green)
  • I have CSS-ed like something : # wapar> IMG {background: red;}

    Android browse SVG is 100% screen height in R: image screenshot Android canvas problem
    If it helps,

    I have no clue what is looking for. SVG looks fine, other SVG always loads as expected, why does it make a different?

    "What have you tried?" No more than when I do not have any clue, I start.

    SVG saved Or (no effect)
    - CSS #wrap & gt; IMG (height: auto;} (no effect)
    - CSS #wrap & gt; IMG {max-height: 60px;} (#Wrap 60 makes height, SVG has been pushed together)
    - It was taken through the 'SVG Optimizer' (no change) < / P>

    After some time, the solution:

    If you open SVG in a lesson, the first part will be something like this:

      viewbox = "0 0 90 70"   

    After that, the problem will disappear, when you change the size, width = "190 and height =" 70 " Ahte, some will build small difficulties, but Mayor problem went resolved.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -