Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

Is there any prospective solution to the old problem that graphics disappear when the browser window is resized?

  • 3 përgjigje
  • 5 e kanë hasur këtë problem
  • 10 parje
  • Përgjigjja më e re nga saxofon

more options

example: www.satlinker.de If the browser window is smaller than the content, the header image looks fine. My css style sheet looks like that:

#banner {
 padding-left:10px;
 text-align: left;
 font-weight: bold;
 border: 1px solid #000;
 background: transparent url(/media/header.svg) top left no-repeat;
 height: 70px; /*workaround to adjust width*/
 -webkit-background-size:100% 100%;
 -moz-background-size:100% 100%;
 -o-background-size:100% 100%;
 background-size:100% 100%;
}

It has nothing to do with svg images, similar problems with png. In former versions setting the height worked as a workaround, but no more in vesion 17. There are various problems like that described in the net: e.g. Bug 282558 - Scaled image dissappears on browser resize. But I cannot find any solutions - and this bug is described in 2005!!!

example: www.satlinker.de If the browser window is smaller than the content, the header image looks fine. My css style sheet looks like that: <pre><nowiki>#banner { padding-left:10px; text-align: left; font-weight: bold; border: 1px solid #000; background: transparent url(/media/header.svg) top left no-repeat; height: 70px; /*workaround to adjust width*/ -webkit-background-size:100% 100%; -moz-background-size:100% 100%; -o-background-size:100% 100%; background-size:100% 100%; }</nowiki></pre> It has nothing to do with svg images, similar problems with png. In former versions setting the height worked as a workaround, but no more in vesion 17. There are various problems like that described in the net: e.g. Bug 282558 - Scaled image dissappears on browser resize. But I cannot find any solutions - and this bug is described in 2005!!!

Ndryshuar nga saxofon

Zgjidhje e zgjedhur

I was wrong, it was a problem with the svg format. I tried several other formats, each makes its own problems. I tried to cleanup the svg code with converter tools and at last manually with an editor - nothing works. Gif and jpg made other problems, so finally I found an image converter at http://www.files-conversion.com/, that produces an acceptable png format.

I think that rendering images should be improved.

Lexojeni këtë përgjigje brenda kontekstit 👍 1

Krejt Përgjigjet (3)

more options

The best option is to comment in that bug, say that you can reproduce in Firefox 17 (and also test with Firefox nightly) and see what the devs say.

more options

Sorry, now I found how to edit my original post.
The url must be www.satlinker.de
The link to the image itself is: http://www.satlinker.de/media/header.svg . All works fine with IE.

Ndryshuar nga cor-el

more options

Zgjidhja e Zgjedhur

I was wrong, it was a problem with the svg format. I tried several other formats, each makes its own problems. I tried to cleanup the svg code with converter tools and at last manually with an editor - nothing works. Gif and jpg made other problems, so finally I found an image converter at http://www.files-conversion.com/, that produces an acceptable png format.

I think that rendering images should be improved.

Ndryshuar nga saxofon